locale: Do not define lang_ab for tcy_IN and bhb_IN
[glibc.git] / ChangeLog
blob3f8a6b6259b986c7514215983aa1f8ee6e46cc17
1 2015-07-21  Khem Raj  <raj.khem@gmail.com>
3         [BZ #17475]
4         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
5         of tu_IN and bh_IN.
7 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9         [BZ #18694]
10         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11         bits/wordsize.h.
12         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18         (spawn_thread): New function.
19         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20         (do_test): ... here.  Use IS_LOADED to test for its
21         availability.
23 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29         [BZ #18696]
30         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31         si_addr_bnd.
32         (si_lower): New.
33         (si_upper): Likewise.
35 2015-07-16  David S. Miller  <davem@davemloft.net>
37         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
39 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
41         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
42         buffer.
43         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
44         fail output information.
46 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
49         and strstr-ppc64..
50         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
52         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
53         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
54         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
56 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
58         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
59         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
60         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
61         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
63 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
65         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
66         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
67         rtld_hidden_proto.
68         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
70 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72         * tst-nodelete-opened.c (do_test): Add comment to clarify how
73         the test can fail.
75         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
77         [BZ #18676]
78         * elf/tst-nodelete-opened.c: New test case.
79         * elf/tst-nodelete-opened-lib.c: New test case module.
80         * elf/Makefile (tests, modules-names): Use them.
81         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
82         early.
84 2015-07-15  David S. Miller  <davem@davemloft.net>
86         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
87         futex-intenal.h
88         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
89         * sysdeps/sparc/sparc64/Makefile: Likewise.
90         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
91         Remove space from macro define.
92         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
94 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
96         [BZ #17475]
97         * locale/iso-639.def: Update Bhili and Tulu language codes as
98         per iso639-3.
100 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
102         * elf/tst-leaks1.c (main): Converted to ...
103         (do_test): ... this.
104         (TEST_FUNCTION): New macro.
105         Include test-skeleton.c.
106         * localedata/tst-langinfo.c (main): Converted to ...
107         (do_test): ... this.
108         (TEST_FUNCTION): New macro.
109         Include test-skeleton.c.
110         * math/test-fpucw.c (main): Converted to ...
111         (do_test): ... this.
112         (TEST_FUNCTION): New macro.
113         Include test-skeleton.c.
114         * math/test-tgmath.c (main): Converted to ...
115         (do_test): ... this.
116         (TEST_FUNCTION): New macro.
117         Include test-skeleton.c.
118         * math/test-tgmath2.c (main): Converted to ...
119         (do_test): ... this.
120         (TEST_FUNCTION): New macro.
121         Include test-skeleton.c.
122         * setjmp/tst-setjmp.c (main): Converted to ...
123         (do_test): ... this.
124         (TEST_FUNCTION): New macro.
125         Include test-skeleton.c.
126         * stdio-common/tst-sscanf.c (main): Converted to ...
127         (do_test): ... this.
128         (TEST_FUNCTION): New macro.
129         Include test-skeleton.c.
130         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
131         (do_test): ... this.
132         (TEST_FUNCTION): New macro.
133         Include test-skeleton.c.
135         * elf/tst-audit9.c (main): Converted to ...
136         (do_test): ... this.
137         (TEST_FUNCTION): New macro.
138         Include test-skeleton.c.
140 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
142         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
144 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
146         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
147         New variable.
149 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
151         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
153 2015-07-14  Roland McGrath  <roland@hack.frob.com>
155         * sysdeps/generic/dl-fileid.h: New file.
156         * sysdeps/posix/dl-fileid.h: New file.
157         * sysdeps/nacl/dl-fileid.h: New file.
158         * include/link.h: Include <dl-fileid.h>.
159         (struct link_map): Replace l_dev and l_ino with l_file_id.
160         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
161         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
162         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
164 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
166         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
168 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
170         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
171         Add iff $CXX is set.
172         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
173         Likewise.
174         (tst-nodelete-zmodiff): Likewise.
175         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
177 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
179         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
181 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
183         * sysdeps/aarch64/fpu/math_private.h
184         (define math_opt_barrier): Add AArch64 version.
185         (math_force_eval): Likewise.
187 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
189         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
191 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
193         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
194         %ld with %jd and cast to intmax_t.
195         (do_test_length_zero): Likewise.
197 2015-07-10  Roland McGrath  <roland@hack.frob.com>
199         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
201 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
203         * sysdeps/tile/libm-test-ulps: Regenerated.
205         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
206         Comment out the whole function, not just its body.
208 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
210         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
211         locks.
213         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
215 2015-07-10  Torvald Riegel  <triegel@redhat.com>
217         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
218         (sem_assume_only_signals_cause_futex_EINTR): Remove.
220 2015-07-10  Torvald Riegel  <triegel@redhat.com>
222         * sysdeps/nptl/futex-internal.h: New file.
223         * sysdeps/nacl/futex-internal.h: New file.
224         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
225         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
226         error checking.
227         (setxid_unmark_thread): Likewise.
228         (__nptl_setxid): Likewise.
229         (__wait_lookup_done): Likewise.
230         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
231         * nptl/nptl-init.c (sighandler_setxid): Likewise.
232         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
233         * nptl/pthread_once.c (clear_once_control): Likewise.
234         (__pthread_once_slow): Likewise.
235         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
236         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
237         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
238         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
239         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
240         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
241         Likewise.
242         (__pthread_rwlock_rdlock): Likewise.
243         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
244         Likewise.
245         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
246         Likewise.
247         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
248         Likewise.
249         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
250         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
251         Likewise.
252         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
253         __ASSUME_PRIVATE_FUTEX check.
254         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
255         Check that shared futexes are supported.
256         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
257         wrappers with error checking.
258         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
259         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
260         * nptl/pthread_barrierattr_setpshared.c
261         (pthread_barrierattr_setpshared): Check that shared futexes are
262         supported.
263         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
264         Likewise.
265         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
266         Likewise.
267         * nptl/sem_init.c (futex_private_if_supported): Remove.
268         (__new_sem_init): Adapt and check that shared futexes are supported.
269         * nptl/sem_open.c (sem_open): Likewise.
270         * nptl/sem_post.c (futex_wake): Remove.
271         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
272         (do_futex_wait): Use futex wrappers with error checking.
273         * nptl/sem_wait.c: Include lowlevellock.h.
274         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
275         Use futex_supports_pshared.
276         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
277         Use futex wrappers with error checking.
278         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
279         Likewise.
280         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
281         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
282         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
283         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
284         (futex_wake): Likewise.
285         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
286         (do_futex_wait): Use futex wrappers with error checking.
287         (__new_sem_wait_slow): Update EINTR handling.
288         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
290 2015-07-09  Martin Sebor  <msebor@redhat.com>
292         [BZ #18435]
293         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
294         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
295         * nptl/Makefile (test-xfail-tst-once5): Define.
297 2015-07-09  Roland McGrath  <roland@hack.frob.com>
299         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
300         * elf/dl-minimal.c: For readability, reorder some definitions and
301         introduce more page breaks.  Include <stdio.h>.
302         (__libc_fatal): New function.
304         * include/unistd.h: Add rtld_hidden_proto for _exit.
305         * posix/_exit.c: Add rtld_hidden_def.
306         * sysdeps/mach/hurd/_exit.c: Likewise.
307         * sysdeps/nacl/_exit.c: Likewise.
308         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
309         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
311 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
314         bndmov encoding with zero displacement.
316 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
317             H.J. Lu  <hongjiu.lu@intel.com>
319         [BZ #18134]
320         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
321         * sysdeps/i386/configure: Regenerated.
322         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
323         (_dl_runtime_profile): Save and restore Intel MPX return bound
324         registers when calling _dl_call_pltexit.  Add
325         PRESERVE_BND_REGS_PREFIX before return.
326         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
327         (LRV_BND1_OFFSET): Likewise.
328         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
329         lrv_bnd1.
330         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
331         typo in bndmov encoding.
332         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
333         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
334         branch instructions to preserve bounds.
336 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
339         [GLIBC_2.22]: Add fmemopen.
341 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
343         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
344         returns an error, also try to use host port from __mach_host_self for
345         the __vm_wire call.
346         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
348 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
350         [BZ #18400]
351         [BZ #18648]
352         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
353         Fix pr_uid and pr_gid members.
354         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
355         definition to elf_greg_t.
357 2015-07-08  Roland McGrath  <roland@hack.frob.com>
359         [BZ #18383]
360         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
361         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
362         * sysdeps/arm/configure: Regenerated.
363         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
364         (test-xfail-tst-tlsalign-static): Variable removed.
366         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
367         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
368         rather than explicit 'ln -s'.
370         * resolv/rpc/netdb.h: New file.
371         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
373 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
375         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
376         length buffers.
377         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
378         test-skeleton.c.
380         [BZ #6544]
381         [BZ #11216]
382         [BZ #12836]
383         [BZ #13151]
384         [BZ #13152]
385         [BZ #14292]
386         * include/stdio.h (fmemopen): Remove hidden prototype.
387         (__fmemopen): Add new hidden prototype.
388         * libio/Makefile: Add oldfmemopen object.
389         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
390         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
391         compliance.
392         * libio/oldfmemopen.c: New file: old fmemopen implementation for
393         symbol compatibility.
394         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
395         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
396         fmemopen.
397         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
398         on append and read mode.
399         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
400         fmemopen.
401         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
402         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
403         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
404         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
405         Likewise.
406         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
407         [GLIBC_2.22]: Likewise.
408         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
409         Likewise.
410         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
411         Likewise.
412         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
413         [GLIBC_2.22]: Likewise.
414         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
415         [GLIBC_2.22]: Likewise.
416         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
417         [GLIBC_2.22]: Likewise.
418         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
419         [GLIBC_2.22]: Likewise.
420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
421         [GLIBC_2.22]: Likewise.
422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
423         [GLIBC_2.22]: Likewise.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
425         [GLIBC_2.22]: Likewise.
426         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
427         Likewise.
428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
429         Likewise.
430         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
431         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
432         [GLIBC_2.22]: Likewise.
433         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
434         [GLIBC_2.22]: Likewise.
435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
436         [GLIBC_2.22]: Likewise.
437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
438         [GLIBC_2.22]: Likewise.
439         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
440         Likewise.
441         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
442         Likewise.
443         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
444         Likewise.
445         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
446         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
448 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
450         [BZ #18643]
451         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
452         IPV6_PATHMTU, and IPV6_DONTFRAG.
454 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
456         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
457         and _IO_UNBUFFERED.
458         * libio/oldfileops.c: Likewise.
459         * libio/wfileops.c: Likewise.
461 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
463         * nscd/selinux.c: Delete selinux/flask.h include.
465 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
467         [BZ #18641]
468         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
469         (putpwent): Likewise.
470         (getpwnam): Likewise.
471         (getpwent_r): Likewise.
472         (getpwuid_r): Likewise.
473         (getpwnam_r): Likewise.
474         (fgetpwent_r): Likewise.
476 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
478         [BZ #18557]
479         * inet/rcmd.c (__validuser2_sa): Check user first to
480         short-circuit host check.
482 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
483             Mikhail Ilin  <m.ilin@samsung.com>
485         [BZ #17833]
486         * elf/Makefile (tests): Add tst-nodelete.
487         (modules-names): Add tst-nodelete-uniquemod.
488         (tst-nodelete-uniquemod.so-no-z-defs): New.
489         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
490         (tst-nodelete-zmod.so-no-z-defs): Likewise.
491         ($(objpfx)tst-nodelete): Likewise.
492         ($(objpfx)tst-nodelete.out): Likewise.
493         (LDFLAGS-tst-nodelete): Likewise.
494         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
495         * elf/dl-close.c (_dl_close_worker): Add a parameter to
496         implement forced object deletion.
497         (_dl_close): Pass false to _dl_close_worker.
498         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
499         * elf/tst-nodelete.cc: New file.
500         * elf/tst-nodeletelib.cc: Likewise.
501         * elf/tst-znodeletelib.cc: Likewise.
502         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
504 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
506         [BZ #18508]
507         * stdlib/Makefile ($(objpfx)tst-makecontext3):
508         Depend on $(libdl).
509         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
510         is not called infinitely times.
511         (backtrace_helper): New function.
512         (trace_arg): New struct.
513         (st1): Enlarge stack size.
514         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
515         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
516         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
517         Likewise.
519 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
521         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
523 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
525         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
526         Include sys/types.h instead of bits/types.h.
527         Remove inclusion of bits/wordsize.h.
529 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
531         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
532         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
533         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
534         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
535         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
536         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
538 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
540         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
541         link-defines.sym.
542         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
543         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
544         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
545         and LR_SIZE.
546         * sysdeps/i386/link-defines.sym: New file.
548 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
550         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
551         (modules-names): Add tst-auditmod3a tst-auditmod3b.
552         ($(objpfx)tst-audit3): New rule.
553         ($(objpfx)tst-audit3.out): Likewise.
554         * sysdeps/i386/tst-audit3.c: New file.
555         * sysdeps/i386/tst-audit3.h: Likewise.
556         * sysdeps/i386/tst-auditmod3a.c: Likewise.
557         * sysdeps/i386/tst-auditmod3b.c: Likewise.
559 2015-07-07  Torvald Riegel  <triegel@redhat.com>
561         [BZ #18633]
562         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
563         pointer in C code.
564         (__strcat_c): Likewise.
565         (__strcat_g): Likewise.
567 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
569         [BZ #18592]
570         * misc/sbrk.c: Set errno to ENOMEM on overflow.
572 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
574         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
575         New function.  (__ieee754_sqrtf): New function.
576         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
577         New function.
578         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
579         New function.
581 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
583         * sysdeps/ieee754/support.c: Remove unused file.
585 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
587         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
588         registers instead of d ones so the layout is kernel abi compatible.
589         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
590         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
591         Likewise.
593 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
595         * sysdeps/aarch64/libm-test-ulps: Regenerated.
597 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
599         [BZ #18619]
600         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
601         and return argument in case of subnormal argument.
603 2015-07-01  Martin Sebor  <msebor@redhat.com>
605         [BZ #18435]
606         * nptl/Makefile: Add tst-once5.cc.
607         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
608         Remove macro redefinitions.
609         * nptl/tst-once5.cc: New test.
611 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
613         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
615         * sysdeps/arm/libm-test-ulps: Regenerated.
617         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
618         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
620 2015-06-30  Torvald Riegel  <triegel@redhat.com>
622         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
623         lll_lock_wait_private and lll_futex_wake probes.
625         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
626         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
627         Likewise.
628         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
629         atomic_spin_nop.
630         * sysdeps/x86_64/bits/atomic.h: Likewise.
631         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
632         to atomic_spin_nop and move ...
633         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
634         ... here and ...
635         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
636         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
637         atomic_spin_nop instead of BUSY_WAIT_NOP.
638         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
639         Likewise.
640         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
641         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
642         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
643         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
644         instead of atomic_delay.
646 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
648         [BZ #18613]
649         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
650         X_ADJ not X when adjusting exponent.
651         (__ieee754_gamma_r): Do intermediate computations in
652         round-to-nearest then adjust overflowing and underflowing results
653         as needed.
654         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
655         of X_ADJ not X when adjusting exponent.
656         (__ieee754_gammaf_r): Do intermediate computations in
657         round-to-nearest then adjust overflowing and underflowing results
658         as needed.
659         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
660         log of X_ADJ not X when adjusting exponent.
661         (__ieee754_gammal_r): Do intermediate computations in
662         round-to-nearest then adjust overflowing and underflowing results
663         as needed.  Use 1.0L not 1.0f as numerator of division.
664         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
665         log of X_ADJ not X when adjusting exponent.
666         (__ieee754_gammal_r): Do intermediate computations in
667         round-to-nearest then adjust overflowing and underflowing results
668         as needed.  Use 1.0L not 1.0f as numerator of division.
669         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
670         of X_ADJ not X when adjusting exponent.
671         (__ieee754_gammal_r): Do intermediate computations in
672         round-to-nearest then adjust overflowing and underflowing results
673         as needed.  Use 1.0L not 1.0f as numerator of division.
674         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
675         to auto-libm-test-in.
676         (tgamma_test): Use ALL_RM_TEST.
677         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
678         tests of tgamma with spurious-overflow.
679         * math/auto-libm-test-out: Regenerated.
680         * math/gen-libm-have-vector-test.sh: Do not check for START.
681         * sysdeps/i386/fpu/libm-test-ulps: Update.
682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
684         [BZ #18612]
685         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
686         arguments, just return 0.5 times the argument, with underflow
687         forced as needed.
688         * math/auto-libm-test-in: Add more tests of j1.
689         * math/auto-libm-test-out: Regenerated.
691         [BZ #16559]
692         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
693         (__ieee754_j1): Force underflow exception for small results.
694         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
695         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
696         (__ieee754_j1f): Force underflow exception for small results.
697         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
698         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
700         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
701         (__ieee754_j1l): Force underflow exception for small results.
702         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
703         * math/auto-libm-test-in: Add more tests of j1 and jn.
704         * math/auto-libm-test-out: Regenerated.
706         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
707         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
708         (PF_MPLS): Likewise.
709         (AF_IB): Likewise.
710         (AF_MPLS): Likewise.
711         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
712         value and macro.
713         (MS_RMT_MASK): Include MS_LAZYTIME.
715 2015-06-26  Mel Gorman  <mgorman@suse.de>
717         [BZ #18502]
718         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
719         already minimal.
721 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
723         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
724         (DT_MIPS_NUM): Update.
725         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
726         DT_MIPS_RLD_MAP_REL.
728 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
730         [BZ #16559]
731         [BZ #18602]
732         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
733         round-to-nearest internally then recompute results that
734         underflowed to zero in the original rounding mode.
735         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
736         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
738         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
739         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
740         * sysdeps/i386/fpu/libm-test-ulps: Update.
741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
745         * NEWS: Fixed description of link with vector math library.
747 2015-06-25  Andreas Schwab  <schwab@suse.de>
749         [BZ #18549]
750         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
751         * libio/test-fmemopen.c (do_test): Add test for it.
753 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
755         [BZ #17841]
756         * Makeconfig (no-pie-ldflag): New.
757         (+link): Set to $(+link-pie) if default to PIE.
758         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
759         * config.make.in (build-pie-default): New.
760         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
761         is default.  AC_SUBST.
762         * configure: Regenerated.
763         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
765 2015-06-24  Roland McGrath  <roland@hack.frob.com>
767         * nptl/descr.h (struct pthread): Change type of field setxid_futex
768         to 'unsigned int'.
770         * resolv/gai_misc.h (struct waitlist): Change type of field
771         counterp to 'volatile unsigned int *'.
772         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
773         FUTEXADDR and OLDVAL.
774         * resolv/getaddrinfo_a.c (getaddrinfo_a):
775         Give local variable TOTAL type 'volatile unsigned int'.
776         (struct async_waitlist): Change type of field counter to 'unsigned int'.
777         * resolv/gai_suspend.c (gai_suspend):
778         Give local variable CNTR type 'unsigned int'.
780         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
781         counterp to 'volatile unsigned int *'.
782         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
783         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
784         (aio_suspend): Give local variable CNTR type 'unsigned int'.
785         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
786         Give local variable TOTAL type 'volatile unsigned int'.
787         (struct async_waitlist): Change type of field counter to 'unsigned int'.
789 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
791         [BZ #18383]
792         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
793         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
794         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
795         comment for i386/x86-64.
796         (test-xfail-tst-tlsalign-extern-static): Removed.
798 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
800         * math/test-double.h: New file.
801         * math/test-float.h: Likewise.
802         * math/test-ldouble.h: Likewise.
803         * math/test-math-inline.h: Likewise.
804         * math/test-math-no-inline.h: Likewise.
805         * math/test-math-scalar.h: Likewise.
806         * math/test-math-vector.h: Likewise.
807         * math/test-vec-loop.h: Remove file.  Contents moved into
808         test-math-vector.h.
809         * math/libm-test.inc (MATHCONST): Do not document macro.
810         * math/test-double.c: Include test-double.h, test-math-no-inline.h
811         and test-math-scalar.h.
812         (FUNC): Remove macro.
813         (FUNC_TEST): Likewise.
814         (FLOAT): Likewise.
815         (MATHCONST): Likewise.
816         (PRINTF_EXPR): Likewise.
817         (PRINTF_XEXPR): Likewise.
818         (PRINTF_NEXPR): Likewise.
819         (TEST_DOUBLE): Likewise.
820         (TEST_MATHVEC): Likewise.
821         (__NO_MATH_INLINES): Likewise.
822         * math/test-float.c: Include test-float.h, test-math-no-inline.h
823         and test-math-scalar.h.
824         (FUNC): Remove macro.
825         (FUNC_TEST): Likewise.
826         (FLOAT): Likewise.
827         (MATHCONST): Likewise.
828         (PRINTF_EXPR): Likewise.
829         (PRINTF_XEXPR): Likewise.
830         (PRINTF_NEXPR): Likewise.
831         (TEST_FLOAT): Likewise.
832         (TEST_MATHVEC): Likewise.
833         (__NO_MATH_INLINES): Likewise.
834         * math/test-idouble.c: Include test-double.h, test-math-inline.h
835         and test-math-scalar.h.
836         (FUNC): Remove macro.
837         (FUNC_TEST): Likewise.
838         (FLOAT): Likewise.
839         (MATHCONST): Likewise.
840         (PRINTF_EXPR): Likewise.
841         (PRINTF_XEXPR): Likewise.
842         (PRINTF_NEXPR): Likewise.
843         (TEST_DOUBLE): Likewise.
844         (TEST_MATHVEC): Likewise.
845         (TEST_INLINE): Likewise.
846         (__NO_MATH_INLINES): Likewise.
847         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
848         test-math-scalar.h.
849         (FUNC): Remove macro.
850         (FUNC_TEST): Likewise.
851         (FLOAT): Likewise.
852         (MATHCONST): Likewise.
853         (PRINTF_EXPR): Likewise.
854         (PRINTF_XEXPR): Likewise.
855         (PRINTF_NEXPR): Likewise.
856         (TEST_FLOAT): Likewise.
857         (TEST_MATHVEC): Likewise.
858         (TEST_INLINE): Likewise.
859         (__NO_MATH_INLINES): Likewise.
860         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
861         and test-math-scalar.h.
862         (FUNC): Remove macro.
863         (FUNC_TEST): Likewise.
864         (FLOAT): Likewise.
865         (MATHCONST): Likewise.
866         (PRINTF_EXPR): Likewise.
867         (PRINTF_XEXPR): Likewise.
868         (PRINTF_NEXPR): Likewise.
869         (TEST_LDOUBLE): Likewise.
870         (TEST_MATHVEC): Likewise.
871         (TEST_INLINE): Likewise.
872         (__NO_MATH_INLINES): Likewise.
873         * math/test-ldouble.c: Include test-ldouble.h,
874         test-math-no-inline.h and test-math-scalar.h.
875         (FUNC): Remove macro.
876         (FUNC_TEST): Likewise.
877         (FLOAT): Likewise.
878         (MATHCONST): Likewise.
879         (PRINTF_EXPR): Likewise.
880         (PRINTF_XEXPR): Likewise.
881         (PRINTF_NEXPR): Likewise.
882         (TEST_LDOUBLE): Likewise.
883         (TEST_MATHVEC): Likewise.
884         (__NO_MATH_INLINES): Likewise.
885         * math/test-double-vlen2.h: Include test-double.h,
886         test-math-no-inline.h and test-math-vector.h.
887         (FLOAT): Remove macro.
888         (FUNC): Likewise.
889         (MATHCONST): Likewise.
890         (PRINTF_EXPR): Likewise.
891         (PRINTF_XEXPR): Likewise.
892         (PRINTF_NEXPR): Likewise.
893         (TEST_DOUBLE): Likewise.
894         (TEST_MATHVEC): Likewise.
895         (__NO_MATH_INLINES): Likewise.
896         (CNCT): Likewise.
897         (CONCAT): Likewise.
898         (WRAPPER_NAME): Likewise.
899         (WRAPPER_DECL): Likewise.
900         (WRAPPER_DECL_ff): Likewise.
901         (WRAPPER_DECL_fFF): Likewise.
902         (VECTOR_WRAPPER): Likewise.
903         (VECTOR_WRAPPER_ff): Likewise.
904         (VECTOR_WRAPPER_fFF): Likewise.
905         (VEC_LEN): New macro.
906         * math/test-double-vlen4.h: Include test-double.h,
907         test-math-no-inline.h and test-math-vector.h.
908         (FLOAT): Remove macro.
909         (FUNC): Likewise.
910         (MATHCONST): Likewise.
911         (PRINTF_EXPR): Likewise.
912         (PRINTF_XEXPR): Likewise.
913         (PRINTF_NEXPR): Likewise.
914         (TEST_DOUBLE): Likewise.
915         (TEST_MATHVEC): Likewise.
916         (__NO_MATH_INLINES): Likewise.
917         (CNCT): Likewise.
918         (CONCAT): Likewise.
919         (WRAPPER_NAME): Likewise.
920         (WRAPPER_DECL): Likewise.
921         (WRAPPER_DECL_ff): Likewise.
922         (WRAPPER_DECL_fFF): Likewise.
923         (VECTOR_WRAPPER): Likewise.
924         (VECTOR_WRAPPER_ff): Likewise.
925         (VECTOR_WRAPPER_fFF): Likewise.
926         (VEC_LEN): New macro.
927         * math/test-double-vlen8.h: Include test-double.h,
928         test-math-no-inline.h and test-math-vector.h.
929         (FLOAT): Remove macro.
930         (FUNC): Likewise.
931         (MATHCONST): Likewise.
932         (PRINTF_EXPR): Likewise.
933         (PRINTF_XEXPR): Likewise.
934         (PRINTF_NEXPR): Likewise.
935         (TEST_DOUBLE): Likewise.
936         (TEST_MATHVEC): Likewise.
937         (__NO_MATH_INLINES): Likewise.
938         (CNCT): Likewise.
939         (CONCAT): Likewise.
940         (WRAPPER_NAME): Likewise.
941         (WRAPPER_DECL): Likewise.
942         (WRAPPER_DECL_ff): Likewise.
943         (WRAPPER_DECL_fFF): Likewise.
944         (VECTOR_WRAPPER): Likewise.
945         (VECTOR_WRAPPER_ff): Likewise.
946         (VECTOR_WRAPPER_fFF): Likewise.
947         (VEC_LEN): New macro.
948         * math/test-float-vlen4.h: Include test-float.h,
949         test-math-no-inline.h and test-math-vector.h.
950         (FLOAT): Remove macro.
951         (FUNC): Likewise.
952         (MATHCONST): Likewise.
953         (PRINTF_EXPR): Likewise.
954         (PRINTF_XEXPR): Likewise.
955         (PRINTF_NEXPR): Likewise.
956         (TEST_FLOAT): Likewise.
957         (TEST_MATHVEC): Likewise.
958         (__NO_MATH_INLINES): Likewise.
959         (CNCT): Likewise.
960         (CONCAT): Likewise.
961         (WRAPPER_NAME): Likewise.
962         (WRAPPER_DECL): Likewise.
963         (WRAPPER_DECL_ff): Likewise.
964         (WRAPPER_DECL_fFF): Likewise.
965         (VECTOR_WRAPPER): Likewise.
966         (VECTOR_WRAPPER_ff): Likewise.
967         (VECTOR_WRAPPER_fFF): Likewise.
968         (VEC_LEN): New macro.
969         * math/test-float-vlen8.h: Include test-float.h,
970         test-math-no-inline.h and test-math-vector.h.
971         (FLOAT): Remove macro.
972         (FUNC): Likewise.
973         (MATHCONST): Likewise.
974         (PRINTF_EXPR): Likewise.
975         (PRINTF_XEXPR): Likewise.
976         (PRINTF_NEXPR): Likewise.
977         (TEST_FLOAT): Likewise.
978         (TEST_MATHVEC): Likewise.
979         (__NO_MATH_INLINES): Likewise.
980         (CNCT): Likewise.
981         (CONCAT): Likewise.
982         (WRAPPER_NAME): Likewise.
983         (WRAPPER_DECL): Likewise.
984         (WRAPPER_DECL_ff): Likewise.
985         (WRAPPER_DECL_fFF): Likewise.
986         (VECTOR_WRAPPER): Likewise.
987         (VECTOR_WRAPPER_ff): Likewise.
988         (VECTOR_WRAPPER_fFF): Likewise.
989         (VEC_LEN): New macro.
990         * math/test-float-vlen16.h: Include test-float.h,
991         test-math-no-inline.h and test-math-vector.h.
992         (FLOAT): Remove macro.
993         (FUNC): Likewise.
994         (MATHCONST): Likewise.
995         (PRINTF_EXPR): Likewise.
996         (PRINTF_XEXPR): Likewise.
997         (PRINTF_NEXPR): Likewise.
998         (TEST_FLOAT): Likewise.
999         (TEST_MATHVEC): Likewise.
1000         (__NO_MATH_INLINES): Likewise.
1001         (CNCT): Likewise.
1002         (CONCAT): Likewise.
1003         (WRAPPER_NAME): Likewise.
1004         (WRAPPER_DECL): Likewise.
1005         (WRAPPER_DECL_ff): Likewise.
1006         (WRAPPER_DECL_fFF): Likewise.
1007         (VECTOR_WRAPPER): Likewise.
1008         (VECTOR_WRAPPER_ff): Likewise.
1009         (VECTOR_WRAPPER_fFF): Likewise.
1010         (VEC_LEN): New macro.
1011         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1012         test-vec-loop.h.
1013         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1014         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1015         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1016         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1017         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1018         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1019         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1021 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1023         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1024         (__getlogin_r): ... this.
1026 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1028         [BZ #18594]
1029         * math/s_ccosh.c (__ccosh): Compare with least normal value
1030         instead of comparing class with FP_SUBNORMAL.
1031         * math/s_ccoshf.c (__ccoshf): Likewise.
1032         * math/s_ccoshl.c (__ccoshl): Likewise.
1033         * math/s_cexp.c (__cexp): Likewise.
1034         * math/s_cexpf.c (__cexpf): Likewise.
1035         * math/s_cexpl.c (__cexpl): Likewise.
1036         * math/s_csin.c (__csin): Likewise.
1037         * math/s_csinf.c (__csinf): Likewise.
1038         * math/s_csinh.c (__csinh): Likewise.
1039         * math/s_csinhf.c (__csinhf): Likewise.
1040         * math/s_csinhl.c (__csinhl): Likewise.
1041         * math/s_csinl.c (__csinl): Likewise.
1042         * math/s_ctan.c (__ctan): Likewise.
1043         * math/s_ctanf.c (__ctanf): Likewise.
1044         * math/s_ctanh.c (__ctanh): Likewise.
1045         * math/s_ctanhf.c (__ctanhf): Likewise.
1046         * math/s_ctanhl.c (__ctanhl): Likewise.
1047         * math/s_ctanl.c (__ctanl): Likewise.
1048         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1049         csin, csinh, ctan and ctanh.
1050         * math/auto-libm-test-out: Regenerated.
1051         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1052         * sysdeps/i386/fpu/libm-test-ulps: Update.
1053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1055 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1057         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1058         return value is wrong, print the expected value too.
1060 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1062         [BZ #18585]
1063         * elf/readlib.c (is_gdb_python_file): New.
1064         (process_file): Don't issue errors on filenames with -gdb.py
1065         suffix.
1067 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1069         * math/auto-libm-test-in: Add more tests of csin and csinh.
1070         * math/auto-libm-test-out: Regenerated.
1071         * math/libm-test.inc (csin_test_data): Remove tests moved to
1072         auto-libm-test-in.
1073         (csinh_test_data): Likewise.
1075         [BZ #18593]
1076         * math/s_csin.c (__csin): Negate before rather than after possibly
1077         overflowing multiplication.
1078         * math/s_csinf.c (__csinf): Likewise.
1079         * math/s_csinh.c (__csinh): Likewise.
1080         * math/s_csinhf.c (__csinhf): Likewise.
1081         * math/s_csinhl.c (__csinhl): Likewise.
1082         * math/s_csinl.c (__csinl): Likewise.
1083         * math/auto-libm-test-in: Add some tests of csin and csinh.
1084         * math/auto-libm-test-out: Regenerated.
1085         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1086         (csinh_test_data): Likewise.
1087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1089         [BZ #18586]
1090         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1091         underflow exception for small results.
1093 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1097         variable and included header.
1098         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1099         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1100         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1101         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1102         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1103         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1104         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1105         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1106         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1107         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1108         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1109         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1110         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1111         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1112         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1113         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1115 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1117         [BZ #16526]
1118         [BZ #16538]
1119         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1120         (__sin): Force underflow exception for arguments with small
1121         absolute value.
1122         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1123         (__kernel_sinf): Force underflow exception for arguments with
1124         small absolute value.
1125         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1126         (__kernel_sincosl): Force underflow exception for arguments with
1127         small absolute value.
1128         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1129         (__kernel_sinl): Force underflow exception for arguments with
1130         small absolute value.
1131         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1132         (__kernel_sincosl): Force underflow exception for arguments with
1133         small absolute value.
1134         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1135         (__kernel_sinl): Force underflow exception for arguments with
1136         small absolute value.
1137         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1138         (__kernel_sinl): Force underflow exception for arguments with
1139         small absolute value.
1140         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1141         (__kernel_sinf): Force underflow exception for arguments with
1142         small absolute value.
1143         * math/auto-libm-test-in: Add more tests of sin and sincos.
1144         * math/auto-libm-test-out: Regenerated.
1146         [BZ #18245]
1147         [BZ #18583]
1148         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1149         (__kernel_standard_l): Use feholdexcept and fesetenv around
1150         conversion to double instead of special-casing overflow and
1151         underflow.
1152         * math/libm-test.inc (fmod_test_data): Add more tests.
1153         (remainder_test_data): Likewise.
1154         (sqrt_test_data): Likewise.
1156 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1158         [BZ #17403]
1159         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1160         atomic_read_barrier, atomic_write_barrier): Define.
1161         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1162         atomic_read_barrier, atomic_write_barrier): Define.
1164 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1166         * math/Makefile [$(PERL) != no]
1167         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1168         dependency on libm-test.stmp below the inclusion of Rules.
1170 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1172         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1173         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1174         and included header.
1175         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1176         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1177         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1178         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1179         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1180         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1182         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1183         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1184         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1185         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1186         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1187         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1188         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1189         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1190         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1191         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1192         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1193         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1195 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1197         [BZ #18371]
1198         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1199         intermediate but not final result might underflow.
1200         * math/s_csqrtf.c (__csqrtf): Likewise.
1201         * math/s_csqrtl.c (__csqrtl): Likewise.
1202         * math/auto-libm-test-in: Add more tests of csqrt.
1203         * math/auto-libm-test-out: Regenerated.
1204         * sysdeps/i386/fpu/libm-test-ulps: Update.
1206         [BZ #18219]
1207         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1208         threshold on absolute value of exponent for which scaling is used.
1209         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1210         * math/auto-libm-test-in: Add more tests of exp2.
1211         * math/auto-libm-test-out: Regenerated.
1213 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1215         [BZ #17977]
1216         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1217         when initializing interface list, based on the bug analysis
1218         and the patch proposed by Eric Newton.
1219         * resolv/tst-res_hconf_reorder.c: New test.
1220         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1221         tst-res_hconf_reorder.
1222         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1223         and $(shared-thread-library).
1224         (tst-res_hconf_reorder-ENV): New variable.
1226         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1227         in comment.
1229 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1231         [BZ #16353]
1232         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1233         (__expm1): Force underflow exception for arguments with small
1234         absolute value.
1235         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1236         (__expm1f): Force underflow exception for arguments with small
1237         absolute value.
1238         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1239         (__expm1): Force underflow exception for arguments with small
1240         absolute value.
1241         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1242         (__expm1f): Force underflow exception for arguments with small
1243         absolute value.
1244         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1245         Check for small arguments before calling __expm1.
1246         * math/auto-libm-test-in: Do not mark underflow exceptions as
1247         possibly missing for bug 16353.
1248         * math/auto-libm-test-out: Regenerated.
1250 2015-06-22  Andreas Schwab  <schwab@suse.de>
1252         [BZ #18513]
1253         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1254         PTR queries.
1256 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1258         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1260         * string/strcoll_l.c: Remove unused struct element idxnow.
1262 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1264         [BZ #18569]
1265         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1266         underflow and return argument in case of subnormal argument.
1267         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1268         Likewise.
1269         * math/auto-libm-test-in: Add more tests of expm1.
1270         * math/auto-libm-test-out: Regenerated.
1272         [BZ #16361]
1273         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1274         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1275         tiny results.
1276         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1277         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1278         tiny results.
1279         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1280         mark underflow exceptions as possibly missing for bug 16361.
1281         * math/auto-libm-test-out: Regenerated.
1283 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1285         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1286         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1287         Remove variable.
1288         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1289         (test-xfail-XOPEN2K8/utmpx.h/conform).
1291         * conform/conformtest.pl ($xerrors): New variable.
1292         (note_error): New function.
1293         (compiletest): New argument $xfail.  Use not_error.
1294         (runtest): Likewise.
1295         (top level): Handle xfail- lines.  Update calls to compiletest and
1296         runtest.  Handle xfail- and optional- in headers listed with
1297         allow-header.
1298         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1299         (O_EXEC): Likewise.
1300         (O_SEARCH): Likewise.
1301         * conform/data/stropts.h-data (ioctl): Likewise.
1302         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1303         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1304         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1305         (msghdr.msg_controllen): Likewise.
1306         (cmsghdr.cmsg_len): Likewise.
1307         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1308         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1309         variable.
1310         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1311         (test-xfail-XPG4/stropts.h/conform): Likewise.
1312         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1313         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1314         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1315         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1316         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1317         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1318         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1319         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1320         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1321         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1322         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1323         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1324         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1325         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1326         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1327         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1328         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1329         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1330         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1332 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1334         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1335         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1336         definitions for proper unfolding of __MATHDECL_VEC.
1338 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1340         * benchtests/bench-strcoll.c:
1341         Include string.h.
1342         (main): Remove unused variable res.
1344 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1346         * timezone/Makefile (%/UTC %/Universal):
1347         Generate test-result files for UTC and Universal.
1349 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1351         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1353 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1355         [BZ #16350]
1356         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1357         for arguments with small absolute value.
1358         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1359         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1360         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1361         (__asinh): Force underflow exception for arguments with small
1362         absolute value.
1363         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1364         (__asinhf): Force underflow exception for arguments with small
1365         absolute value.
1366         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1367         (__asinhl): Force underflow exception for arguments with small
1368         absolute value.
1369         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1370         (__asinhl): Force underflow exception for arguments with small
1371         absolute value.
1372         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1373         (__asinhl): Force underflow exception for arguments with small
1374         absolute value.
1375         * math/auto-libm-test-in: Do not mark underflow exceptions as
1376         possibly missing for bug 16350.
1377         * math/auto-libm-test-out: Regenerated.
1379         * include/bits/ipc.h: Remove file.
1380         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1381         variable.
1382         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1383         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1384         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1385         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1386         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1387         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1388         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1389         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1390         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1392         * math/auto-libm-test-in: Remove spurious underflow allowance for
1393         tests of cexp.
1394         * math/auto-libm-test-out: Regenerated.
1396         [BZ #18558]
1397         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1398         unconditional definition.
1399         (MCAST_BLOCK_SOURCE): Likewise.
1400         (MCAST_UNBLOCK_SOURCE): Likewise.
1401         (MCAST_LEAVE_GROUP): Likewise.
1402         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1403         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1404         (MCAST_MSFILTER): Likewise.
1405         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1406         Remove variable.
1407         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1408         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1409         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1410         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1411         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1413 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1415         * NEWS: Mention addition of x86_64 vector sincosf.
1416         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1417         * math/test-float-vlen4.h: Likewise.
1418         * math/test-float-vlen8.h: Likewise.
1419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1420         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1421         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1422         * sysdeps/x86_64/fpu/Versions: New versions added.
1423         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1424         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1425         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1426         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1427         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1428         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1432         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1433         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1434         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1435         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1436         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1437         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1438         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1439         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1440         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1441         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1442         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1443         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1444         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1445         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1446         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1448         * NEWS: Mention addition of x86_64 vector sincos.
1449         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1450         * math/math.h (__MATHDECL_VEC): New macro.
1451         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1452         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1453         declaration under condition.
1454         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1455         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1456         TEST_VEC_LOOP change.
1457         * math/test-double-vlen4.h: Likewise.
1458         * math/test-double-vlen8.h: Likewise.
1459         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1460         * math/test-float-vlen4.h: Likewise.
1461         * math/test-float-vlen8.h: Likewise.
1462         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1463         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1465         * sysdeps/x86_64/fpu/Versions: New versions added.
1466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1468         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1469         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1470         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1471         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1472         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1473         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1474         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1475         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1476         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1477         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1478         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1479         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1480         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1481         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1482         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1483         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1484         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1485         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1486         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1487         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1488         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1489         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1492         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1493         redirections for powf.
1494         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1495         * sysdeps/x86_64/fpu/Versions: New versions added.
1496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1497         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1498         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1499         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1500         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1501         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1502         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1503         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1504         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1505         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1506         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1507         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1508         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1509         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1510         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1511         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1512         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1513         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1514         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1515         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1516         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1517         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1518         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1519         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1520         * math/test-float-vlen16.h: Fixed 2 argument macro.
1521         * math/test-float-vlen4.h: Likewise.
1522         * math/test-float-vlen8.h: Likewise.
1523         * NEWS: Mention addition of x86_64 vector powf.
1525 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1527         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1528         and redefine.
1529         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1530         and redefine.
1531         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1532         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1533         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1535         [BZ #18553]
1536         * resource/getpriority.c (getpriority): Rename to __getpriority
1537         and define as weak alias of __getpriority.
1538         * resource/setpriority.c (setpriority): Rename to __setpriority
1539         and define as weak alias of __setpriority.
1540         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1541         __getpriority and define as weak alias of __getpriority.
1542         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1543         __setpriority and define as weak alias of __setpriority.
1544         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1545         strong name.
1546         (setpriority): Use __setpriority as strong name.
1547         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1548         __getpriority and define as weak alias of __getpriority.
1549         * include/sys/resource.h (__getpriority): Declare.  Use
1550         libc_hidden_proto.
1551         (__setpriority): Likewise.
1552         (getpriority): Don't use libc_hidden_proto.
1553         (setpriority): Likewise.
1554         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1555         getpriority.  Call __setpriority instead of setpriority.
1556         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1557         Remove variable.
1559         [BZ #18547]
1560         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1561         as weak alias of __getttynam.  Use prototype function definition.
1562         Call __setttyent, __getttyent and __endttyent instead of
1563         setttyent, getttyent and endttyent.
1564         (getttyent): Rename to __getttyent and define as weak alias of
1565         __getttyent.  Call __setttyent instead of setttyent.  Call
1566         __fgets_unlocked instead of fgets_unlocked.
1567         (setttyent): Rename to __setttyent and define as weak alias of
1568         __setttyent.
1569         (endttyent): Rename to __endttyent and define as weak alias of
1570         __endttyent.
1571         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1572         (__setttyent): Likewise.
1573         (__endttyent): Likewise.
1574         (getttyent): Don't use libc_hidden_proto.
1575         (setttyent): Likewise.
1576         (endttyent): Likewise.
1577         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1578         __endttyent instead of setttyent, getttyent and endttyent.
1579         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1580         Remove variable.
1582         [BZ #18546]
1583         * socket/recv.c (__recv): Use libc_hidden_def.
1584         * socket/socket.c (__socket): Likewise.
1585         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1586         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1587         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1588         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1589         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1590         libc_hidden_def.
1591         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1592         libc_hidden_weak.
1593         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1594         Use libc_hidden_proto.
1595         (__recv): Likewise.
1596         * socket/Versions (libc): Export __recv and __socket at version
1597         GLIBC_PRIVATE.
1598         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1599         instead of recv.
1600         (init_mq_netlink): Call __socket instead of socket.
1601         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1602         Remove variable.
1604         [BZ #18545]
1605         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1606         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1607         hidden_weak.
1608         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1609         define as alias of __mq_timedsend.  Use hidden_weak.
1610         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1611         __mq_timedsend as strong name.
1612         (mq_timedreceive): Use __mq_timedreceive as strong name.
1613         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1614         (__mq_timedreceive): Likewise.
1615         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1616         __mq_timedreceive instead of mq_timedreceive.
1617         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1618         instead of mq_timedsend.
1619         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1620         Remove variable.
1622         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1623         hidden_def and hidden_weak instead of libc_hidden_def and
1624         libc_hidden_weak.
1625         (top level): Refer to hidden_def in comment.
1626         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1627         macro.  Use it instead of libc_hidden_def.
1628         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1629         specify __GI_* name explicitly.
1630         (mq_timedreceive): Likewise.
1631         (mq_setattr): Likewise.
1633         [BZ #18544]
1634         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1635         __pthread_barrier_init and define as weak alias of
1636         __pthread_barrier_init.
1637         * sysdeps/sparc/nptl/pthread_barrier_init.c
1638         (pthread_barrier_init): Likewise.
1639         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1640         __pthread_barrier_wait and define as weak alias of
1641         __pthread_barrier_wait.
1642         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1643         (pthread_barrier_wait): Likewise.
1644         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1645         (pthread_barrier_wait): Likewise.
1646         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1647         (pthread_barrier_wait): Likewise.
1648         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1649         (pthread_barrier_wait): Likewise.
1650         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1651         __pthread_barrier_wait at version GLIBC_PRIVATE.
1652         * include/pthread.h (__pthread_barrier_init): Declare.
1653         (__pthread_barrier_wait): Likewise.
1654         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1655         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1656         (helper_thread): Likewise.
1657         (init_mq_netlink): Call __pthread_barrier_init instead of
1658         pthread_barrier_init.
1660         [BZ #18542]
1661         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1662         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1663         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1664         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1665         vswscanf.
1666         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1667         Remove variable.
1669         [BZ #18540]
1670         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1671         strong alias of _IO_fflush.  Use libc_hidden_def.
1672         * libio/iofflush_u.c (fflush_unlocked): Rename to
1673         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1674         Use libc_hidden_weak.
1675         * include/stdio.h (__fflush_unlocked): Declare.  Use
1676         libc_hidden_proto.
1677         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1678         fflush_unlocked.
1679         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1680         Remove variable.
1682         [BZ #18539]
1683         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1684         define as weak alias of __addseverity.
1685         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1686         Remove variable.
1687         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1688         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1689         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1691         [BZ #18536]
1692         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1693         (__tfind): Likewise.
1694         (__tdelete): Likewise.
1695         (__twalk): Likewise.
1696         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1697         __twalk to GLIBC_PRIVATE.
1698         * include/search.h (__tsearch): Use libc_hidden_proto.
1699         (__tfind): Likewise.
1700         (__tdelete): Likewise.
1701         (__twalk): Likewise.
1702         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1703         Call __tdelete instead of tdelete.
1704         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1705         tfind.  Call __tsearch instead of tsearch.
1706         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1707         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1708         Remove variable.
1709         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1711         [BZ #18534]
1712         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1713         (dprintf): Define as a weak alias of __dprintf, not a strong
1714         alias.
1715         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1716         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1717         dprintf.
1718         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1719         Remove variable.
1720         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1721         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1723         [BZ #18533]
1724         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1725         not a strong alias.
1726         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1727         Remove variable.
1729         [BZ #18532]
1730         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1731         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1732         (in6addr_loopback): Rename to __in6addr_loopback and define as
1733         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1734         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1735         libc_hidden_proto.
1736         (__in6addr_any): Likewise.
1737         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1738         in6addr_any.
1739         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1740         variable.
1741         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1743 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1745         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1746         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1747         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1748         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1749         redirections for pow.
1750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1751         * sysdeps/x86_64/fpu/Versions: New versions added.
1752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1754         build of SSE, AVX2 and AVX512 IFUNC versions.
1755         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1756         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1757         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1758         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1760         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1762         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1763         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1764         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1765         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1766         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1767         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1768         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1769         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1770         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1771         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1772         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1773         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1774         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1775         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1776         * NEWS: Mention addition of x86_64 vector pow.
1778         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1779         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1780         redirections for expf.
1781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1782         * sysdeps/x86_64/fpu/Versions: New versions added.
1783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1784         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1785         build of SSE, AVX2 and AVX512 IFUNC versions.
1786         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1787         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1788         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1789         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1790         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1791         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1792         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1793         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1794         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1795         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1796         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1797         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1798         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1799         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1800         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1801         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1802         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1803         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1804         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1805         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1806         * NEWS: Mention addition of x86_64 vector expf.
1808         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1809         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1810         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1811         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1812         redirections for exp.
1813         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1814         * sysdeps/x86_64/fpu/Versions: New versions added.
1815         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1816         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1817         build of SSE, AVX2 and AVX512 IFUNC versions.
1818         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1819         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1820         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1821         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1822         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1824         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1825         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1826         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1827         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1828         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1829         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1830         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1831         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1832         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1833         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1834         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1835         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1836         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1837         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1838         * NEWS: Mention addition of x86_64 vector exp.
1840         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1841         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1842         redirections for logf.
1843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1844         * sysdeps/x86_64/fpu/Versions: New versions added.
1845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1846         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1847         build of SSE, AVX2 and AVX512 IFUNC versions.
1848         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1849         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1850         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1851         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1853         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1854         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1855         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1856         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1857         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1858         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1859         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1860         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1861         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1862         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1863         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1864         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1865         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1866         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1867         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1868         * NEWS: Mention addition of x86_64 vector logf.
1870         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1871         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1872         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1873         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1874         redirections for log.
1875         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1876         * sysdeps/x86_64/fpu/Versions: New versions added.
1877         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1878         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1879         build of SSE, AVX2 and AVX512 IFUNC versions.
1880         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1881         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1882         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1883         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1884         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1885         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1886         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1887         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1888         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1889         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1890         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1891         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1892         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1893         test.
1894         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1895         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1897         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1898         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1899         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1900         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1901         * NEWS: Mention addition of x86_64 vector log.
1903 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1905         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1906         cfi_adjust_cfa_offset argument.
1907         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1908         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1910         [BZ #18034]
1911         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1912         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1913         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1914         ordering using ldar.
1915         (_dl_tlsdesc_dynamic): Likewise.
1916         (_dl_tlsdesc_return_lazy): Likewise.
1917         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1918         relaxed atomics instead of volatile and synchronize with release store.
1919         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1920         volatile.
1921         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1923 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1926         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1928         * sysdeps/x86_64/fpu/Versions: New versions added.
1929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1931         build of SSE, AVX2 and AVX512 IFUNC versions.
1932         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1933         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1934         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1935         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1936         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1937         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1938         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1939         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1940         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1941         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1942         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1943         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1944         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1945         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1946         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1947         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1948         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1950         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1951         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1952         * NEWS: Mention addition of x86_64 vector sinf.
1954 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1956         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1957         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1958         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1959         Remove variable.
1960         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1961         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1963 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1965         [BZ #18530]
1966         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1967         strong alias of _IO_fputs.  Use libc_hidden_def.
1968         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1969         and define as weak alias of __fputs_unlocked.  Use
1970         libc_hidden_weak.
1971         * include/stdio.h (__fputs_unlocked): Declare.  Use
1972         libc_hidden_proto.
1973         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1974         fputs_unlocked.
1976         [BZ #18529]
1977         * resolv/netdb.h [__USE_POSIX]: Change condition to
1978         [__USE_XOPEN2K].
1979         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1980         not expect.
1981         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1982         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1983         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1984         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1985         [XPG4 || UNIX98] (AI_ALL): Likewise.
1986         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1987         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1988         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1989         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1990         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1991         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1992         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1993         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1994         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1995         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1996         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1997         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1998         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1999         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2000         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2001         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2002         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2003         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2004         [XPG4 || UNIX98] (gai_strerror): Likewise.
2005         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2006         [XPG4 || UNIX98] (getnameinfo): Likewise.
2008         [BZ #18528]
2009         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2010         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2011         __USE_XOPEN2K8].
2012         (getgrent): Likewise.
2013         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2014         expect.
2015         [XPG3 || POSIX2008] (endgrent): Likewise.
2016         [XPG3] (setgrent): Likewise.
2017         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2018         variable.
2019         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2021         [BZ #18527]
2022         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2023         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2024         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2025         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2026         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2027         * include/unistd.h (__getlogin_r): Declare.  Use
2028         libc_hidden_proto.
2029         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2030         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2031         variable.
2032         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2033         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2034         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2036 2015-06-12  Martin Sebor  <msebor@redhat.com>
2038         [BZ #18512]
2039         * Makerules (check-install-supported): New target.
2040         (install): Add check-install-supported as a dependency.
2041         * manual/install.texi (Installing the C Library): Document
2042         that overriding prefix and exec_prefix is not supported.
2043         Mention DESTDIR.
2044         * INSTALL: Regenerate from the above.
2046 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2048         [BZ #18519]
2049         * posix/Versions (libc): Export __libc_pread at version
2050         GLIBC_PRIVATE.
2051         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2052         instead of pread.
2053         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2054         variable.
2056         [BZ #18522]
2057         * misc/efgcvt_r.c
2058         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2059         (cvt_symbol): Use weak_alias instead of strong_alias.
2060         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2061         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2062         Remove variable.
2063         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2064         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2066         [BZ #18520]
2067         * inet/herrno.c (h_errno): Rename to __h_errno.
2068         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2069         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2070         to __h_errno instead of h_errno.
2071         * nptl/herrno.c (h_errno): Rename to __h_errno.
2072         (__h_errno_location): Refer to __h_errno not h_errno.
2073         * resolv/Versions (h_errno): Rename to __h_errno.
2074         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2075         Remove variable.
2076         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2078 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2080         * configure.ac: More strict check for AVX512 assembler support.
2081         * configure: Regenerated.
2083         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2084         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2085         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2086         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2088         * sysdeps/x86_64/fpu/Versions: New versions added.
2089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2091         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2092         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2093         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2094         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2095         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2096         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2097         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2098         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2099         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2100         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2101         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2102         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2103         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2105         test.
2106         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2110         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2112         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2113         * NEWS: Mention addition of x86_64 vector sin.
2115 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2117         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2118         comment.
2120 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2122         [BZ #18479]
2123         * nptl/pt-interp.c: New file.
2124         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2125         Add pt-interp.
2126         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2127         $(common-objpfx)runtime-linker.h.
2129 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2131         * Makeconfig (+interp): Remove unused variable.
2132         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2133         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2134         $(elf-objpfx)runtime-linker.h.
2135         ($(elf-objpfx)runtime-linker.h): Rename to
2136         $(common-objpfx)runtime-linker.h and move ...
2137         * Makerules [$(build-shared) = yes]: ... here.
2138         * elf/interp.c: Include <runtime-linker.h> instead of
2139         <elf/runtime-linker.h>.
2141 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2143         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2144         (__gettimeofday_syscall): Remove vsyscall fallback.
2145         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2146         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2147         Add syscall fallback function.
2148         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2149         if vDSO is not present.
2150         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2151         fallback function.
2152         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2153         present.
2154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2155         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2157 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #18497]
2160         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2161         of wcscmp.
2162         (wcscmp): Define as weak alias of WCSCMP.
2163         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2164         wcscoll.
2165         (USE_HIDDEN_DEF): Define.
2166         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2167         __wcscoll.  Don't use libc_hidden_weak.
2168         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2169         wcscmp.
2170         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2171         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2172         __GI_wcscmp.
2173         (weak_alias): Undefine and redefine.
2174         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2175         __wcscmp and define as weak alias of __wcscmp.
2176         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2177         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2178         (__wcscoll): Likewise.
2179         (wcscmp): Don't use libc_hidden_proto.
2180         (wcscoll): Likewise.
2181         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2182         wcscoll.
2183         * posix/regexec.c (check_node_accept_bytes): Likewise.
2184         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2185         variable.
2186         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2187         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2189         [BZ #18507]
2190         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2191         __fstatvfs and define as weak alias of __fstatvfs.  Use
2192         libc_hidden_weak.
2193         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2194         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2195         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2196         Define as alias of __fstatvfs, not fstatvfs.
2197         (fstatvfs64): Likewise.
2198         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2199         Define as alias of __statvfs, not statvfs.
2200         (statvfs64): Likewise.
2201         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2202         Remove variable.
2204 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2207         (HAVE_GETCPU_VSYSCALL): Define.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2209         (HAVE_GETCPU_VSYSCALL): Likewise.
2210         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2211         * sysdeps/unix/sysv/linux/sched_getcpu.c
2212         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2213         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2214         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2215         prototype.
2216         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2217         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2218         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2220         Define.
2221         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2222         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2223         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2224         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2226 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2228         * sysdeps/x86_64/fpu/Makefile: New file.
2229         * sysdeps/x86_64/fpu/Versions: New file.
2230         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2231         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2232         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2233         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2234         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2235         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2236         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2237         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2238         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2239         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2240         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2241         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2242         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2243         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2244         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2245         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2246         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2247         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2248         * sysdeps/x86_64/configure: Regenerated.
2249         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2250         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2251         * manual/install.texi (Configuring and compiling): Document
2252         --disable-mathvec.
2253         * INSTALL: Regenerated.
2254         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2256         * math/Makefile: Added rules for vector tests.
2257         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2258         declaration under condition.
2259         * math/test-double-vlen2.h: New file.
2260         * math/test-double-vlen4.h: New file.
2261         * math/test-double-vlen8.h: New file.
2262         * math/test-vec-loop.h: Added initialization macro.
2263         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2264         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2265         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2266         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2267         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2268         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2269         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2270         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2271         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2272         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2273         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2275         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2276         * sysdeps/x86_64/fpu/Versions: New versions added.
2277         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2279         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2280         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2281         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2282         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2284         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2285         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2286         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2287         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2288         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2289         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2290         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2291         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2293         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2294         * NEWS: Mention addition of x86_64 vector cosf.
2296         * math/Makefile: Added CFLAGS for new tests.
2297         * math/test-float-vlen16.h: New file.
2298         * math/test-float-vlen4.h: New file.
2299         * math/test-float-vlen8.h: New file.
2300         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2301         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2303         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2304         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2305         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2306         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2307         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2309         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2310         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2312 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2314         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2315         * locale/programs/ld-ctype.c: Likewise.
2317 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2319         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2320         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2321         bit_ZMM16_31_state): New macro.
2322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2323         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2325 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2327         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2329 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2331         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2333 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2335         [BZ #18498]
2336         * libio/memstream.c (open_memstream): Rename to __open_memstream
2337         and define as weak alias of __open_memstream.
2338         * include/stdio.h (__open_memstream): Declare.  Use
2339         libc_hidden_proto.
2340         (open_memstream): Don't use libc_hidden_proto.
2341         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2342         open_memstream.
2343         * posix/getopt.c (_getopt_internal_r): Likewise.
2344         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2345         variable.
2346         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2347         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2348         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2350         [BZ #18496]
2351         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2352         instead of wcrtomb.
2354         [BZ #18483]
2355         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2356         [__USE_XOPEN2K8].  Remove redundant #endif.
2357         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2358         Remove redundant #if.
2359         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2360         Remove variable.
2361         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2362         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2364         [BZ #18495]
2365         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2366         (__iswlower): Likewise.
2367         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2368         (__iswlower): Likewise.
2369         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2370         instead of towlower.
2371         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2372         instead of iswlower.  Call __towupper instead of towupper.
2373         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2374         instead of iswalnum.
2376 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2378         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2379         errors to stderr.
2381 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2383         [BZ #15661]
2384         [BZ #17322]
2385         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2386         Check for overflow properly.  Check for O_APPEND.  Ignore large
2387         file system block sizes.  Add comments about problems.
2388         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2389         * manual/filesys.texi (Storage Allocation): New node.
2391 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2393         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2394         cancellable syscalls.
2395         (SYS_ify): Add guard to no redefine it.
2396         (INLINE_SYSCALL): Likewise.
2397         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2398         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2399         SYSCALL_CANCEL instead.
2400         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2401         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2402         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2403         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2404         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2405         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2406         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2407         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2408         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2409         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2410         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2411         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2412         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2413         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2414         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2415         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2416         Likewise.
2417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2418         (__libc_pread64): Likewise.
2419         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2420         (__libc_preadv): Likewise.
2421         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2422         (__libc_readv64): Likewise.
2423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2424         (__libc_pwrite): Likewise.
2425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2426         (__libc_pwrite64): Likewise.
2427         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2428         (__libc_pwritev): Likewise.
2429         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2430         (__libc_pwritev64): Likewise.
2431         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2432         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2433         (sync_file_range): Likewise.
2434         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2437         Likewise.
2438         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2439         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2440         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2441         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2442         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2443         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2444         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2445         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2447         Likewise.
2448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2449         (__libc_read64): Likewise.
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2451         Likewise.
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2453         Likewise.
2454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2455         Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2457         Likewise.
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2459         (__libc_pread64): Likewise.
2460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2463         (__libc_pwrite64): Likewise.
2464         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2465         (sync_file_range): Likewise.
2466         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2467         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2468         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2469         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2470         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2471         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2472         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2473         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2474         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2475         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2476         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2477         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2478         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2479         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2480         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2481         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2482         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2483         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2484         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2485         Likewise.
2486         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2487         Likewise.
2488         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2489         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2490         Likewise.
2491         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2492         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2493         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2494         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2495         Likewise.
2496         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2497         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2498         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2499         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2500         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2502 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2504         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2505         Include dl-vdso.
2506         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2507         Use VDSO routines for gettimeofday, clock_gettime if
2508         available.
2509         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2510         Declare VDSO symbols.
2511         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2512         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2513         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2514         * sysdeps/unix/sysv/linux/arm/Versions: Add
2515         __vdso_clock_gettime.
2517 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2519         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2520         be an inline implementation regardless of library is built within.
2521         (open_not_cancel_2): Likewise.
2522         (__read_nocancel): Likewise.
2523         (__write_nocancel): Likewise.
2524         (openat_not_cancel): Likewise.
2525         (openat_not_cancel_3): Likewise.
2526         (openat64_not_cancel): Likewise.
2527         (openat64_not_cancel_3): Likewise.
2528         (__close_nocancel): Likewise.
2529         (pause_not_cancel): Likewise.
2530         (nanosleep_not_cancel): Likewise.
2531         (sigsuspend_not_cancel): Likewise.
2533 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2535         [BZ #14958]
2536         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2537         wake-up.
2538         (__pthread_rwlock_rdlock_slow): Likewise.
2539         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2540         Likewise.
2541         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2542         Likewise.
2543         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2544         * nptl/tst-rwlock16.c: New file.
2545         * nptl/Makefile (tests): Add new test.
2547 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2549         [BZ #18324]
2550         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2551         missing wake-up of readers.
2552         * nptl/tst-rwlock15.c: New file.
2553         * nptl/Makefile (tests): Add new test.
2555 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2557         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2558         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2559         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2560         and __nacl_supply_interface_rtld.
2561         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2562         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2563         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2564         Add __nacl_supply_interface_rtld.
2565         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2567 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2569         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2570         isfinite.
2571         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2572         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2574 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2576         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2577         __signbit* with standard C99 macros.
2578         * math/e_exp10l.c: Likewise.
2579         * math/e_exp2l.c: Likewise.
2580         * math/e_scalb.c: Likewise.
2581         * math/e_scalbf.c: Likewise.
2582         * math/e_scalbl.c: Likewise.
2583         * math/s_ldexp.c: Likewise.
2584         * math/s_ldexpf.c: Likewise.
2585         * math/s_ldexpl.c: Likewise.
2586         * math/w_atan2.c: Likewise.
2587         * math/w_atan2f.c: Likewise.
2588         * math/w_atan2l.c: Likewise.
2589         * math/w_cosh.c: Likewise.
2590         * math/w_coshf.c: Likewise.
2591         * math/w_coshl.c: Likewise.
2592         * math/w_exp10.c: Likewise.
2593         * math/w_exp10f.c: Likewise.
2594         * math/w_exp10l.c: Likewise.
2595         * math/w_exp2.c: Likewise.
2596         * math/w_exp2f.c: Likewise.
2597         * math/w_exp2l.c: Likewise.
2598         * math/w_fmod.c: Likewise.
2599         * math/w_fmodf.c: Likewise.
2600         * math/w_fmodl.c: Likewise.
2601         * math/w_hypot.c: Likewise.
2602         * math/w_hypotf.c: Likewise.
2603         * math/w_hypotl.c: Likewise.
2604         * math/w_jnl.c: Likewise.
2605         * math/w_lgamma.c: Likewise.
2606         * math/w_lgamma_r.c: Likewise.
2607         * math/w_lgammaf.c: Likewise.
2608         * math/w_lgammaf_r.c: Likewise.
2609         * math/w_lgammal.c: Likewise.
2610         * math/w_lgammal_r.c: Likewise.
2611         * math/w_pow.c: Likewise.
2612         * math/w_powf.c: Likewise.
2613         * math/w_powl.c: Likewise.
2614         * math/w_remainder.c: Likewise.
2615         * math/w_remainderf.c: Likewise.
2616         * math/w_remainderl.c: Likewise.
2617         * math/w_scalb.c: Likewise.
2618         * math/w_scalbf.c: Likewise.
2619         * math/w_scalbl.c: Likewise.
2620         * math/w_scalbln.c: Likewise.
2621         * math/w_scalblnf.c: Likewise.
2622         * math/w_scalblnl.c: Likewise.
2623         * math/w_sinh.c: Likewise.
2624         * math/w_sinhf.c: Likewise.
2625         * math/w_sinhl.c: Likewise.
2626         * math/w_tgamma.c: Likewise.
2627         * math/w_tgammaf.c: Likewise.
2628         * math/w_tgammal.c: Likewise.
2629         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2630         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2631         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2632         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2633         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2635         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2636         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2637         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2638         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2639         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2640         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2641         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2642         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2643         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2644         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2646         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2647         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2648         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2650         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2652         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2653         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2654         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2655         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2656         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2657         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2658         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2659         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2660         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2661         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2662         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2663         * stdio-common/printf_fp.c: Likewise.
2664         * stdio-common/printf_fphex.c: Likewise.
2665         * stdio-common/printf_size.c: Likewise.
2667 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2669         [BZ #18470]
2670         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2671         strnlen.
2672         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2673         Remove variable.
2674         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2675         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2676         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2677         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2678         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2679         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2680         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2681         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2682         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2683         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2685         [BZ #18468]
2686         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2687         weak alias of __wmemchr.  Use libc_hidden_weak.
2688         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2689         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2690         instead of wmemchr.
2692 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2694         [BZ #18383]
2695         * elf/tst-tlsalign-extern.c: New file.
2696         * elf/tst-tlsalign-extern-static.c: New file.
2697         * elf/tst-tlsalign-vars.c: New file.
2698         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2699         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2700         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2701         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2702         (test-xfail-tst-tlsalign-extern-static): New variable.
2704 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2706         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2707         Use variable name _sc_err instead of err.
2708         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2709         instead of ret.
2710         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2711         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2712         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2713         (INLINE_SYSCALL): Likewise.
2715         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2716         * include/string.h (__strnlen): Use libc_hidden_proto.
2717         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2718         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2719         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2720         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2721         (libc_hidden_def): Undefine and redefine.
2722         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2723         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2724         __GI_strnlen.
2725         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2726         libc_hidden_def.
2727         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2729         [BZ #18469]
2730         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2731         weak alias of __towlower.  Use libc_hidden_weak.
2732         (towupper): Rename to __towupper and define as weak alias of
2733         __towupper.  Use libc_hidden_weak.
2734         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2735         (__towupper): Likewise.
2736         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2737         __towlower instead of towlower.
2739 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2741         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2742         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2744 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2746         * sysdeps/aarch64/libm-test-ulps: Update.
2748 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2750         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2751         Define.
2752         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2754         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2755         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2756         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2757         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2758         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2760 2015-06-01  Martin Sebor  <msebor@redhat.com>
2762         [BZ #18116]
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2764         (__setcontext): Use extended four-operand version of mtsf whenever
2765         possible.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2767         (__novec_swapcontext): Likewise.
2769 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2771         * benchtests/scripts/compare_bench.py: New file.
2772         * benchtests/scripts/import_bench.py (mean): New function.
2773         (split_list): Likewise.
2774         (do_for_all_timings): Likewise.
2775         (compress_timings): Likewise.
2777         * benchtests/scripts/import_bench.py: New file.
2778         * benchtests/scripts/validate_benchout.py: Import import_bench
2779         instead of jsonschema.
2780         (validate_bench): Remove function.
2781         (main): Use import_bench.
2783 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2785         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2786         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2788 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2792 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2794         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2795         set THREAD_SELF->tid to a magic value and futex-wake it.
2796         Pass its address to the thread_exit system call.
2797         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2798         bit is clear.
2799         * sysdeps/nacl/lowlevellock.h: New file.
2800         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2802         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2803         Add TIMEOUT to current time, don't subtract it.
2805 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2807         [BZ #18422]
2808         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2809         ($(objpfx)tst-audit2.out): Also depend on
2810         $(objpfx)tst-auditmod9b.so.
2811         * elf/tst-audit2.c: Include <dlfcn.h>.
2812         (calloc_called): New.
2813         (calloc): Allow to be called more than once.
2814         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2816 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2818         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2819         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2821 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2823         * stdlib/monetary.h: Fix comment.
2825 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2827         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2828         Avoid using variables in #defines that might cause shadowing.
2829         (INTERNAL_VSYSCALL_CALL): Likewise.
2831 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2833         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2835         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2836         * nptl/lll_timedlock_wait.c: ... to this new file.
2837         * nptl/Makefile (libpthread-routines): Add it.
2838         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2839         * nptl/lll_timedwait_tid.c: ... to this new file.
2840         * nptl/Makefile (libpthread-routines): Add it.
2841         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2842         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2843         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2844         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2845         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2846         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2847         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2848         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2849         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2850         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2852 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2854         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2855         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2856         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2858         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2860         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2862         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2863         * sysdeps/unix/sysv/linux/tile/sysdep.h
2864         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2865         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2866         using vDSO syscall macro.
2868 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2870         [BZ #17293]
2871         * uk_UA: Fix sorting order for Ukrainian locale
2873 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2875         * stdlib/monetary.h: Fix comment.
2877 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2879         [BZ #18234]
2880         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2881         st_mtim and st_ctim members.
2882         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2883         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2884         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2885         (struct stat64): Likewise.
2886         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2887         (struct stat64): Likewise.
2888         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2889         (struct stat64): Likewise.
2891 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2893         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2894         Define and include sysdep-vdso.h.
2895         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2896         Likewise.
2897         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2898         Likewise.
2899         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2900         Define with VDSO_SYMBOL and use PTR_MANGLE.
2901         (__vdso_clock_gettime): Likewise.
2902         (__vdso_clock_getres): Likewise.
2903         (_libc_vdso_platform_setup): Likewise.
2904         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2905         Likewise.
2906         (_libc_vdso_platform_setup): Likewise.
2907         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2908         Likewise.
2909         (__vdso_clock_gettime): Likewise.
2910         (__vdso_clock_getres): Likewise.
2911         (__vdso_get_tbfreq): Likewise.
2912         (__vdso_getcpu): Likewise.
2913         (__vdso_time): Likewise.
2914         (__vdso_sigtramp_rt64): Likewise.
2915         (__vdso_signtramp32): Likewise.
2916         (__vdso_sigtramp_rt32): Likewise.
2917         (_libc_vdso_platform_setup): Likewise.
2918         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2919         Likewise.
2920         (__vdso_clock_gettime): Likewise.
2921         (__vdso_clock_getres): Likewise.
2922         (_libc_vdso_platform_setup): Likewise.
2923         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2924         Likewise.
2925         (__vdso_clock_gettime): Likewise.
2926         (_libc_vdso_platform_setup): Likewise.
2927         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2928         Likewise.
2929         (__vdso_getcpu): Likewise.
2930         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2931         Use VDSO_SYMBOL macro to define.
2932         (__vdso_clock_gettime): Likewise.
2933         (__vdso_clock_getres): Likewise.
2934         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2935         Likewise.
2936         (__vdso_clock_gettime): Likewise.
2937         (__vdso_clock_getres): Likewise.
2938         (__vdso_get_tbfreq): Likewise.
2939         (__vdso_getcpu): Likewise.
2940         (__vdso_time): Likewise.
2941         (__vdso_sigtramp_rt64): Likewise.
2942         (__vdso_signtramp32): Likewise.
2943         (__vdso_sigtramp_rt32): Likewise.
2944         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2945         Likewise.
2946         (__vdso_clock_gettime): Likewise.
2947         (__vdso_clock_getres): Likewise.
2948         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2949         Likewise.
2950         (__vdso_clock_gettime): Likewise.
2951         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2952         Likewise.
2953         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2954         macro.
2955         (INTERNAL_VSYSCALL): Likewise.
2956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2957         Remove macro.
2958         (INTERNAL_VSYSCALL): Likewise.
2959         (INTERNAL_VSYSCALL_NCS): Likewise.
2960         (INTERNAL_VSYSCALL_CALL): New macro.
2961         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2963         Likewise.
2964         (INTERNAL_VSYSCALL): Likewise.
2965         (INTERNAL_VSYSCALL_NCS): Likewise.
2966         (INTERNAL_VSYSCALL_CALL): New macro.
2967         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2969         (INLINE_VSYSCALL): Remove macro.
2970         (INTERNAL_VSYSCALL): Remove macro.
2971         (INTERNAL_VSYSCALL_NCS): Remove macro.
2972         (INTERNAL_VSYSCALL_CALL): New macro.
2973         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2974         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2975         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2976         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2977         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2979         (INLINE_VSYSCALL): Remove macro.
2980         (INTERNAL_VSYSCALL): Likewise.
2981         (INTERNAL_VSYSCALL_NCS): Likewise.
2982         (INTERNAL_VSYSCALL_CALL): New macro.
2983         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2984         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2985         PTR_DEMANGLE on vDSO pointer.
2986         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2987         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2988         macro.
2989         (INTERNAL_SYSCALL): Likewise.
2990         (INTERNAL_VSYSCALL_NCS): Remove macro.
2991         (INTERNAL_VSYSCALL_CALL): New macro.
2992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2993         Remove macro.
2994         (INTERNAL_VSYSCALL): Likewise.
2995         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2996         sysdep-vdso.h instead of libc-vdso.h.
2997         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2998         definition.
2999         (INLINE_VSYSCALL): Likewise.
3000         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3001         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3002         definition.
3003         (INLINE_VSYSCALL): Likewise.
3004         (INTERNAL_VSYSCALL): Likewise.
3005         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3006         * sysdeps/unix/sysv/linux/timespec_get.c
3007         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3008         (timespec_get): Use ANSI prototype.
3009         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3010         and definition for Linux.
3012 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3014         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3015         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3017 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3019         [BZ #18410]
3020         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3021         for missing DT_PLTRELSZ.
3023 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3025         Remove obsolete aliases that broke 'locale -a'
3026         [BZ #18412]
3027         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3028         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3029         breaking some applications that use 'locale -a' output.
3030         Change the encoding of this file from Latin-1 to ASCII to avoid
3031         other potential problems with people grepping this file.
3033 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3035         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3036         -fasynchronous-unwind-tables.
3037         (CFLAGS-sendto.c): Likewise.
3038         (CFLAGS-sendmsg.c): Likewise.
3039         (CFLAGS-connect.c): Likewise.
3040         (CFLAGS-recvmsg.c): Likewise.
3041         (CFLAGS-recvfrom.c): Likewise.
3042         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3043         (SOCKETCALL): New macro: non-cancellable socketcall.
3044         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3045         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3046         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3047         * sysdeps/unix/sysv/linux/accept.c: New file.
3048         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3049         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3050         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3051         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3052         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3053         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3054         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3055         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3056         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3057         * sysdeps/unix/sysv/linux/send.c: Likewise.
3058         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3059         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3060         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3061         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3062         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3063         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3064         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3065         prototype.
3066         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3067         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3068         instead of __internal_xxx function.
3069         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3070         prototype.
3071         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3072         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3073         instead of __internal_xxx function.
3074         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3075         prototype.
3076         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3077         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3078         instead of __internal_xxx function.
3079         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3080         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3081         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3082         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3083         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3084         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3085         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3086         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3087         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3088         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3089         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3090         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3091         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3092         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3093         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3094         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3095         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3096         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3097         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3098         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3101         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3102         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3103         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3104         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3105         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3106         * sysdeps/unix/sysv/linux/send.S: Likewise.
3107         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3108         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3109         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3110         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3111         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3112         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3113         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3114         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3115         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3116         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3117         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3118         socketcall is implemented in GLIBC.
3120 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3122         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3123         (__fma): Ignore uninitialized warnings around packing.
3124         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3125         (__fmaf): Ignore uninitialized warnings around packing.
3126         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3127         (__fmal): Ignore uninitialized warnings around packing.
3129         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3130         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3131         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3132         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3134         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3135         switch statement into default case.
3136         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3138         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3139         a conditional in forcing "inexact".
3140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3141         Likewise.
3143 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3145         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3146         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3147         for each INTERNAL_SYSCALL use.
3149 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3151         [BZ #438]
3152         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3153         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3154         variable.
3156         [BZ #18444]
3157         * string/basename.c (basename): Rename to __basename and define as
3158         weak alias of __basename.  Use libc_hidden_weak.
3159         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3160         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3161         __basename instead of basename.
3162         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3163         Remove variable.
3164         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3166 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3168         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3169         (_IO_JUMPS_FILE_plus): New.
3170         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3171         _IO_CAST_FIELD_ACCESS.
3172         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3173         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3174         * libio/freopen.c (freopen): Likewise.
3175         * libio/freopen64.c (freopen64): Likewise.
3176         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3177         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3178         * libio/iofwide.c (_IO_fwide): Likewise.
3179         * libio/memstream.c (open_memstream): Likewise.
3180         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3181         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3182         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3184 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3186         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3187         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3188         NADJ.
3189         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3190         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3191         NADJ.
3192         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3193         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3194         NADJ.
3196         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3197         (p == 4) case.
3199         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3200         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3201         Remove variable.
3202         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3203         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3204         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3206 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3208         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3209         Adjust jump table label generation macros.
3211 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3213         * stdio-common/vfprintf.c (vfprintf): Move local variables
3214         args_malloced, specs, specs_malloced, and the code after
3215         do_positional to the printf_positional function.
3216         (printf_positional): New function.
3218 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3220         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3221         function.
3222         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3223         STEP4_TABLE, process_arg): Move macro definitions
3224         out of the vfprintf function.  (Cosmetic change only.)
3226 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3228         * benchtests/Makefile (stdio-common-bench): Define.
3229         (benchset): Add stdio-common-bench.
3230         * sprintf-inputs: New file.
3231         * sprintf-source.c: New file.
3233 2015-05-21  Andreas Schwab  <schwab@suse.de>
3235         [BZ #13028]
3236         [BZ #17053]
3237         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3238         of struct __res_state.
3239         * resolv/res_send.c (__libc_res_nsend): Likewise.
3240         (get_nsaddr): New function.
3241         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3242         statp directly.
3244 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3246         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3247         -D_POSIX_C_SOURCE=199506L.
3249         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3251         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3252         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3253         Do not mention otherwise.
3254         [POSIX] (_XOPEN_VERSION): Do not expect.
3255         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3256         [POSIX] (_POSIX2_C_BIND): Likewise.
3257         [POSIX] (_POSIX2_VERSION): Likewise.
3258         [POSIX] (_XOPEN_XPG2): Likewise.
3259         [POSIX] (_XOPEN_XPG3): Likewise.
3260         [POSIX] (_XOPEN_XPG4): Likewise.
3261         [POSIX] (_XOPEN_UNIX): Likewise.
3262         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3263         [POSIX] (_POSIX_BARRIERS): Likewise.
3264         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3265         [POSIX] (_POSIX_CPUTIME): Likewise.
3266         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3267         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3268         [POSIX] (_POSIX_SHELL): Likewise.
3269         [POSIX] (_POSIX_SPAWN): Likewise.
3270         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3271         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3272         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3273         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3274         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3275         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3276         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3277         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3278         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3279         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3280         [POSIX] (_POSIX2_PBS): Likewise.
3281         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3282         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3283         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3284         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3285         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3286         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3287         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3288         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3289         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3290         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3291         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3292         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3293         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3294         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3295         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3296         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3297         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3298         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3299         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3300         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3301         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3302         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3303         [POSIX] (_SC_2_C_BIND): Likewise.
3304         [POSIX] (_SC_2_C_VERSION): Likewise.
3305         [POSIX] (_SC_2_PBS): Likewise.
3306         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3307         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3308         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3309         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3310         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3311         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3312         [POSIX] (_SC_BARRIERS): Likewise.
3313         [POSIX] (_SC_BASE): Likewise.
3314         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3315         [POSIX] (_SC_DEVICE_IO): Likewise.
3316         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3317         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3318         [POSIX] (_SC_FD_MGMT): Likewise.
3319         [POSIX] (_SC_FIFO): Likewise.
3320         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3321         [POSIX] (_SC_FILE_LOCKING): Likewise.
3322         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3323         [POSIX] (_SC_IOV_MAX): Likewise.
3324         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3325         [POSIX] (_SC_NETWORKING): Likewise.
3326         [POSIX] (_SC_PAGE_SIZE): Likewise.
3327         [POSIX] (_SC_PASS_MAX): Likewise.
3328         [POSIX] (_SC_PIPE): Likewise.
3329         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3330         [POSIX] (_SC_REGEXP): Likewise.
3331         [POSIX] (_SC_SHELL): Likewise.
3332         [POSIX] (_SC_SIGNALS): Likewise.
3333         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3334         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3335         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3336         [POSIX] (_SC_USER_GROUPS): Likewise.
3337         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3338         [POSIX] (_SC_STREAMS): Likewise.
3339         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3340         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3341         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3342         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3343         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3344         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3345         [POSIX] (_PC_FILESIZEBITS): Likewise.
3346         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3347         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3348         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3349         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3350         [POSIX] (uid_t): Likewise.
3351         [POSIX] (gid_t): Likewise.
3352         [POSIX] (off_t): Likewise.
3353         [POSIX] (pid_t): Likewise.
3354         [POSIX] (cuserid): Allow.
3355         (_SC_2_CHAR_TERM): Require constant.
3356         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3357         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3358         variable.
3360 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3362         * sysdeps/nacl/pthread-pids.h: New file.
3363         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3364         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3366         * nptl/pthread-pids.h: New file.
3367         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3368         * nptl/nptl-init.c: Include <pthread-pids.h>.
3369         (__pthread_initialize_minimal_internal):
3370         Call __pthread_initialize_pids instead of set_tid_address syscall.
3372         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3373         * sysdeps/posix/usleep.c: ... here.
3375 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3377         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3378         call_pselect6 object.
3379         [$(subdir) = io]: Remove call_sync_file_range object.
3380         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3381         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3382         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3383         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3385 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3387         * math/s_cproj.c: Add include "math_private.h".
3388         * math/s_cprojf.c: Likewise.
3389         * math/s_cprojl.c: Likewise.
3391 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3393         [BZ #18244]
3394         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3395         high mantissa bit when testing whether P is a NaN.
3396         * math/libm-test.inc (remainder_test_data): Add more tests.
3397         (remquo_test_data): Likewise.
3399         [BZ #18049]
3400         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3401         below -32, return the argument, with underflow if subnormal.
3402         * math/auto-libm-test-in: Add more tests of atanh.
3403         * math/auto-libm-test-out: Regenerated.
3405 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3407         [BZ #18434]
3408         * nptl/tst-sem15.c: New file.
3409         * nptl/Makefile (tests): Add it.
3410         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3411         s/<</>>/ to fix typo in EOVERFLOW check.
3412         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3414 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3416         * manual/strings.texi (envz_remove): Fix typo in safety
3417         annotations.
3419 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3420             Steve Ellcey  <sellcey@imgtec.com>
3422         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3423         in order to avoid strict alias warnings.
3424         (iruserok_af): Ditto for ra.
3426 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3428         [BZ #17581]
3429         * malloc/hooks.c
3430         (magicbyte): Convert to a function and avoid returning 0x01.
3431         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3432         (mem2chunk_check): Fix unsigned comparisons to zero.
3433         Hoist defs of sz and magic.
3435 2015-05-19  Richard Henderson  <rth@redhat.com>
3437         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3439         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3441 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3443         [BZ #16159]
3444         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3445         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3446         (reused_arena): Find a non-corrupt arena.
3447         (heap_trim): Pass arena to unlink.
3448         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3449         malloc_printerr.
3450         (top_check): Likewise.
3451         (free_check): Likewise.
3452         (realloc_check): Likewise.
3453         * malloc/malloc.c (malloc_printerr): Add arena argument.
3454         (unlink): Likewise.
3455         (munmap_chunk): Adjust.
3456         (ARENA_CORRUPTION_BIT): New macro.
3457         (arena_is_corrupt): Likewise.
3458         (set_arena_corrupt): Likewise.
3459         (sysmalloc): Use mmap if there are no usable arenas.
3460         (_int_malloc): Likewise.
3461         (__libc_malloc): Don't fail if arena_get returns NULL.
3462         (_mid_memalign): Likewise.
3463         (__libc_calloc): Likewise.
3464         (__libc_realloc): Adjust for additional argument to
3465         malloc_printerr.
3466         (_int_free): Likewise.
3467         (malloc_consolidate): Likewise.
3468         (_int_realloc): Likewise.
3469         (_int_memalign): Don't touch corrupt arenas.
3470         * malloc/tst-malloc-backtrace.c: New test case.
3472         * Makefile (summarize-tests): Fix return value on success.
3474         * manual/string.texi (Envz Functions): Add envz_remove.
3476 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3478         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3479         (invalid_name): New function, broken out of ...
3480         (__opendirat): ... here.  Call it.
3481         (need_isdir_precheck): New function, broken out of ...
3482         (__opendirat): ... here.  Call it.
3483         Use __fxstatat64, not __xstatat64.
3484         (opendir_oflags): New function, broken out of ...
3485         (__opendirat): ... here.  Call it.
3486         (opendir_tail): New function, broken out of ...
3487         (__opendirat): ... here.  Call it.
3488         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3489         opendir_tail, rather than punting to __opendirat.
3490         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3492 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3494         * .gitignore: Ignore generated *.pyc.
3496 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3498         * include/stdio.h: Define __need_wint_t.
3499         * test-skeleton.c: Avoid `for' loop initial declaration.
3500         * nptl/tst-initializers1.c: Use test-skeleton.c.
3502 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3504         [BZ #18418]
3505         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3507 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3509         [BZ #16352]
3510         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3511         (__ieee754_atanh): Force underflow exception for results with
3512         small absolute value.
3513         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3514         (__ieee754_atanhf): Force underflow exception for results with
3515         small absolute value.
3516         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3517         (__ieee754_atanh): Force underflow exception for results with
3518         small absolute value.
3519         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3520         (__ieee754_atanhf): Force underflow exception for results with
3521         small absolute value.
3522         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3523         (__ieee754_atanhl): Force underflow exception for results with
3524         small absolute value.
3525         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3526         (__ieee754_atanhl): Force underflow exception for results with
3527         small absolute value.
3528         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3529         (__ieee754_atanhl): Force underflow exception for results with
3530         small absolute value.
3531         * math/auto-libm-test-in: Do not allow missing underflow
3532         exceptions from atanh.
3533         * math/auto-libm-test-out: Regenerated.
3535         [BZ #18221]
3536         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3537         2**-28 as threshold for returning x or +/- 1/x.
3538         * math/auto-libm-test-in: Add more tests of tan.
3539         * math/auto-libm-test-out: Regenerated.
3541         [BZ #18220]
3542         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3543         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3544         * math/auto-libm-test-in: Add another test of lgamma.
3545         * math/auto-libm-test-out: Regenerated.
3547 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3549         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3550         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3551         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3552         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3553         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3554         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3555         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3556         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3558         (log1): Use fabs.  (my_log2): Use fabs.
3559         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3560         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3561         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3562         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3564         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3565         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3566         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3567         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3568         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3569         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3571 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3573         [BZ #18217]
3574         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3575         as threshold for returning 1 - x.
3576         * math/auto-libm-test-in: Add more tests of erfc.
3577         * math/auto-libm-test-out: Regenerated.
3579 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3581         [BZ #18196]
3582         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3583         threshold for large arguments.
3584         * math/auto-libm-test-in: Add another test of atan.
3585         * math/auto-libm-test-out: Regenerated.
3587         [BZ #16339]
3588         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3589         (__log1p): Force underflow exception for results with small
3590         absolute value.
3591         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3592         (__log1pf): Force underflow exception for results with small
3593         absolute value.
3594         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3595         (__log1p): Force underflow exception for results with small
3596         absolute value.
3597         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3598         (__log1pf): Force underflow exception for results with small
3599         absolute value.
3600         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3601         (__log1pl): Force underflow exception for results with small
3602         absolute value.
3603         * math/auto-libm-test-in: Do not allow missing underflow
3604         exceptions from log1p.
3605         * math/auto-libm-test-out: Regenerated.
3607 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3608             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3610         [BZ #16704]
3611         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3613 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3615         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3616         (libmvec): New variable.
3617         * configure.ac: Added option for mathvec build.
3618         * configure: Regenerated.
3619         * mathvec/Depend: New file.
3620         * mathvec/Makefile: New file.
3621         * shlib-versions: Added libmvec.
3622         * math/Makefile: Added rule for libm.so installation.
3624         * bits/math-vector.h: New file.
3625         * bits/libm-simd-decl-stubs.h: New header.
3626         * math/Makefile (headers): Added new header
3627         libm-simd-decl-stubs.h.
3628         * math/math.h (__MATHCALL_VEC): New macro.
3630         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3631         for conditions in testing functions.
3632         * math/Makefile: Added call of libm-have-vector-test.sh.
3633         * math/libm-test.inc (HAVE_VECTOR): New macros.
3635         * math/libm-test.inc: START refactored.
3636         * math/test-double.c (TEST_MATHVEC): Add define.
3637         * math/test-float.c: Likewise.
3638         * math/test-idouble.c: Likewise.
3639         * math/test-ifloat.c: Likewise.
3640         * math/test-ildoubl.c: Likewise.
3641         * math/test-ldouble.c: Likewise.
3642         * sysdeps/generic/math-tests-arch.h
3643         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3644         architecture check.
3646         * math/test-double.c (FUNC_TEST): New macro.
3647         * math/test-float.c: Likewise.
3648         * math/test-idouble.c: Likewise.
3649         * math/test-ifloat.c: Likewise.
3650         * math/test-ildoubl.c: Likewise.
3651         * math/test-ldouble.c: Likewise.
3652         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3654 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3656         * sysdeps/nacl/fdopendir.c: New file.
3658         * dirent/scandir-tail.c: New file.
3659         * dirent/scandir64-tail.c: New file.
3660         * dirent/Makefile (routines): Add them.
3661         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3662         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3663         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3664         [!SCANDIR] (SCANDIR_TAIL): New macro.
3665         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3666         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3667         (SCANDIRAT): Macro removed.
3668         (SCANDIR_TAIL): New macro.
3669         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3670         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3671         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3672         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3673         (READDIR): Macro removed.
3674         (SCANDIR_TAIL): New macro.
3675         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3676         (SCANDIR_TAIL): New macro.
3678         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3679         * dirent/scandir-cancel.c: ... to this new file.
3680         * dirent/Makefile (routines): Add it.
3681         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3682         * sysdeps/unix/sysv/linux/i386/scandir64.c
3683         (SKIP_SCANDIR_CANCEL): Macro removed.
3684         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3686         * dirent/tst-scandir.c: New file.
3687         * dirent/tst-scandir64.c: New file.
3688         * dirent/Makefile (tests): Add them.
3690 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3692         [BZ #18409]
3693         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3695 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3697         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3698         list.
3700 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3702         * benchtests/bench-strcoll.c: New benchmark.
3703         * benchtests/Makefile: Generate locales and run benchmark.
3704         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3705         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3706         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3707         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3708         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3709         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3710         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3711         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3712         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3713         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3714         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3715         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3716         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3717         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3718         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3719         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3720         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3721         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3722         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3723         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3724         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3725         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3726         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3727         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3729 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3731         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3732         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3734 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3736         * posix/uname-values.h: New file.
3737         * posix/uname.c: Include that instead of <config-name.h>.
3738         * sysdeps/nacl/uname-values.h: New file.
3739         * sysdeps/arm/nacl/uname-values.h: New file.
3741 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3743         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3744         splitting into fields.
3746 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3748         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3749         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3750         * locale/localeinfo.h: Add enum collation_encoding_type.
3751         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3752         * programs/ld-collate.c (collate_output): Add encoding type info.
3753         * string/strcoll_l.c (STRDIFF): New function.
3754         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3755         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3757 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3759         [BZ #18397]
3760         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3761         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3762         <fpu_control.h> instead of <math/fpu_control.c>.
3763         * sysdeps/mips/mips32/fpu/Makefile: New file.
3765 2015-05-11  Andreas Schwab  <schwab@suse.de>
3767         [BZ #18007]
3768         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3769         nss_endgrent.
3770         (_nss_compat_endgrent): Call nss_endgrent.
3771         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3772         nss_endpwent.
3773         (_nss_compat_endpwent): Call nss_endpwent.
3774         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3775         needent, call nss_setspent only if non-zero.
3776         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3777         (internal_endspent): Don't call nss_endspent.
3778         (_nss_compat_endspent): Call nss_endspent.
3779         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3780         Remove.  All uses removed.
3781         (internal_setent): Remove parameter stayopen, add parameter
3782         stream.  Use it instead of global variable.
3783         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3784         (internal_endent, internal_getent): Add parameter stream.  Use it
3785         instead of global variable.
3786         (CONCAT(_nss_files_end,ENTNAME))
3787         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3788         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3789         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3790         uses removed.
3791         (internal_setent, internal_endent): Add parameter stream.  Use it
3792         instead of global variable.
3793         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3794         stream.
3795         (get_next_alias): Add parameter stream.
3796         (_nss_files_getaliasent_r): Pass global stream.
3797         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3798         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3799         (_nss_files_gethostbyname4_r): Pass local stream to
3800         internal_setent, internal_getent and internal_endent.  Remove
3801         locking.
3803 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3805         * tst-strfmon1.c (tests): Update expected currency symbol.
3807 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3809         * sysdeps/nacl/gethostname.c: New file.
3811 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3813         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3814         and sinh.
3815         * math/auto-libm-test-out: Regenerated.
3816         * sysdeps/i386/fpu/libm-test-ulps: Update.
3817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3819 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3821         [BZ #18125]
3822         * stdlib/tst-setcontext3.c: New file.
3823         * stdlib/tst-setcontext3.sh: New file.
3824         * stdlib/Makefile (tests): Add tst-setcontext3.
3825         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3826         to verify test program created output file.
3827         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3828         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3829         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3830         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3832 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3834         [BZ #18383]
3835         * elf/tst-tlsalign.c: New file.
3836         * elf/tst-tlsalign-static.c: New file.
3837         * elf/tst-tlsalign-lib.c: New file.
3838         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3839         (tests-static): Add tst-tlsalign-static.
3840         (modules-names): Add tst-tlsalign-lib.
3841         (test-xfail-tst-tlsalign): New variable.
3842         (test-xfail-tst-tlsalign-static): New variable.
3844         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3845         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3847 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3849         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3850         csqrt, erfc, sin and sincos.
3851         * math/auto-libm-test-out: Regenerated.
3852         * sysdeps/i386/fpu/libm-test-ulps: Update.
3853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3855 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3857         * sysdeps/aarch64/libm-test-ulps: Update.
3859 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3861         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3862         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3863         * math/auto-libm-test-out: Regenerated.
3864         * sysdeps/i386/fpu/libm-test-ulps: Update.
3865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3867 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3869         [BZ #18265]
3870         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3871         (wcsncpy): Likewise.
3873 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3875         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3876         Assume __ASSUME_FALLOCATE is always true.
3877         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3878         (__posix_fallocate64_l64): Likweise.
3879         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3880         (posix_fallocate): Likewise.
3881         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3882         (__posix_fallocate64_l64): Likewise.
3883         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3884         [!__ASSUME_FALLOCATE]: Add comment.
3886 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3888         * sysdeps/unix/sysv/linux/i386/Makefile
3889         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3890         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3891         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3892         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3893         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3894         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3895         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3897 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3899         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3900         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3901         tgamma.
3902         * math/auto-libm-test-out: Regenerated.
3903         * sysdeps/i386/fpu/libm-test-ulps: Update.
3904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3908         * math/auto-libm-test-in: Add more tests of tgamma.
3909         * math/auto-libm-test-out: Regenerated.
3910         * sysdeps/i386/fpu/libm-test-ulps: Update.
3911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913         * math/auto-libm-test-in: Add more tests of tanh.
3914         * math/auto-libm-test-out: Regenerated.
3915         * sysdeps/i386/fpu/libm-test-ulps: Update.
3916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918         * math/auto-libm-test-in: Add more tests of tan.
3919         * math/auto-libm-test-out: Regenerated.
3920         * sysdeps/i386/fpu/libm-test-ulps: Update.
3921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3923         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3924         * math/auto-libm-test-out: Regenerated.
3925         * sysdeps/i386/fpu/libm-test-ulps: Update.
3926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928         * math/auto-libm-test-in: Add another test of pow.
3929         * math/auto-libm-test-out: Regenerated.
3930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3932         * math/auto-libm-test-in: Add more tests of lgamma.
3933         * math/auto-libm-test-out: Regenerated.
3934         * sysdeps/i386/fpu/libm-test-ulps: Update.
3935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3937         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3938         log1p.
3939         * math/auto-libm-test-out: Regenerated.
3940         * sysdeps/i386/fpu/libm-test-ulps: Update.
3941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3943 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3945         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3946         Elf64_Chdr structs and ELFCOMPRESS constants.
3948 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3950         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3951         expm1.
3952         * math/auto-libm-test-out: Regenerated.
3953         * sysdeps/i386/fpu/libm-test-ulps: Update.
3954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3956         * math/auto-libm-test-in: Add more tests of erf and erfc.
3957         * math/auto-libm-test-out: Regenerated.
3958         * sysdeps/i386/fpu/libm-test-ulps: Update.
3959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3963         * config.h.in (HAVE_AARCH64_BE): Add.
3965 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3967         * math/auto-libm-test-in: Add more tests of csqrt.
3968         * math/auto-libm-test-out: Regenerated.
3969         * sysdeps/i386/fpu/libm-test-ulps: Update.
3970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3972         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3973         * math/auto-libm-test-out: Regenerated.
3974         * sysdeps/i386/fpu/libm-test-ulps: Update.
3975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3977         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3979 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3981         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3982         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3984         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3985         (euidaccess, eaccess): Define as weak aliases.
3987         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3988         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3989         but __suseconds_t is often 'long int' so some sources assume that
3990         type is being used (e.g. they use %ld to print tv_usec).
3992 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3994         [BZ #18007]
3995         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3996         (CVE-2014-8121)
3997         * nss/tst-nss-getpwent.c: New file.
3998         * nss/Makefile (tests): Add new test.
4000 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4002         [BZ #18346]
4003         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4004         exponents less than 48 as cases where high part of mantissa needs
4005         examining to determine whether argument is integral.
4006         * math/libm-test.inc (round_test_data): Add more tests.
4008 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4010         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4012 2015-04-27  David S. Miller  <davem@davemloft.net>
4014         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4015         __tls_get_addr.
4016         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4018 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4020         [BZ#18333]
4021         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4023 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4025         [BZ#18333]
4026         * time/tzset.c (parse_tzname): Return error on memory allocation
4027         failure.
4028         * test-skeleton.c (struct temp_name_list): Change type of name
4029         member to non-const.
4030         (add_temp_file): Create a copy of the file name.
4031         (delete_temp_files): Deallocate memory.
4032         (create_temp_file): Add comment.
4034 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4036         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4037         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4039 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4041         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4042         * sysdeps/arm/configure: Regenerated.
4044 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4046         [BZ #17715]
4047         * time/tzfile.c (__tzfile_read): Check for large values of
4048         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4049         * time/tzset.c (__tzstring_len): New function, based on the old
4050         __tzstring function.
4051         (__tzstring): Call __tzstring_len.
4052         (parse_tzname): New helper function extracted from
4053         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4054         the input string.
4055         (parse_offset): New helper function extracted from
4056         __tzset_parse_tz.  Replace switch with fallthrough with
4057         initialization before sscanf.
4058         (parse_rule): Likewise.
4059         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4060         new-style function definition.
4061         * timezone/Makefile (tests): Add tst-tzset.
4062         (tst-tzset.out): Dependencies on time zone files.
4063         (tst-tzset-ENV): Set TZDIR.
4064         (testdata/XT%): Copy crafted time zone files.
4065         * timezone/README: Mention crafted time zone files.
4066         * timezone/testdata/XT1, timezone/testdata/XT2,
4067         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4068         files.
4069         * timezone/tst-tzset.c: New test.
4071 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4073         * Makeconfig (+gccwarn): Remove -Winline.
4075 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4077         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4079 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4081         * NEWS: Mention sysconf() cache information support for s390.
4082         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4084 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4086         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4087         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4088         (__nearbyint): Likewise.
4089         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4090         (copysignl): Likewise.
4092 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4094         [BZ #18287]
4095         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4096         based on padding.  (CVE-2015-1781)
4098 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4100         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4101         libc-vdso.h.
4102         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4103         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4104         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4105         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4106         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4107         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4108         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4109         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4110         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4111         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4112         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4113         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4114         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4115         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4116         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4117         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4118         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4120         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4121         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4122         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4123         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4124         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4126 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4128         * stdlib/setenv.c (__add_to_environ):
4129         Dump core quickly if setenv (..., NULL, ...) is called.
4130         This time, do it the right way, and pacify GCC with a pragma.
4132 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4134         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4135         IMAP->l_prev cannot be null, and #if out the code for the contrary
4136         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4137         believe that NS (&_dl_ns[NSID]) could point outside the array.
4139         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4140         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4141         before using NSID as an index.
4143 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4145         [BZ #17825]
4146         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4147         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4148         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4150 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4152         Add preliminary port to Google Native Client on ARM.
4153         * abi-tags (.*-.*-nacl.*): New entry.
4154         * sysdeps/arm/nacl: New directory.
4155         * sysdeps/nacl: New directory.
4157 2015-04-16  David S. Miller  <davem@davemloft.net>
4159         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4160         lowlevellock-futex.h
4162 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4164         * sysdeps/tile/configure.ac: New file.
4165         * sysdeps/tile/configure: Regenerated.
4167 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4169         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4170         conditionals for weak_alias and libc_hidden_weak.
4171         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4172         libc_hidden_weak and weak_alias.
4173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4174         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4175         and weak_alias for static one.
4177 2015-04-15  David S. Miller  <davem@davemloft.net>
4179         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4181 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4183         [BZ #18206]
4184         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4185           Use signed comparision instead of substraction to avoid
4186           overflow bug.
4187         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4188           Take the sign of ret.
4189         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4190           Do not expect precise return values. Only the sign matters.
4191         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4192         * wcsmbs/test-wcsncmp.c: New File.
4193         * string/test-strncmp.c: Add wcsncmp support.
4195 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4197         [BZ #6792]
4198         * math/w_log1p.c: New file.
4199         * math/w_log1pf.c: Likewise.
4200         * math/w_log1pl.c: Likewise.
4201         * math/Makefile (libm-calls): Add w_log1p.
4202         * math/s_log1pl.c (log1pl): Remove weak_alias.
4203         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4204         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4205         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4206         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4207         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4208         [NO_LONG_DOUBLE] (log1pl): Likewise.
4209         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4210         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4211         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4212         (log1p): Remove long_double_symbol.
4213         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4214         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4215         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4216         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4217         remove weak_alias for corresponding log1p function.
4218         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4219         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4220         * sysdeps/ia64/fpu/w_log1p.c: New file.
4221         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4222         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4223         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4225 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4227         [BZ #18247]
4228         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4229         decimal exponent by 1.
4230         * stdlib/tst-strtod-round-data: Add more tests.
4231         * stdlib/tst-strtod-round.c (tests): Regenerated.
4233 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4235         * math/auto-libm-test-in: Add more tests of clog and clog10.
4236         * math/auto-libm-test-out: Regenerated.
4237         * sysdeps/i386/fpu/libm-test-ulps: Update.
4238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4240 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4242         * Makeconfig (module-cppflags): Exclude all .v.i files.
4243         (skip-module-cppflags): Variable removed.
4245         * configure.ac (libc_config_ok): Initialize before reading
4246         preconfigure scripts, not after.
4247         * configure: Regenerated.
4249         * test-skeleton.c (TIMEOUT): Move #define to top level.
4250         (main): Grok environment variable TEST_DIRECT.  If set, print
4251         test expectation details into that file and then behave as if
4252         given --direct.
4254 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4256         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4257         warning on 32-bit.
4259 2015-04-08  David S. Miller  <davem@davemloft.net>
4261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4263 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4265         * math/auto-libm-test-in: Add more tests of atanh.
4266         * math/auto-libm-test-out: Regenerated.
4267         * sysdeps/i386/fpu/libm-test-ulps: Update.
4268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270         * math/auto-libm-test-in: Add more tests of atan.
4271         * math/auto-libm-test-out: Regenerated.
4272         * sysdeps/i386/fpu/libm-test-ulps: Update.
4273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4277         * elf/pldd.c (main): Rewrite to use struct
4278         scratch_buffer instead of extend_alloca.
4279         * elf/pldd-xx.c (find_maps): Likewise.
4280         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4281         <alloca.h>.
4282         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4283         scratch_buffer instead of extend_alloca.
4284         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4285         grp/compat-initgroups.c.
4286         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4287         Rewrite to use struct scratch_buffer instead of extend_alloca.
4288         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4289         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4291 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4293         * math/auto-libm-test-in: Add more tests of cbrt.
4294         * math/auto-libm-test-out: Regenerated.
4295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4297         * math/auto-libm-test-in: Add more tests of cabs.
4298         * math/auto-libm-test-out: Regenerated.
4299         * sysdeps/i386/fpu/libm-test-ulps: Update.
4300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302         [BZ #18210]
4303         [BZ #18211]
4304         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4305         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4306         computations.
4307         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4308         clog10.
4309         * math/auto-libm-test-out: Regenerated.
4310         * sysdeps/i386/fpu/libm-test-ulps: Update.
4311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4313         [BZ #18197]
4314         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4315         (atan): Set FE_TONEAREST mode for internal computations.
4316         * math/auto-libm-test-in: Add more tests of atan.
4317         * math/auto-libm-test-out: Regenerated.
4319 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4321         [BZ #17930]
4322         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4324 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4326         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4328 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4330         * include/scratch_buffer.h: New file.
4331         * malloc/scratch_buffer_grow.c: Likewise.
4332         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4333         * malloc/scratch_buffer_set_array_size.c: Likewise.
4334         * malloc/tst-scratch_buffer.c: Likewise.
4335         * malloc/Makefile (routines): Add scratch_buffer_grow.
4336         (tests): Add test case.
4337         * malloc/Versions (GLIBC_PRIVATE): Export
4338         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4339         __libc_scratch_buffer_set_array_size.
4341 2015-04-06  Richard Henderson  <rth@redhat.com>
4343         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4344         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4346         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4347         unsigned int before printing.
4349 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4351         [BZ #17596]
4352         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4353         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4355 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4357         * include/libc-internal.h (libc_max_align_t): Define.
4359 2015-04-02  Andreas Schwab  <schwab@suse.de>
4361         [BZ #16850]
4362         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4364 2015-04-02  Mel Gorman  <mgorman@suse.de>
4366         [BZ #17195]
4367         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4368         as well as the main arena.
4370 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4372         [BZ #18185]
4373         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4374         sharing L2 cache to 2 for Silvermont/Knights Landing.
4376 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4378         [BZ #17711]
4379         * config.make.in (have-protected-data): New.
4380         * configure.ac: Check linker support for protected data symbol.
4381         * configure: Regenerated.
4382         * elf/Makefile (modules-names): Add tst-protected1moda and
4383         tst-protected1modb if $(have-protected-data) is yes.
4384         (tests): Add tst-protected1a and tst-protected1b if
4385         $(have-protected-data) is yes.
4386         ($(objpfx)tst-protected1a): New.
4387         ($(objpfx)tst-protected1b): Likewise.
4388         (tst-protected1modb.so-no-z-defs): Likewise.
4389         * elf/tst-protected1a.c: New file.
4390         * elf/tst-protected1b.c: Likewise.
4391         * elf/tst-protected1mod.h: Likewise.
4392         * elf/tst-protected1moda.c: Likewise.
4393         * elf/tst-protected1modb.c: Likewise.
4395 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4397         [BZ #17711]
4398         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4399         indicates it is called from do_lookup_x on relocation against
4400         protected data, skip the data definion in the executable from
4401         copy reloc.
4402         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4403         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4404         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4405         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4406         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4407         otherwise to 0.
4408         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4409         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4410         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4411         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4412         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4413         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4415 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4417         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4418         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4420 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4422         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4423         THREAD_SETMEM_NC.
4424         * sysdeps/x86_64/nptl/tls.h: Ditto.
4426 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4428         * dlfcn/tststatic.c (main): Converted to ...
4429         (do_test): ... this.
4430         (TEST_FUNCTION): New macro.
4431         Include test-skeleton.c.
4433 2015-03-26  Alan Modra  <amodra@gmail.com>
4435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4436         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4437         zero for undefined weak.
4438         (elf_machine_plt_conflict): Similarly.
4440 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4442         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4443         atanh.
4444         * math/auto-libm-test-out: Regenerated.
4445         * sysdeps/i386/fpu/libm-test-ulps: Update.
4446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4448         * math/auto-libm-test-in: Add another test of asin.
4449         * math/auto-libm-test-out: Regenerated.
4450         * sysdeps/i386/fpu/libm-test-ulps: Update.
4451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4453         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4454         Remove macro.
4455         (LLL_EBX_REG): Likewise.
4456         (LLL_ENTER_KERNEL): Likewise.
4458         * math/auto-libm-test-in: Add more tests of asin.
4459         * math/auto-libm-test-out: Regenerated.
4460         * sysdeps/i386/fpu/libm-test-ulps: Update.
4461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4463         [BZ #18138]
4464         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4465         libc_do_syscall_args): New structure.
4466         (INTERNAL_SYSCALL_MAIN_0): New macro.
4467         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4468         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4469         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4470         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4471         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4472         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4473         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4474         Replace conditional definitions by conditional definitions of ....
4475         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4476         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4477         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4478         (libpthread-sysdep_routines): Add libc-do-syscall.
4479         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4480         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4481         to __NR_futex not 240.
4483 2015-03-25  Alan Modra  <amodra@gmail.com>
4485         * NEWS: Advertise TLS optimization.
4486         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4487         (DT_PPC_NUM): Increment.
4488         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4489         (CHECK_STATIC_TLS): Use here.
4490         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4491         TLS descriptors.
4492         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4493         * sysdeps/powerpc/dl-tls.c: New file.
4494         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4495         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4496         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4497         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4502 2015-03-25  Alan Modra  <amodra@gmail.com>
4504         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4505         for overlapping .opd entries" to "support...".
4506         * sysdeps/powerpc/powerpc64/configure: Regenerate
4508 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4510         * math/auto-libm-test-in: Add more tests of acos.
4511         * math/auto-libm-test-out: Regenerated.
4512         * sysdeps/i386/fpu/libm-test-ulps: Update.
4513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4515         * math/auto-libm-test-in: Add more tests of expm1.
4516         * math/auto-libm-test-out: Regenerated.
4517         * sysdeps/i386/fpu/libm-test-ulps: Update.
4518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4520 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4522         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4523         * math/auto-libm-test-out: Regenerated.
4524         * sysdeps/i386/fpu/libm-test-ulps: Update.
4525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4527         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4530         * math/auto-libm-test-in: Add more tests of log2.
4531         * math/auto-libm-test-out: Regenerated.
4532         * sysdeps/i386/fpu/libm-test-ulps: Update.
4533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4535 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4537         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4538         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4539         _IO_IS_APPENDING bit in READ_WRITE instead.
4541 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4543         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4544         (__determine_cpumask_size): Replace extend_alloca with a
4545         variable-length array.  Do not treat res == 0 as an error.
4547 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4549         [BZ #18100]
4550         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4551         and integer overflow.
4552         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4553         (main): Add integer overflow tests.
4554         * manual/pattern.texi (Calling Wordexp): Document additional use
4555         for WRDE_SYNTAX.
4557 2015-03-23  Alan Modra  <amodra@gmail.com>
4559         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4560         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4561         and false branch of conditional.
4562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4563         Likewise.
4565 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4567         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4568         libc-modules.h
4569         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4570         unused declaration of _hurd_intr_rpc_msg_in_trap.
4571         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4572         defined instead of whether it is non-zero.
4573         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4574         input constraint instead of both input and output constraint.  Use ecx
4575         clobber instead of %ecx.
4576         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4577         mutex_unlock): Use a statement expression instead of an expression list.
4578         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4579         type to vm_size_t instead of vm_address_t.
4580         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4581         defined instead of whether it is non-zero.
4582         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4583         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4584         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4585         comparisons with mapaddr.
4586         * nscd/nscd-client.h: Include <time.h>.
4587         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4588         9th parameter to __vm_region instead of int.
4589         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4590         * scripts/check-local-headers.sh (exclude): Add device/,
4591         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4592         cthreads.h.
4594 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4596         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4597         to account for alignment padding.
4598         * sysdeps/arm/memmove.S: Likewise.
4600 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4602         * sysdeps/unix/sysv/linux/generic/README: New file.
4604 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4606         [BZ #18138]
4607         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4608         (futex_abstimed_wait)
4609         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4610         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4611         of lll_futex_timed_wait.
4613 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4615         [BZ #17542]
4616         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4618 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4620         [BZ #17090]
4621         [BZ #17620]
4622         [BZ #17621]
4623         [BZ #17628]
4624         * NEWS: Update.
4625         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4626         entries with Static TLS too.  Skip entries past the end of the
4627         allocated DTV, from Alan Modra.
4628         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4629         Static TLS DTV entry set up from...
4630         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4631         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4632         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4633         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4634         for Static TLS.
4635         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4636         that the slot we find is associated with the given map before
4637         using its generation count.
4638         * nptl_db/db_info.c: Include ldsodefs.h.
4639         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4640         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4641         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4642         (link_map::l_tls_offset): New struct field.
4643         (dtv_t::counter): Likewise.
4644         (rtld_global): New struct.
4645         (_rtld_global): New rtld variable.
4646         (dl_tls_dtv_slotinfo_list): New rtld global field.
4647         (dtv_slotinfo_list): New struct.
4648         (dtv_slotinfo): Likewise.
4649         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4650         (td_lookup): Rename to...
4651         (td_mod_lookup): ... this.  Use new mod parameter instead of
4652         LIBPTHREAD_SO.
4653         * nptl_db/td_thr_tlsbase.c: Include link.h.
4654         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4655         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4656         addresses even if the DTV is out of date or missing them.
4657         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4658         index zero-length arrays.
4659         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4660         (td_lookup): Make it a macro implemented in terms of...
4661         (td_mod_lookup): ... this declaration.
4662         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4663         (DB_MAIN_VARIABLE): Likewise.
4665 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4667         [BZ #18134]
4668         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4670 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4672         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4674 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4676         [BZ #18128]
4677         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4678         (atomic_add, atomic_increment_and_test)
4679         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4681 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4683         * stdlib/setenv.c (__add_to_environ):
4684         Dump core quickly if setenv (..., NULL, ...) is called.
4686 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4688         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4689         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4690         all the necessary asm magic in one place.
4691         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4692         using those.
4694 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4696         [BZ #14906]
4697         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4698         traced file mtime. Use consistent log message.
4699         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4700         (register_traced_file): Call install_watches. Always set mtime.
4701         (invalidate_cache): Iterate over all trace files. Call install_watches.
4702         (inotify_check_files): Don't inline. Handle watching parent
4703         directories and configuration file movement in and out.
4704         (handle_inotify_events): New function.
4705         (main_loop_poll): Call handle_inotify_events.
4706         (main_loop_epoll): Likewise.
4707         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4708         (struct traced_file): Use array of inotify fds. Add parent directory,
4709         and basename.
4710         (struct database_dyn): Remove unused file_mtime.
4711         (init_traced_file): New inline function.
4712         (define_traced_file): New macro.
4713         * nss/nss_db/db-init.c: Use define_traced_file.
4714         (_nss_db_init): Use init_traced_file.
4715         * nss/nss_files/files-init.c: Use define_traced_file.
4716         (_nss_files_init): Use init_traced_file.
4718 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4720         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4721         [_LIBC]: Do not include <stdlib.h>.
4722         [!_LIBC] (abort): Remove declaration.
4723         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4724         _FP_STATIC_ASSERT instead of conditionally calling abort.
4725         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4726         (_FP_EXTEND_CNAN): Likewise.
4727         (FP_TRUNC): Likewise.
4728         (__FP_CLZ): Likewise.
4729         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4731 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4733         * manual/string.texi (XPG basename): Fix prototype.
4735 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4737         [BZ #18080]
4738         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4739         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4740         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4741         (__setcontext): Likewise.
4742         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4743         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4744         Call rt_sigprocmask syscall one time to set new signal mask
4745         and retrieve the current signal mask instead of two calls.
4746         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4747         (__swapcontext): Likewise.
4748         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4749         * stdlib/tst-setcontext2.c: New file.
4751 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4753         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4755 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4757         [BZ #18093]
4758         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4759         the wrong size.
4761 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4763         [BZ #18043]
4764         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4766 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4768         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4769         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4770         Remove define.
4771         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4772         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4773         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4774         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4775         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4776         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4777         define.
4778         * nptl_db/td_symbol_list.c (td_lookup): Remove
4779         HAVE_ASM_GLOBAL_DOT_NAME code.
4780         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4781         HAVE_ASM_GLOBAL_DOT_NAME check.
4782         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4783         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4784         (DOT_LABEL): Remove define.
4785         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4786         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4787         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4788         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4789         (__TLS_GET_ADDR): Likewise.
4790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4791         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4793 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4795         [BZ #18111]
4796         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4797         (_FPU_SETCW): Initialize cw from fpsr before storing.
4798         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4799         (fesetexceptflag): Rewrite using fpu_control.h.
4800         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4802 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4804         [BZ #18110]
4805         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4806         asms.
4807         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4809 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4811         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4812         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4813         abort.
4814         (_FP_FMA): Likewise.
4815         (_FP_DIV): Likewise.
4817 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4819         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4820         with 0 in that case.
4821         * Makefile (summarize-tests): New canned sequence, factored out of
4822         commands for targets tests and xtests.  Display summary lines that
4823         don't start with PASS: or XFAIL: rather than ones that do start with
4824         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4825         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4826         do start with ERROR: or FAIL:.
4827         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4828         (except for [$(build-shared) = yes]).
4829         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4830         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4831         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4832         * nptl/Makefile: Revert 2015-03-04 changes.
4833         [$(CXX) empty] (tests-unsupported): New variable.
4834         * debug/Makefile: Likewise.
4836         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4837         gnulib file.  Replace __attribute with __attribute__ throughout.
4839 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4841         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4843 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4845         [BZ #18104]
4846         * math/auto-libm-test-in: Add another test of pow.
4847         * math/auto-libm-test-out: Regenerated.
4849 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4851         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4852         $(config-cflags-nofma).
4854 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4856         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4857         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4858         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4859         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4860         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4861         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4862         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4863         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4864         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4865         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4866         Add comment on closing #endif.
4868 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4870         * posix/wordexp.c (CHAR_IN_SET): New macro.
4871         (parse_param): Use it.
4873 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4875         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4877 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4879         [BZ #18043]
4880         * posix/wordexp.c (parse_param): Fix buffer overflow.
4881         * posix/wordexp-test.c (test_case): Add test case.
4883 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4885         [BZ #18042]
4886         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4887         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4889 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4891         [BZ #18043]
4892         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4893         (do_bz18043): Delete.
4894         (at_page_end): New.
4895         (testit): Refactor to have words at the edge of unreadable page.
4897 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4899         [BZ #16734]
4900         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4901         Cleanup read-only streams as well.
4902         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4904 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4906         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4907         <bits/libc-lockP.h>
4909 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4911         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4912         on [__KERNEL__].
4913         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4914         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4915         * soft-fp/op-common.h (_FP_DECL): Likewise.
4917 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4919         * elf/ifuncdep2.c (global): Replace
4920         __attribute__((visibility("protected"))) with
4921         asm (".protected global").
4922         * elf/ifuncmod1.c (global): Likewise.
4923         * elf/ifuncmod5.c (global): Likewise.
4925 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4927         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4928         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4930 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4932         * manual/install.texi (Configuring and compiling):
4933         Document test-wrapper-env-only.
4934         * INSTALL: Regenerated.
4936 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4938         [BZ #18043]
4939         * posix/wordexp.c (parse_param): Fix buffer overflow.
4940         * posix/wordexp-test.c (do_bz18043): Add test case.
4942 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4944         * time/tst-strptime2.c (do_test): Ensure failing tests are
4945         reported correctly.
4946         * time/tst-strptime3.c (do_test): Likewise.
4948 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4950         Fix aio_error thread-safety.
4951         * sysdeps/pthread/aio_error.c: New file
4952         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4953         synchronization.
4955 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4957         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4958         (group_number, vfprintf): Use it.
4959         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4960         (JUMP, REF): Use it.
4961         (WORK_BUFFER_SIZE): New enum constant.
4962         (process_arg, vfprintf): Use it.
4964 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4966         * manual/errno.texi (Error Messages): Complete example function
4967         by adding missing #define.
4968         (program_invocation_name): Add statement indicating GNU
4969         extension and reference which header file declares the variable.
4970         (program_invocation_short_name): Likewise.
4972 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4974         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4975         compatibility note.
4977 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4979         * Makeconfig (test-wrapper-env-only): New variable.
4980         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4981         then use that with $(test-wrapper-env-only) rather than using
4982         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4984 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4986         [BZ #18082]
4987         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4988         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4989         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4990         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4991         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4992         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4993         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4994         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4995         Likewise.
4996         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4997         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4998         Likewise.
4999         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5000         Likewise.
5001         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5002         Likewise.
5003         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5004         Likewise.
5005         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5006         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5007         Likewise.
5008         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5009         Likewise.
5010         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5011         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5013 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5015         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5016         (ETH_ALEN): New macro.
5017         (struct ether_addr): Use it for length of ether_addr_octet.
5019         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5020         (setdb): Don't call __nss_configure_lookup for "rpc".
5021         (do_test): Don't call test_rpc.
5022         (output_rpcent, test_rpc): Functions moved ...
5023         * sunrpc/test-rpcent.c: ... to this new file.
5024         * sunrpc/Makefile (tests): Add it.
5026         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5027         __xpg_sigpause.
5028         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5029         * nptl/tst-signal6.c: Likewise.
5030         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5031         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5033         * configure.ac (libc_cv_cxx_link_ok): New check.
5034         Reset CXX to empty if it fails to link.
5035         * configure: Regenerated.
5036         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5037         bug-atexit3-lib only if $(CXX) is nonempty.
5038         * nptl/Makefile (tests): Likewise for tst-cancel24.
5039         (tests, tests-static): Likewise for tst-cancel24-static.
5040         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5041         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5042         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5043         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5045 2015-03-04  Andreas Schwab  <schwab@suse.de>
5047         [BZ #17631]
5048         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5049         for non-GCC compilers.
5050         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5051         Likewise.
5053 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5055         [BZ #17776]
5056         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5057         integer before bitwise and assembly operations.
5058         (feclearexcept): Likewise.
5059         * math/test-fenvinline.c: New file.
5060         * math/Makefile: Add test-fenvinline test.
5062 2015-03-03  Alan Modra  <amodra@gmail.com>
5064         [BZ #16512]
5065         * scripts/localplt.awk: Strip off symbol version.
5066         * NEWS: Mention bug fix.
5068 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5070         * sysdeps/pthread/timer_routines.c
5071         (timer_free_list, thread_free_list, thread_active_list): Make static.
5073 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5075         [BZ #17779]
5076         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5077         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5078         Undefine.
5079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5080         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5083         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5084         Likewise.
5086 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5088         [BZ #18036]
5089         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5090         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5092 2015-03-02  Andreas Schwab  <schwab@suse.de>
5094         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5095         variable name.
5097 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5099         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5100         Return error status.
5102 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5104         [BZ #15969]
5105         * locale/findlocale.c (_nl_find_locale): Introduce const
5106         version of loc_name and drop unsafe type casts.
5108 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5110         * dlfcn/tststatic2.c (main): Converted to ...
5111         (do_test): ... this.
5112         (TEST_FUNCTION): New macro.
5113         Include test-skeleton.c.
5115 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5117         [BZ #17711]
5118         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5119         (tests-pie): Add vismain.
5120         (CFLAGS-vismain.c): New.
5121         * elf/vismain.c: Add comments for PIE requirement.
5123 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5125         [BZ #18046]
5126         [BZ #18047]
5127         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5128         0x1p-56L as threshold for just returning the argument.
5129         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5130         0x1p-32L as threshold for just returning the argument.
5131         * math/auto-libm-test-in: Add more tests of atanh.
5132         * math/auto-libm-test-out: Regenerated.
5133         * sysdeps/i386/fpu/libm-test-ulps: Update.
5134         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5136 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5138         * string/bcopy.c (bcopy): Call memmove for performance.
5140 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5142         * string/bzero.c (__bzero): Call memset for performance.
5144 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5146         [BZ #18068]
5147         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5148         to 00100000.
5150 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5152         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5154 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5156         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5157         (__kernel_standard): Use CSTR macro when setting exc.name.
5158         * sysdeps/ieee754/Makefile [$(subdir) = math]
5159         (CFLAGS-k_standard.c): Remove variable.
5161         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5162         setting p and q from "else if" to "else".
5163         (qzero): Likewise.
5164         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5165         (qone): Likewise.
5166         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5167         (qzerof): Likewise.
5168         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5169         (qonef): Likewise.
5170         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5171         (qzero): Likewise.
5172         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5173         (qone): Likewise.
5175         [BZ #18038]
5176         [BZ #18039]
5177         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5178         return pi/2 for arguments below 0x1p-113L.
5179         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5180         return pi/2 for arguments below 0x1p-106L.
5181         * math/auto-libm-test-in: Add more tests of acos.
5182         * math/auto-libm-test-out: Regenerated.
5184         [BZ #16351]
5185         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5186         (MO): New macro.
5187         (__ieee754_asin): Force underflow exception for results with small
5188         absolute value.
5189         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5190         (MO): New macro.
5191         (__ieee754_asinf): Force underflow exception for results with
5192         small absolute value.
5193         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5194         (__ieee754_asin): Force underflow exception for results with small
5195         absolute value.
5196         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5197         (__ieee754_asinf): Force underflow exception for results with
5198         small absolute value.
5199         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5200         (__ieee754_asinl): Force underflow exception for results with
5201         small absolute value.
5202         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5203         (__ieee754_asinl): Force underflow exception for results with
5204         small absolute value.
5205         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5206         (__ieee754_asinl): Force underflow exception for results with
5207         small absolute value.
5208         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5209         Include <math.h>.
5210         * math/auto-libm-test-in: Do not mark underflow exceptions as
5211         possibly missing for bug 16351.
5212         * math/auto-libm-test-out: Regenerated.
5214         [BZ #18030]
5215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5216         of power of 2 down when low part has opposite sign.
5217         * math/libm-test.inc (logb_test_data): Add more tests.
5219 2015-02-26  Andreas Schwab  <schwab@suse.de>
5221         [BZ #18032]
5222         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5223         over collating symbol inside a bracket expression.  Minor cleanup.
5224         * posix/tst-fnmatch3.c (do_test): Add test case.
5226 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5228         [BZ #18029]
5229         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5230         Adjust exponent of power of 2 down when low part has opposite
5231         sign.
5232         * math/libm-test.inc (ilogb_test_data): Add more tests.
5234 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5236         [BZ #15969]
5237         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5238         the previous change.
5240         [BZ #15969]
5241         * locale/findlocale.c (_nl_find_locale): Retry archive search
5242         after alias expansion.
5244 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5246         * iconv/tst-iconv3.c (main): Converted to ...
5247         (do_test): ... this.
5248         (TEST_FUNCTION): New macro.
5249         Include test-skeleton.c.
5251         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5252         (convert): Make function static.
5253         (test_unalign): Likewise.  Add const to argument pointee types.
5254         (main): Replace with static function do_test.
5255         Print "Succeeded." only if RET is zero.
5256         (TEST_FUNCTION): New macro.
5257         Include test-skeleton.c.
5259         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5260         returns a null pointer.
5262 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5264         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5265         to __memcpy_ppc only for static builds.
5267 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5269         [BZ #18020]
5270         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5271         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5272         * math/auto-libm-test-in: Add more tests of asinh.
5273         * math/auto-libm-test-out: Regenerated.
5274         * sysdeps/i386/fpu/libm-test-ulps: Update.
5275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5277 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5279         [BZ #15850]
5280         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5281         and ip6_mtuinfo definitions here.
5282         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5283         in this define too.  Update comment.
5285 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5287         * elf/sprof.c (load_shobj): Tweak error message to match others.
5289 2015-02-24  Kevin Easton  <kevin@guarana.org>
5291         [BZ #16145] (partial fix)
5292         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5293         to reduce lock contention.
5295 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5297         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5298         (struct timex): Update time comment.
5299         (ADJ_SETOFFSET): Define.
5301 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5303         [BZ #18019]
5304         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5305         2**56 not 2**28 as threshold for log (2x) formula.
5306         * math/auto-libm-test-in: Add more tests of acosh.
5307         * math/auto-libm-test-out: Regenerated.
5308         * sysdeps/i386/fpu/libm-test-ulps: Update.
5309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5311 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5313         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5314         parenthesis around the buf assignment.
5315         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5317 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5319         [BZ #16783]
5320         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5321         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5322         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5323         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5324         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5325         * math/libm-test.inc (scalb_test_data): Add more tests.
5327 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5329         [BZ #17916]
5330         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5331         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5333 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5335         [BZ #17523]
5336         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5337         * io/bits/fcntl2.h (open): Use it.
5338         (openat): Likewise.
5339         * io/open.c (__libc_open): Likewise.
5340         * io/open64.c (__libc_open64): Likewise.
5341         * io/open64_2.c (__open64_2): Likewise.
5342         * io/open_2.c (__open_2): Likewise.
5343         * io/openat.c (__openat): Likewise.
5344         * io/openat64.c (__openat64): Likewise.
5345         * io/openat64_2.c (__openat64_2): Likewise.
5346         * io/openat_2.c (__openat_2): Likewise.
5347         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5348         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5349         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5350         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5351         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5352         (__open_nocancel): Likewise.
5353         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5354         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5355         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5357 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5359         [BZ #14841]
5360         * resolv/gethnamaddr.c (getanswer): Skip logging if
5361         RES_USE_DNSSEC is set.
5362         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5364 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5366         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5368 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5370         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5371         201304L, for Unicode 7.
5373 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5375         [BZ #17836]
5376         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5377         shared library.  Add gmon-start.os otherwise.
5378         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5379         $(objpfx)gmon-start.os if builing shared library.
5380         ($(objpfx)g$(static-start-installed-name)): Likewise.
5382 2015-02-23  Andreas Schwab  <schwab@suse.de>
5384         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5386 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5388         [BZ #17269]
5389         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5390         (enlarge_userbuf): Likewise.
5392 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5394         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5395         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5396         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5397         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5399 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5401         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5402         expression inside statement expression.
5404 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5406         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5407         <sysdeps/nptl/lowlevellock.h> and remove macros and
5408         functions that are now defined there.
5409         (SYS_futex): Remove.
5410         (lll_compare_and_swap): Remove.
5411         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5413 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5415         [BZ #17999]
5416         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5417         instead of scandirat.
5418         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5419         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5420         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5421         __scandirat.
5422         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5423         (__scandirat): Declare.  Use libc_hidden_proto.
5424         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5425         Remove variable.
5426         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5428 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5430         [BZ #15319]
5431         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5432         (MO): New macro.
5433         (__ieee754_atan2): For results with small absolute value, force
5434         underflow exception and remove excess range and precision from
5435         return value.
5436         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5437         (MO): New macro.
5438         (__ieee754_atan2f): For results with small absolute value, force
5439         underflow exception and remove excess range and precision from
5440         return value.
5441         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5442         (MO): New macro.
5443         (__atan): For results with small absolute value, force underflow
5444         exception and remove excess range and precision from return value.
5445         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5446         (MO): New macro.
5447         (__atanf): For results with small absolute value, force underflow
5448         exception and remove excess range and precision from return value.
5449         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5450         <math.h>.
5451         (__ieee754_atan2): Force underflow exception for results with
5452         small absolute value.
5453         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5454         <math_private.h>.
5455         (atan): Force underflow exception for results with small absolute
5456         value.
5457         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5458         (__atanf): Force underflow exception for results with small
5459         absolute value.
5460         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5461         <math.h>.
5462         (__atanl): Force underflow exception for results with small
5463         absolute value.
5464         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5465         (__atanl): Force underflow exception for results with small
5466         absolute value.
5467         * sysdeps/x86/fpu/bits/mathinline.h
5468         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5469         (__ieee754_atan2): Only define inline for long double.
5470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5471         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5472         * math/auto-libm-test-in: Do not mark underflow exceptions as
5473         possibly missing for bug 15319.  Add more tests of atan2.
5474         * math/auto-libm-test-out: Regenerated.
5475         * math/libm-test.inc (casin_test_data): Do not mark underflow
5476         exceptions as possibly missing for bug 15319.
5477         (casinh_test_data): Likewise.
5478         * sysdeps/i386/fpu/libm-test-ulps: Update.
5480 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5482         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5483         * sysdeps/mips/bits/endian.h: Fix comments.
5485 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #17996]
5488         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5489         (hdestroy_r): Likewise.
5490         (hsearch_r): Likewise.
5491         (__hcreate_r): Declare and use libc_hidden_proto.
5492         (__hdestroy_r): Likewise.
5493         (__hsearch_r): Likewise.
5494         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5495         (hcreate): Call __hcreate_r instead of hcreate_r.
5496         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5497         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5498         as weak alias of __hcreate_r.
5499         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5500         __hdestroy_r.
5501         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5502         __hsearch_r.
5503         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5504         Remove variable.
5505         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5506         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5507         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5508         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5510 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5512         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5513         arena_lock into a single arena_get.
5515 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5517         * dl-reloc.c: Inlucde libc-internal.h.
5518         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5519         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5520         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5521         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5522         (grow_heap): Likewise.
5523         * malloc/malloc.c: Include libc-internal.h.
5524         (do_check_malloc): Call powerof2.
5525         (sysmalloc): Use pagesize. Call ALIGN_UP.
5526         (systrim): Use pagesize.
5527         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5528         (__libc_valloc): Use pagesize.
5529         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5531 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5533         [BZ #17991]
5534         * include/sys/resource.h (__getrlimit64): Declare.  Use
5535         libc_hidden_proto.
5536         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5537         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5538         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5539         getrlimit64.
5540         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5541         __getrlimit64.
5542         [!getrlimit64] (getrlimit64): Define as weak alias of
5543         __getrlimit64.  Use libc_hidden_weak.
5544         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5545         using __getrlimit64 not __new_getrlimit64.
5546         (__GI_getrlimit64): Likewise.
5547         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5548         Likewise.
5549         (__GI_getrlimit64): Likewise.
5550         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5552         (getrlimit): Add __getrlimit64 alias.
5553         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5554         Likewise.
5555         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5556         Remove variable.
5557         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5558         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5560 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5562         * libio/fileops.c: Add missing sys/mman.h
5563         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5565 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5567         * manual/math.texi (Errors in Math Functions): Clarify goals
5568         regarding inexact and underflow exceptions.
5570 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5572         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5573         * sysdeps/mips/memset.S: Ditto.
5575 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5577         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5579 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5581         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5582         (__v1longjmp): Remove versioned symbol.
5583         (__v1siglongjmp): Remove alias and versioned symbol.
5584         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5585         (__v2siglongjmp): Likewise.
5587 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5589         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5591 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5593         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5595 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5597         [BZ #17987]
5598         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5599         zero result does not depend on the sign resulting from
5600         subtraction.
5601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5602         Likewise.
5603         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5604         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5605         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5606         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5607         * math/libm-test.inc (remquo_test_data): Add more tests.
5609 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5611         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5612         Problem reported by J William Piggott.
5614 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5616         [BZ #17978]
5617         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5618         products 4 * y and 2 * y where those would overflow.
5619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5620         Likewise.
5621         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5622         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5623         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5624         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5625         * math/libm-test.inc (remquo_test_data): Add more tests.
5627         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5629         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5630         [defined _COMPILING_NEWLIB].
5631         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5632         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5634         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5635         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5637 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5639         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5640         acquired.
5642 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5644         [BZ #17792]
5645         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5646         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5647         HOST_STACK_END_ADDR): Likewise.
5649 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5651         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5652         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5653         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5655 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5657         * sysdeps/generic/c++-types.data: New file.
5658         * sysdeps/generic/ld.abilist: New file.
5659         * sysdeps/generic/libBrokenLocale.abilist: New file.
5660         * sysdeps/generic/libanl.abilist: New file.
5661         * sysdeps/generic/libc.abilist: New file.
5662         * sysdeps/generic/libcrypt.abilist: New file.
5663         * sysdeps/generic/libdl.abilist: New file.
5664         * sysdeps/generic/libm.abilist: New file.
5665         * sysdeps/generic/libpthread.abilist: New file.
5666         * sysdeps/generic/libresolv.abilist: New file.
5667         * sysdeps/generic/librt.abilist: New file.
5669 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5671         [BZ #17569]
5672         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5673         Compute absolute value of x as modified by fmod, not original
5674         value of x.
5675         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5676         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5677         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5678         RUN_TEST_ffI_f1_mod8.
5679         (remquo_test_data): Add more tests.
5681 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5683         * sysdeps/init_array/pt-crti.S: New file.
5685 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5687         [BZ #17967]
5688         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5689         __builtin_fmaf instead of relying on contraction of a * b + c.
5691 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5693         [BZ #17969]
5694         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5695         node.
5697 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5699         [BZ #17964]
5700         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5701         __builtin_fma instead of relying on contraction of a * b + c.
5703 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5705         * Makeconfig (ASFLAGS): Add -Werror=undef.
5706         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5707         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5708         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5710         * Makeconfig (after-link): New variable.
5711         (+link-pie, +link-pie-tests): Use it.
5712         (+link-static, +link-static-tests): Likewise.
5713         (+link, +link-tests): Likewise.
5714         * Makerules (build-module, build-module-asneeded): Likewise.
5715         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5716         Likewise.
5717         * elf/Makefile ($(objpfx)ld.so): Likewise.
5719 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5721         [BZ #17965]
5722         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5723         both struct timeval and struct timespec.
5725 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5727         [BZ #16560]
5728         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5729         and redefine.
5730         (__ieee754_exp2l): Do not multiply small fractional parts by
5731         M_LN2l.
5732         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5733         small argument.
5734         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5735         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5736         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5737         * math/auto-libm-test-in: Add more tests of exp2.
5738         * math/auto-libm-test-out: Regenerated.
5740 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5742         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5743         unaligned path.
5745 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5747         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5748         little endian.
5750 2015-02-12  Andreas Schwab  <schwab@suse.de>
5752         [BZ #15790]
5753         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5754         Filter out elision flags from value returned in kind.
5755         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5756         * nptl/tst-pthread-mutexattr.c: New file.
5758 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5760         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5761         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5762         into gnu-gnu, and update comment to refer to abi-tags.
5764 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5766         [BZ #15467]
5767         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5768         (__sincos): Set errno to EDOM for infinite argument.
5769         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5770         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5771         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5772         (__sincosl): Set errno to EDOM for infinite argument.
5773         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5774         (__sincosl): Set errno to EDOM for infinite argument.
5775         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5776         (__sincosl): Set errno to EDOM for infinite argument.
5777         * math/libm-test.inc (sincos_test_data): Test errno setting.
5779 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5781         * string/strxfrm_l.c: Remove #define STRCMP.
5782         * string/strcoll_l.c: Remove #define STRLEN.
5783         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5784         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5786 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5788         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5789         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5790         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5791         * sysdeps/mips/mips64/Makefile: ... here.
5792         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5793         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5794         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5795         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5796         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5797         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5798         * sysdeps/mips/mips64/n64/Implies: Likewise.
5800 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5802         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5803         <sys/time.h>, <string.h>, and <errno.h>.
5804         (dest_offset, dest_address, value, zero): Remove unused variables.
5805         (ldouble): Remove typedef.
5806         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5807         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5808         1).  Fix code style.
5809         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5810         (check): Function removed.
5811         (CHECK): New macro.
5812         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5813         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5814         Don't call set_sigaction_FP and remove_sigaction_FP here.
5815         (ldouble_test): Just use 'long double' as macro argument, no need for
5816         the 'ldouble' typedef.
5817         (do_test): Set up SIGFPE handler at start, using plain signal rather
5818         than sigaction.  Fix code style.
5820 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5822         [BZ #17949]
5823         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5824         jump label.
5826 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5828         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5829         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5831         * sysdeps/powerpc/configure.ac: Remove file.
5832         * sysdeps/powerpc/configure: Likewise.
5834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5835         [sysdep_routines]: Remove wordcopy-power6 object.
5836         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5837         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5838         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5839         (__memmove_ppc32): Likewise.
5840         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5841         file.
5842         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5843         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5844         Remove preprocessor.
5846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5847         [sysdep_routines]: Remove wide chars objects.
5848         [wcsmbs]: New rule for wide char objects.
5850         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5851         Remove wordcopy-power6 obejct.
5852         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5853         Use local call for wordcopy and memcpy symbols.
5854         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5855         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5856         implementation for loader.
5857         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5859         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5860         Remove wordcopy-power7 object.
5861         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5863         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5864         (_wordcopy_fwd_dest_aligned): Likewise.
5865         (_wordcopy_bwd_aligned): Likewise.
5866         (_wordcopy_bwd_dest_aligned): Likewise.
5868         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5869         Rewrite to call __memmove_ppc instead of include default
5870         implementation.
5872         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5873         Remove wide chars objects.
5874         [wcsmbs]: New rule for wide char objects.
5876 2015-02-09  Andreas Schwab  <schwab@suse.de>
5878         [BZ #17912]
5879         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5880         in terms of __O_DIRECTORY.
5882 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5884         * time/getdate.c: Include <stdbool.h>.
5885         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5886         call PTR_MANGLE.
5887         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5888         PTR_DEMANGLE.
5890 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5892         Add ersatz _Static_assert on older C hosts
5893         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5894         pre-C11 C platform that is not known to support _Static_assert.
5896 2015-02-07  Richard Braun  <rbraun@sceen.net>
5898         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5899         sigstate.
5900         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5902 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5904         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5905         priority against unexistent AIO_PRIO_DELTA_MAX.
5906         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5907         instead of int.
5908         * misc/fchflags.c (fchflags): Likewise.
5909         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5910         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5911         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5912         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5913         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5914         Declare macros.
5915         [__USE_MISC] (chflags, fchflags): Declare functions.
5916         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5917         EINVAL when nfds is greater than FD_SETSIZE.
5918         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5919         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5920         45.
5921         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5922         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5923         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5924         MACH_RCV_TIMED_OUT.
5925         * hurd/hurd/signal.h (_hurd_self_sigstate,
5926         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5927         Explicit casts from void *.
5928         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5929         * abi-tags: Rename gnu-gnu os into gnu.
5931         [BZ #4719]
5932         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5933         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5934         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5935         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5936         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5937         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5939         [BZ #17944]
5940         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5941         duplicates ADDR->sun_path with sockaddr LEN limitation.
5942         * sysdeps/mach/hurd/connect.c: Include <string.h>
5943         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5944         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5945         * sysdeps/mach/hurd/sendto.c: Likewise.
5946         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5947         implementing it by hand.
5949 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5951         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5952         Use sfi_breg on ldr.
5953         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5954         Likewise.
5956         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5957         it's defined.
5958         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5959         Test SIGSETXID only if it's defined.
5961         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5963         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5964         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5966         * nptl/tst-align2.c: Moved ...
5967         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5968         * nptl/Makefile (tests): Remove tst-align2.
5969         * sysdeps/unix/sysv/linux/Makefile
5970         [$(subdir) = nptl] (tests): Add tst-align-clone.
5971         * nptl/tst-getpid1.c: Moved ...
5972         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5973         * nptl/tst-getpid2.c: Moved ...
5974         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5975         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5976         * sysdeps/unix/sysv/linux/Makefile
5977         [$(subdir) = nptl] (tests): ... here.
5978         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5979         * sysdeps/unix/sysv/linux/Makefile
5980         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5982         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5983         Drop trailing \n from perror argument.  Use return rather than exit.
5985         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5986         on [SA_SIGINFO].
5987         * nptl/tst-cancel21.c (do_test): Likewise.
5988         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5989         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5990         [!SA_SIGINFO]: Make it a stub test.
5992         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5993         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5995         * posix/tst-getlogin.c: Move to ...
5996         * login/tst-getlogin.c: ... here.
5997         * posix/Makefile (tests): Move tst-getlogin to ...
5998         * login/Makefile (tests): ... here.
6000         * libio/tst-atime.c (do_test): Move local variables SV and E
6001         inside [ST_NOATIME] conditional.
6003         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6005         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6007         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6008         (wait_code): New function replaces macro.
6009         Call nanosleep rather than syscall.
6011         * nptl/pt-system.c: Rewritten.  Put everything under
6012         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6013         Use IFUNC to redirect when possible.
6015         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6016         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6017         Use IFUNC to redirect when possible.
6019         * nptl/pt-fork.c: Rewritten.  Put everything under
6020         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6021         Use IFUNC to redirect when possible.
6022         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6024         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6025         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6026         unconditionally nowadays.  This included the only reference to
6027         __vdso_clock_gettime that appears outside libc proper.
6028         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6029         Remove version set (containing only __vdso_clock_gettime).
6030         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6031         Add attribute_hidden.
6032         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6033         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6034         libc_hidden_data_def.
6035         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6036         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6038         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6039         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6040         setrpcent, and getrpcport to ...
6041         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6042         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6043         getrpcbynumber_r, and getrpcent_r to ...
6044         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6045         * inet/getrpcbyname.c: Moved ...
6046         * sunrpc/getrpcbyname.c: ... here.
6047         * inet/getrpcbyname_r.c: Moved ...
6048         * sunrpc/getrpcbyname_r.c: ... here.
6049         * inet/getrpcbynumber.c: Moved ...
6050         * sunrpc/getrpcbynumber.c: ... here.
6051         * inet/getrpcbynumber_r.c: Moved ...
6052         * sunrpc/getrpcbynumber_r.c: ... here.
6053         * inet/getrpcent.c: Moved ...
6054         * sunrpc/getrpcent.c: ... here.
6055         * inet/getrpcent_r.c: Moved ...
6056         * sunrpc/getrpcent_r.c: ... here.
6057         * inet/Makefile (routines): Move those to ...
6058         * sunrpc/Makefile (routines): ... here.
6059         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6060         the $(subdirs) list.
6061         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6062         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6063         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6064         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6066         * elf/Makefile (routines): Include $(all-dl-routines), not just
6067         $(dl-routines).
6068         (rtld-routines): Likewise.  Use = rather than :=.
6069         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6070         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6071         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6072         * sysdeps/arm/Makefile: Likewise.
6073         * sysdeps/i386/Makefile: Likewise.
6074         * sysdeps/x86_64/Makefile: Likewise.
6075         * sysdeps/hppa/Makefile [$(subdir) = elf]
6076         (sysdep_routines, sysdep-rtld-routines): Don't add
6077         $(sysdep-dl-routines) to these.
6078         * sysdeps/ia64/Makefile: Likewise.
6079         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6080         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6081         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6082         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6083         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6084         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6085         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6086         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6087         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6088         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6089         these; sysdep-dl-routines alone is enough.
6091 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6093         [BZ #17932]
6094         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6095         where multiplication results in zero and third argument is finite
6096         and nonzero.
6097         * math/auto-libm-test-in: Add more tests of fma.
6098         * math/auto-libm-test-out: Regenerated.
6100         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6101         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6102         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6103         (_FP_CMP_EQ): Likewise.
6104         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6106         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6107         extra argument CHECK_NAN.  Redefine as wrapper around
6108         _FP_EXTEND_CNAN.
6110 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6112         * version.h (RELEASE): Set to "stable".
6113         (VERSION): Set to "2.21"
6114         * include/features.h (__GLIBC_MINOR__): Set to 21.
6116         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6118 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6119             Paul Eggert  <eggert@cs.ucla.edu>
6121         [BZ #16618]
6122         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6123         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6124         size in bytes. Store needed elements in wpmax. Use needed size
6125         in bytes for extend_alloca.
6127 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6129         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6130         binutls 2.25, and texinfo 5.2.
6131         * INSTALL: Regenerate.
6132         * sysdeps/nios2/configure: Regenerate.
6133         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6134         * manual/contrib.texi: Update.
6135         * po/be.po: Update.
6136         * po/bg.po: Update.
6137         * po/ca.po: Update.
6138         * po/cs.po: Update.
6139         * po/da.po: Update.
6140         * po/de.po: Update.
6141         * po/el.po: Update.
6142         * po/eo.po: Update.
6143         * po/es.po: Update.
6144         * po/fi.po: Update.
6145         * po/fr.po: Update.
6146         * po/gl.po: Update.
6147         * po/hr.po: Update.
6148         * po/hu.po: Update.
6149         * po/ia.po: Update.
6150         * po/id.po: Update.
6151         * po/it.po: Update.
6152         * po/ja.po: Update.
6153         * po/ko.po: Update.
6154         * po/lt.po: Update.
6155         * po/nb.po: Update.
6156         * po/nl.po: Update.
6157         * po/pl.po: Update.
6158         * po/pt_BR.po: Update.
6159         * po/ru.po: Update.
6160         * po/rw.po: Update.
6161         * po/sk.po: Update.
6162         * po/sl.po: Update.
6163         * po/sv.po: Update.
6164         * po/tr.po: Update.
6165         * po/uk.po: Update.
6166         * po/vi.po: Update.
6167         * po/zh_CN.po: Update.
6168         * po/zh_TW.po: Update.
6170         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6171         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6172         * sysdeps/hppa/dl-irel.h: Remove #warning.
6173         * sysdeps/hppa/entry.h: Provide prototype for
6174         __canonicalize_funcptr_for_compare and cast argument.
6175         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6176         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6177         * sysdeps/hppa/sotruss-lib.c: New file.
6178         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6179         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6180         (atomic_compare_and_exchange_bool_acq): Likewise.
6181         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6182         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6184         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6185         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6186         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6188 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6190         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6191         called function in non-PIC case.
6193 2015-01-31  David S. Miller  <davem@davemloft.net>
6195         * sysdeps/sparc/sparc32/bits/atomic.h
6196         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6197         unlock not after it.
6198         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6199         volatile register usage warnings from the compiler.
6201         * sysdeps/sparc/nptl/sem_init.c: Delete.
6202         * sysdeps/sparc/nptl/sem_post.c: Delete.
6203         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6204         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6205         * sysdeps/sparc/sparc32/sem_init.c: New file.
6206         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6207         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6208         padding explicitly initialized.
6209         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6210         padding for in-semaphore spinlock.
6211         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6212         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6213         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6214         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6215         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6216         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6217         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6218         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6219         version.
6220         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6221         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6223 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6225         [BZ #17801]
6226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6227         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6228         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6229         New.
6230         (index_AVX_Fast_Unaligned_Load): Likewise.
6231         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6232         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6233         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6234         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6235         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6236         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6237         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6238         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6239         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6241 2015-01-29  Andreas Schwab  <schwab@suse.de>
6243         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6245 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6247         [BZ #17892]
6248         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6250 2015-01-28  Martin Sebor  <msebor@redhat.com>
6252         * math/README.libm-test: Clarify. Add "How to read the test output."
6254 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6256         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6257         Define to 0.
6259 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6261         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6262         (__HAVE_64B_ATOMICS): Define to 0.
6264 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6266         [BZ #17885]
6267         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6268         value to set as new flag.
6270         [BZ #16576]
6271         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6272         and use _ARCH_PPCSQ instead.
6273         (__ieee754_sqrt): Likewise.
6274         (__ieee754_sqrtf): Likewise.
6275         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6276         _ARCH_PPCSQ is defined.
6277         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6278         fsqrt instruction.
6279         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6280         _ARCH_PPCSQ is defined.
6281         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6282         fsqrts instruction.
6283         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6285 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6287         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6288         bug (GCC BZ #64739).
6290 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6292         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6293         Mark _retval as used.
6294         (lll_futex_wake_unlock): Likewise.
6295         (lll_futex_timed_wait_requeue_pi): Likewise.
6297         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6298         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6299         register variables.
6301         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6302         libm_hidden_def.
6304         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6305         (__bswap_64): Mark as __always_inline.
6307 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6309         [BZ #15378]
6310         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6311         when none of the search directories exist.
6313 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6315         [BZ #17869]
6316         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6317         power8 in .machine directive.
6319         [BZ #17868]
6320         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6321         set dependency from opd value.
6323 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6326         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6327         architecture.
6329 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6331         [BZ #17870]
6332         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6333         with uint64_t.
6334         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6335         (uint64_t) 1.
6336         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6337         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6338         Replace 1UL with (uint64_t) 1.
6339         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6340         int with uint64_t.
6342 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6344         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6345         (if_freenameindex): Likewise.
6347         * resource/getrlimit64.c: Add missing libc_hidden_def.
6349 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6351         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6352         __label__.
6353         (_FP_FMA): Likewise.
6354         (_FP_TO_INT_ROUND): Likewise.
6355         (_FP_FROM_INT): Likewise.
6357 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6359         [BZ #16418]
6360         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6361         Make code racy and cancel safe.
6363 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6365         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6366         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6367         attribution.
6369         * pwd/tst-getpw.c: Rewrite.
6371         [BZ #17702]
6372         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6373         (modules-names): Add moddummy1 and moddummy2.
6374         ($(objpfx)tst-rec-dlopen): Define.
6375         * dlfcn/moddummy1.c: New file.
6376         * dlfcn/moddummy2.c: New file.
6377         * dlfcn/tst-rec-dlopen.c: New file.
6378         * elf/dl-cache.c (_dl_load_cache_lookup):
6379         Return char*. Copy result with alloca/strcpy/strdup.
6380         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6381         returns char*. Free cached. If not saving realname
6382         free cached.
6383         * elf/dl-open.c (dl_open_worker): Do not assert that
6384         _r_debug->r_state is RT_CONSISTENT.
6385         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6386         returns char*.
6388 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6389             Carlos O'Donell  <carlos@redhat.com>
6391         [BZ #12674]
6392         * nptl/sem_waitcommon.c: New file.
6393         * nptl/sem_wait.c: Include sem_waitcommon.c.
6394         (__sem_wait_cleanup, do_futex_wait): Remove.
6395         (__new_sem_wait): Adapt.
6396         (__new_sem_trywait): New function.
6397         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6398         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6399         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6400         (sem_timedwait): Adapt.
6401         * nptl/sem_post.c (__new_sem_post): Adapt.
6402         (futex_wake): New function.
6403         (__old_sem_post): Add release MO fence.
6404         * nptl/sem_open.c (sem_open): Adapt.
6405         * nptl/sem_init.c (__new_sem_init): Adapt.
6406         (futex_private_if_supported): New function.
6407         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6408         (__old_sem_getvalue): Add using previous code.
6409         * sysdeps/nptl/internaltypes.h: Adapt.
6410         * nptl/tst-sem13.c (do_test): Adapt.
6411         * nptl/tst-sem11.c (main): Adapt.
6412         * nptl/sem_trywait.c: Remove.
6413         * nptl/DESIGN-sem.txt: Remove.
6414         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6415         (gen-as-const-headers): Remove structsem.sym.
6416         * nptl/structsem.sym: Remove.
6417         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6418         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6419         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6420         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6421         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6422         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6423         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6424         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6425         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6426         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6427         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6428         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6429         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6430         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6431         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6432         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6433         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6434         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6435         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6436         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6437         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6438         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6440 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6442         * INSTALL: Regenerated.
6444         * po/libc.pot: Regenerated.
6446 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6447             Sandra Loosemore  <sandra@codesourcery.com>
6448             Andrew Jenner  <andrew@codesourcery.com>
6449             Joseph Myers  <joseph@codesourcery.com>
6450             Nathan Sidwell  <nathan@codesourcery.com>
6452         * NEWS: Mention new Nios II port.
6453         * sysdeps/nios2/Implies: New file.
6454         * sysdeps/nios2/Makefile: New file.
6455         * sysdeps/nios2/Subdirs: New file.
6456         * sysdeps/nios2/Versions: New file.
6457         * sysdeps/nios2/__longjmp.S: New file.
6458         * sysdeps/nios2/abort-instr.h: New file.
6459         * sysdeps/nios2/backtrace.c: New file.
6460         * sysdeps/nios2/bits/endian.h: New file.
6461         * sysdeps/nios2/bits/fenv.h: New file.
6462         * sysdeps/nios2/bits/link.h: New file.
6463         * sysdeps/nios2/bits/setjmp.h: New file.
6464         * sysdeps/nios2/bsd-_setjmp.S: New file.
6465         * sysdeps/nios2/bsd-setjmp.S: New file.
6466         * sysdeps/nios2/configure: New generated file.
6467         * sysdeps/nios2/configure.ac: New file.
6468         * sysdeps/nios2/crti.S: New file.
6469         * sysdeps/nios2/crtn.S: New file.
6470         * sysdeps/nios2/dl-init.c: New file.
6471         * sysdeps/nios2/dl-machine.h: New file.
6472         * sysdeps/nios2/dl-sysdep.h: New file.
6473         * sysdeps/nios2/dl-tls.h: New file.
6474         * sysdeps/nios2/dl-trampoline.S: New file.
6475         * sysdeps/nios2/gccframe.h: New file.
6476         * sysdeps/nios2/gmp-mparam.h: New file.
6477         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6478         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6479         * sysdeps/nios2/ldsodefs.h: New file.
6480         * sysdeps/nios2/libc-tls.c: New file.
6481         * sysdeps/nios2/libm-test-ulps: New file.
6482         * sysdeps/nios2/machine-gmon.h: New file.
6483         * sysdeps/nios2/math-tests.h: New file.
6484         * sysdeps/nios2/math_private.h: New file.
6485         * sysdeps/nios2/memusage.h: New file.
6486         * sysdeps/nios2/nptl/Makefile: New file.
6487         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6488         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6489         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6490         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6491         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6492         * sysdeps/nios2/nptl/tls.h: New file.
6493         * sysdeps/nios2/preconfigure: New file.
6494         * sysdeps/nios2/s_fma.c: New file.
6495         * sysdeps/nios2/s_fmaf.c: New file.
6496         * sysdeps/nios2/setjmp.S: New file.
6497         * sysdeps/nios2/sfp-machine.h: New file.
6498         * sysdeps/nios2/sotruss-lib.c: New file.
6499         * sysdeps/nios2/stackguard-macros.h: New file.
6500         * sysdeps/nios2/stackinfo.h: New file.
6501         * sysdeps/nios2/start.S: New file.
6502         * sysdeps/nios2/sysdep.h: New file.
6503         * sysdeps/nios2/tls-macros.h: New file.
6504         * sysdeps/nios2/tst-audit.h: New file.
6505         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6506         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6507         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6508         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6509         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6510         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6511         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6512         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6513         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6514         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6515         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6516         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6517         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6518         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6519         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6520         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6521         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6522         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6523         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6524         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6525         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6526         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6527         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6528         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6529         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6530         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6531         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6532         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6533         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6534         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6535         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6536         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6537         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6538         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6539         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6540         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6541         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6542         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6543         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6544         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6545         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6546         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6547         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6548         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6550 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6552         [BZ #17844]
6553         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6554         (getutent): Use weak_alias in non SHARED case
6555         and default_symbol_version in SHARED case.
6556         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6557         (getutent_r, pututline): Likewise.
6558         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6559         (getutid): Likewise.
6560         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6561         (getutid_r): Likewise.
6562         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6563         (getutline): Likewise.
6564         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6565         (getutline_r): Likewise.
6566         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6567         (updwtmp): Likewise.
6569 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6571         [BZ #17848]
6572         * sysdeps/s390/s390-32/memcmp.S
6573         (memcmp_g5): Rename to __memcmp_g5.
6574         * sysdeps/s390/s390-32/memcpy.S
6575         (memcpy_g5): Rename to __memcpy_g5.
6576         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6577         (memcpy_mvcle) Rename to __memcpy_mvcle.
6578         * sysdeps/s390/s390-32/memset.S
6579         (memset_g5): Rename to __memset_g5.
6580         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6581         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6582         and use prefixed functions.
6583         * sysdeps/s390/s390-32/multiarch/memcmp.S
6584         (memcmp_z196): Rename to __memcmp_z196.
6585         (memcmp_z10): Rename to __memcmp_z10.
6586         (memcmp): Set alias to __memcmp_g5.
6587         (bcmp): Set alias to __memcmp_g5.
6588         * sysdeps/s390/s390-32/multiarch/memcpy.S
6589         (memcpy_z196): Rename to __memcpy_z196.
6590         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6591         (memcpy_z10): Rename to __memcpy_z10.
6592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6593         (memcpy): Set alias to __memcpy_g5.
6594         * sysdeps/s390/s390-32/multiarch/memset.S
6595         (memset_z196): Rename to __memset_z196.
6596         Jump to __memset_mvcle instead of memset_mvcle.
6597         (memset_z10): Rename to __memset_z10.
6598         Jump to __memset_mvcle instead of memset_mvcle.
6599         (memset_mvcle) Rename to __memset_mvcle.
6600         (memset): Set alias to __memset_g5.
6601         * sysdeps/s390/s390-64/memcmp.S
6602         (memcmp_z900): Rename to __memcmp_z900.
6603         * sysdeps/s390/s390-64/memcpy.S
6604         (memcpy_z900): Rename to __memcpy_z900.
6605         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6606         (memcpy_mvcle) Rename to __memcpy_mvcle.
6607         * sysdeps/s390/s390-64/memset.S
6608         (memset_z900): Rename to __memset_z900.
6609         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6610         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6611         and use prefixed functions.
6612         * sysdeps/s390/s390-64/multiarch/memcmp.S
6613         (memcmp_z196): Rename to __memcmp_z196.
6614         (memcmp_z10): Rename to __memcmp_z10.
6615         (memcmp): Set alias to __memcmp_z900.
6616         (bcmp): Set alias to __memcmp_z900.
6617         * sysdeps/s390/s390-64/multiarch/memcpy.S
6618         (memcpy_z196): Rename to __memcpy_z196.
6619         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6620         (memcpy_z10): Rename to __memcpy_z10.
6621         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6622         (memcpy): Set alias to __memcpy_z900.
6623         * sysdeps/s390/s390-64/multiarch/memset.S
6624         (memset_z196): Rename to __memset_z196.
6625         Jump to __memset_mvcle instead of memset_mvcle.
6626         (memset_z10): Rename to __memset_z10.
6627         Jump to __memset_mvcle instead of memset_mvcle.
6628         (memset_mvcle) Rename to __memset_mvcle.
6629         (memset): Set alias to __memset_z900.
6631 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6633         [BZ #17748]
6634         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6635         __fesetenv instead of fesetenv.
6637 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6639         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6640         macro.
6642 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6644         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6645         regression on LE.
6647         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6648         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6650         strncmp-power8 object.
6651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6652         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6653         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6654         * NEWS: Update.
6656 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6657             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6659         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6660         trailing byte check.
6662 2015-01-13  David S. Miller  <davem@davemloft.net>
6664         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6666 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6668         * login/logout.c (logout): Use memset rather than bzero.
6669         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6670         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6671         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6672         (_gethtbyaddr): Likewise.
6673         * locale/programs/simple-hash.c (bcopy): Macro removed.
6675 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6677         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6678         Add strcmp-power8 object.
6679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6680         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6681         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6682         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6683         __strcmp_power8 implementation.
6684         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6685         * NEWS: Update.
6687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6688         Add strncpy-power8 and stpncpy-power8 objects.
6689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6690         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6691         implementations.
6692         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6693         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6694         __stpncpy_power8 implementation.
6695         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6696         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6697         __strncpy_power8 implementation.
6698         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6699         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6700         * NEWS: Update.
6702         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6703         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6704         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6707         strncat-power8 object.
6708         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6709         __strcat_power8 implementation.
6710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6711         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6712         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6713         optimized strcat for power8.
6715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6716         strcpy-power8 and stpcpy-power8 objects.
6717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6718         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6719         implementations.
6720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6721         multiarch stpcpy implementation for POWER8.
6722         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6723         multiarch strcpy implementation for POWER8.
6724         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6725         __strcpy_power8 function.
6726         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6727         stpcpy for POWER8.
6728         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6729         strcpy for POWER8.
6730         * NEWS: Update.
6732 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6734         [BZ #16009]
6735         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6736         weights and rules. Use do_xfrm_cached if data fits in cache,
6737         do_xfrm otherwise.  Moved former main loop to...
6738         * (do_xfrm_cached): New function.
6739         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6740         find_idx, find_position and stack_push.
6741         * (find_idx): New function.
6742         * (find_position): Likewise.
6743         * localedata/sort-test.sh: Added test run for do_xfrm.
6744         * localedata/xfrm-test.c (main): Added command line option
6745         -nocache to run the test with strings that are too large for
6746         the STRXFRM cache.
6748 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6750         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6751         variable to lll_futex_wake call, not the value itself.
6753 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6755         [BZ #17803]
6756         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6757         twom64.  Adjust value to 0x1p-64L.
6758         (__scalblnl): Only return standard underflowing result for K <=
6759         -64 not K <= -63; adjust exponent for underflowing result by 64
6760         not 63.
6761         * math/libm-test.inc (scalbn_test_data): Add more tests.
6762         (scalbln_test_data): Likewise.
6764         [BZ #17834]
6765         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6766         0x1p63L.
6767         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6768         not HX.
6769         * math/libm-test.inc (scalbn_test_data): Add more tests.
6770         (scalbln_test_data): Likewise.
6772 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6773             Stefani Seibold  <stefani@seibold.net>
6775         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6776         (sysdep_routines): Add dl-vdso here, ...
6777         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6778         (sysdep_routines): ... not here.
6779         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6780         fallback when vDSO is not presented.
6781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6782         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6783         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6784         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6785         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6786         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6787         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6788         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6789         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6790         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6791         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6792         fallback configurable symbol when vDSO is not available.
6793         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6794         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6795         be able to redefine fallback symbol when vDSO is not available.
6796         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6797         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6799 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6801         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6802         (TLS_INIT_TP): Add tm_capable initialization.
6803         (TLS_DEFINE_INIT_TP): Likewise.
6804         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6805         TCB.
6806         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6807         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6808         calculation.
6809         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6810         transactoion is lock elision is built and TCB tm_capable is set.
6811         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6813         (INTERNAL_SYSCALL_NCS): Likewise.
6814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6815         (INTERNAL_SYSCALL_NCS): Likewise.
6816         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6818         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6819         for powerpc.
6820         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6821         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6822         and remove it for 32 bits case.
6823         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6825         initialization.
6826         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6827         Disable lock elision with rdlocks if elision is not available.
6829         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6830         (sysdep_routines): Add lock elision objects.
6831         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6832         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6833         [pthread_mutex_t] (__elision): Add field.
6834         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6835         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6836         elision definitions for powerpc.
6837         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6838         implementation of lock elision for powerpc.
6839         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6840         implementation of timed lock elision for powerpc.
6841         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6842         implementation of trylock with lock elision for powerpc.
6843         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6844         implementaion of unlock for lock elision for powerpc.
6845         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6846         automatic enable lock elision for mutexes.
6847         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6848         transaction execution definitions for powerpc.
6849         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6850         definitions.
6851         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6852         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6854         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6855         * NEWS: Update.
6857 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6859         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6860         for #include of <shm-directory.h>.
6862 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6864         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6865         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6867 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6869         [BZ #17791]
6870         * NEWS: Mention bug fix.
6871         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6872         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6873         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6875 2015-01-09  Torvald Riegel <triegel@redhat.com>
6877         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6879 2015-01-09  Torvald Riegel <triegel@redhat.com>
6881         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6883 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6885         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6886         pointer and cast to uintptr_t.
6888 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6890         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6891         removed.
6892         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6894 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6896         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6897         of 0.
6899 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6901         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6902         <nptl/pthreadP.h> instead.
6903         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6905         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6906         already defined.
6907         [__SIGRTMIN] (init): Function removed.
6908         [__SIGRTMIN] (initialized): Variable removed.
6909         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6910         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6911         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6912         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6913         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6914         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6915         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6916         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6917         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6918         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6919         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6920         * sysdeps/nptl/allocrtsig.c: New file.
6921         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6922         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6923         * sysdeps/generic/testrtsig.h: File removed.
6925         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6926         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6928         * nptl/nptl-init.c (pthread_functions): Conditionalize
6929         .ptr__nptl_setxid initialization on [SIGSETXID].
6931         * sysdeps/nptl/sys/procfs.h: New file.
6932         * nptl_db/Makefile (headers): Add it.
6933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6935         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6936         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6937         * nptl/pthread_attr_setaffinity.c: Include it.
6938         * nptl/pthread_setattr_default_np.c: Likewise.
6939         * nptl/check-cpuset.h: New file.
6941 2015-01-08  Richard Henderson  <rth@redhat.com>
6943         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6944         (CFLAGS-tst-execstack-prog.c): Likewise.
6945         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6947 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6948             Sandra Loosemore  <sandra@codesourcery.com>
6949             Andrew Jenner  <andrew@codesourcery.com>
6950             Joseph Myers  <joseph@codesourcery.com>
6951             Nathan Sidwell  <nathan@codesourcery.com>
6953         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6954         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6955         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6956         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6957         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6958         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6959         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6960         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6961         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6962         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6963         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6964         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6965         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6966         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6967         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6968         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6969         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6971 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6973         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6974         timespec struct member in syscall macro.
6975         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6976         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6977         first timeval struct member in syscall macro.
6978         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6980 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6982         [BZ #17748]
6983         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6984         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6985         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6986         __feupdateenv and define as weak alias of __feupdateenv.  Use
6987         libm_hidden_weak.
6988         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6989         libm_hidden_def.
6990         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6991         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6992         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6993         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6994         libm_hidden_def.
6995         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6996         __feupdateenv and define as weak alias of __feupdateenv.  Use
6997         libm_hidden_weak.
6998         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6999         libm_hidden_def.
7000         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7001         __feupdateenv and define as weak alias of __feupdateenv.  Use
7002         libm_hidden_weak.
7003         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7004         libm_hidden_def.
7005         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7006         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7007         (__feupdateenv): Likewise.
7008         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7009         __feupdateenv and define as weak alias of __feupdateenv.  Use
7010         libm_hidden_weak.
7011         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7012         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7013         libm_hidden_def.
7014         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7015         function.
7016         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7017         libm_hidden_def.
7018         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7019         __feupdateenv instead of feupdateenv.
7020         (default_libc_feupdateenv_test): Likewise.
7021         (libc_feresetround_ctx): Likewise.
7023 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7025         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7026         prototype.
7028 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7030         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7031         COLL_SYM in a couple of places to avoid uninitialized variable
7032         wanings on tilegx gcc 4.8.2.
7034 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7036         * sysdeps/aarch64/strcpy.S: New file.
7037         * sysdeps/aarch64/stpcpy.S: New file.
7038         * NEWS: Updated.
7040 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7042         * sysdeps/aarch64/strrchr.S: New file.
7043         * NEWS: Updated.
7045 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7047         [BZ #17658]
7048         * stdlib/setenv.c: Fix memory leak when setting large,
7049         duplicate string.
7051 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7053         [BZ #17273]
7054         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7055         and tabs from buffer before parsing fstab entry.
7056         * misc/tst-mntent.c (main): Add test for mount entry with
7057         trailing spaces and tabs.
7059 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7061         [BZ #17748]
7062         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7063         * math/fesetround.c (fesetround): Rename to __fesetround and
7064         define as weak alias of __fesetround.  Use libm_hidden_weak.
7065         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7066         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7067         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7068         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7069         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7070         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7071         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7072         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7073         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7074         __fesetround_inline.
7075         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7076         __fesetround_inline instead of __fesetround.
7077         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7078         __fesetround and define as weak alias of __fesetround.  Use
7079         libm_hidden_weak.  Call __fesetround_inline instead of
7080         __fesetround.
7081         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7082         __fesetround and define as weak alias of __fesetround.  Use
7083         libm_hidden_weak.
7084         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7085         Likewise.
7086         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7087         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7088         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7089         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7090         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7091         __fesetround and define as weak alias of __fesetround.  Use
7092         libm_hidden_weak.
7093         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7094         __fesetround instead of fesetround.
7095         (default_libc_feholdexcept_setround): Likewise.
7096         (libc_feholdsetround_ctx): Likewise.
7097         (libc_feholdsetround_noex_ctx): Likewise.
7099         [BZ #17748]
7100         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7101         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7103         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7104         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7105         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7106         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7107         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7108         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7109         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7110         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7111         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7112         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7113         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7114         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7115         libm_hidden_def.
7116         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7118         Likewise.
7119         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7120         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7121         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7122         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7123         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7124         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7125         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7126         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7127         __fesetenv instead of fesetenv.
7128         (libc_feresetround_noex_ctx): Likewise.
7129         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7130         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7131         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7132         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7133         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7134         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7135         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7136         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7137         (__feupdateenv): Likewise.
7138         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7139         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7140         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7141         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7143 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7145         [BZ #17806]
7146         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7147         addresses have been freed.
7149 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7151         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7152         and nservall.
7154 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7156         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7157         Clean up check_pf allocation pattern. addresses
7159 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7161         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7162         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7163         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7164         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7165         * nptl/pthread_join.c (pthread_join): Likewise.
7166         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7167         * sysdeps/posix/waitid.c (__waitid): Likewise.
7168         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7169         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7170         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7171         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7173         Likewise.
7174         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7175         (__libc_pread64): Likewise.
7176         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7177         (__libc_pwrite): Likewise.
7178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7179         (__libc_pwrite64): Likewsie.
7180         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7181         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7182         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7183         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7184         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7185         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7186         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7190         (__libc_pread64): Likewise.
7191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7194         (__libc_pwrite64): Likewise.
7195         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7196         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7197         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7198         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7199         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7200         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7201         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7202         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7203         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7204         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7205         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7206         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7207         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7208         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7209         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7210         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7211         Likewise.
7213 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7215         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7216         (CFLAGS-test-double.c): Likewise.
7217         (CFLAGS-test-ldouble.c): Likewise.
7218         (CPPFLAGS-test-ifloat.c): Likewise.
7219         (CPPFLAGS-test-idouble.c): Likewise.
7220         (CPPFLAGS-test-ildoubl.c): Likewise.
7221         (CFLAGS-test-test-fenv.c): Remove variable.
7222         (CFLAGS-test-misc.c): Likewise.
7224 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7226         [BZ #17797]
7227         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7228         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7229         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7230         CLOCKS_PER_SEC == 1000000.
7231         * time/clocktest.c (main): Replace %ld with %jd and cast to
7232         intmax_t.
7234 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7236         * sysdeps/generic/unwind-resume.h: New file.
7237         * sysdeps/gnu/unwind-resume.c: Include it.
7238         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7239         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7240         argument list.
7241         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7242         global rather than static.
7243         (_Unwind_Resume): Update user.
7244         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7245         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7246         rather than static.  Add __attribute__ ((cold)).
7247         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7248         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7249         * sysdeps/arm/arm-unwind-resume.S: New file.
7250         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7251         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7252         * sysdeps/arm/Makefile [$(subdir) = csu]
7253         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7254         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7255         Add rt-arm-unwind-resume.
7256         [$(subdir) = nptl]
7257         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7258         Add pt-arm-unwind-resume.
7259         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7260         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7262 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7264         [BZ #17748]
7265         * include/fenv.h (__feholdexcept): Declare.  Use
7266         libm_hidden_proto.
7267         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7268         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7269         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7270         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7271         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7272         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7273         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7274         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7275         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7276         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7277         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7278         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7279         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7280         (feholdexcept): Likewise.
7281         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7282         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7283         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7284         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7285         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7286         __feholdexcept instead of feholdexcept.
7287         (default_libc_feholdexcept_setround): Likewise.
7289 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7291         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7292         to avoid using stl/str to align destination.
7294 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7296         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7298 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #17796]
7301         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7302         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7303         Define as weak alias not strong alias.
7305 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7307         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7308         bltzal with addiupc.
7309         (RTLD_START): Ditto.
7311 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7313         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7314         for __vdso_* functions in declarations.
7315         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7316         definitions.
7317         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7318         INTERNAL_VSYSCALL): Use struct return types to check for error.
7320         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7321         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7322         function with cast from llround().
7323         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7324         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7325         Define.
7327 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7329         [BZ #17793]
7330         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7331         Define as weak alias not strong alias.
7333         [BZ #17635]
7334         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7335         ...
7336         * ctype/ctype-extn.c: ... here.
7337         (__isblank_l): Move to ...
7338         * ctype/ctype-c99_l.c: ... here.  New file.
7339         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7340         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7341         Remove variable.
7342         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7343         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7344         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7345         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7346         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7348         [BZ #17777]
7349         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7350         (posix_fadvise64): Define as weak alias not strong alias.
7351         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7352         (posix_fallocate64): Likewise.
7353         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7354         Remove variable.
7355         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7356         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7357         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7358         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7359         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7361 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7363         [BZ #16191]
7364         * NEWS: Mention bug fix.
7365         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7366         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7367         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7368         (HOST_STACK_END_ADDR): Likewise.
7370 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7372         [BZ #17748]
7373         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7374         * math/fegetround.c (fegetround): Rename to __fegetround and
7375         define as weak alias of __fegetround.  Use libm_hidden_weak.
7376         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7377         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7378         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7379         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7380         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7381         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7382         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7383         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7384         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7385         Undefine after rather than before function definition; use
7386         parentheses around function name in definition.
7387         (__fegetround): Also undefine macro after function definition.
7388         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7389         __fegetround and define as weak alias of __fegetround.  Use
7390         libm_hidden_weak.  Do not undefine as macro.
7391         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7392         Likewise.
7393         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7394         __fegetround and define as weak alias of __fegetround.  Use
7395         libm_hidden_weak.
7396         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7397         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7398         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7399         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7400         __fegetround and define as weak alias of __fegetround.  Use
7401         libm_hidden_weak.
7402         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7403         __fegetround instead of fegetround.
7405         [BZ #17782]
7406         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7407         Condition macro definition on [__USE_MISC].
7409         [BZ #17781]
7410         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7411         (struct sigaction): Change type of sa_flags field to int.
7413         [BZ #17780]
7414         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7415         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7416         __glibc_reserved0.
7418         * nptl/version.c (banner): Use single year in copyright notice.
7420         * NEWS: Update copyright dates.
7421         * catgets/gencat.c (print_version): Likewise.
7422         * csu/version.c (banner): Likewise.
7423         * debug/catchsegv.sh: Likewise.
7424         * debug/pcprofiledump.c (print_version): Likewise.
7425         * debug/xtrace.sh (do_version): Likewise.
7426         * elf/ldconfig.c (print_version): Likewise.
7427         * elf/ldd.bash.in: Likewise.
7428         * elf/pldd.c (print_version): Likewise.
7429         * elf/sotruss.sh: Likewise.
7430         * elf/sprof.c (print_version): Likewise.
7431         * iconv/iconv_prog.c (print_version): Likewise.
7432         * iconv/iconvconfig.c (print_version): Likewise.
7433         * locale/programs/locale.c (print_version): Likewise.
7434         * locale/programs/localedef.c (print_version): Likewise.
7435         * login/programs/pt_chown.c (print_version): Likewise.
7436         * malloc/memusage.sh (do_version): Likewise.
7437         * malloc/memusagestat.c (print_version): Likewise.
7438         * malloc/mtrace.pl: Likewise.
7439         * manual/libc.texinfo: Likewise.
7440         * nptl/version.c (banner): Likewise.
7441         * nscd/nscd.c (print_version): Likewise.
7442         * nss/getent.c (print_version): Likewise.
7443         * nss/makedb.c (print_version): Likewise.
7444         * posix/getconf.c (main): Likewise.
7445         * scripts/test-installation.pl: Likewise.
7446         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7448 2015-01-02  Will Newton  <will.newton@linaro.org>
7450         * sysdeps/arm/armv7/configure: Removed.
7451         * sysdeps/arm/armv7/configure.ac: Likewise.
7453 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7455         * All files with FSF copyright notices: Update copyright dates
7456         using scripts/update-copyrights.
7457         * intl/plural.c: Regenerated.
7458         * locale/programs/charmap-kw.h: Likewise.
7459         * locale/programs/locfile-kw.h: Likewise.
7461 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7463         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7465 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7467         [BZ #17748]
7468         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7469         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7470         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7471         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7472         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7473         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7474         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7475         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7476         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7477         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7478         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7479         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7480         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7481         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7482         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7483         libm_hidden_def.
7484         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7485         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7486         Likewise.
7487         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7488         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7489         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7490         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7491         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7492         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7493         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7494         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7495         __fegetenv instead of fegetenv.
7496         (libc_feholdsetround_noex_ctx): Likewise.
7498 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7500         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7501         (Elf_MIPS_ABIFlags_v0): New structure.
7502         (EF_MIPS_FP64): Define.
7503         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7504         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7505         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7506         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7507         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7508         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7509         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7510         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7511         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7512         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7513         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7514         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7515         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7516         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7517         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7518         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7519         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7520         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7521         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7522         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7523         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7524         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7525         field.
7526         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7527         EF_MIPS_FP64.
7528         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7529         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7530         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7531         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7532         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7533         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7534         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7535         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7536         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7537         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7538         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7539         record the current FP ABI extension.
7540         (mips-mode-switch): Define to show if kernel headers support mode
7541         switching.
7542         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7543         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7544         supported SYSV ABI version to 3.
7545         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7546         feature.
7548 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7549             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7551         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7552         path.
7553         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7555 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7557         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7558         __fegetround and redefine to call __fegetround.  Remove condition
7559         on [!__NO_MATH_INLINES].
7560         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7561         function.
7562         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7563         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7564         Remove macro.
7565         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7566         instead of <fenv_libc.h>.
7567         (__llrintl): Call fegetround instead of __fegetround.
7568         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7569         instead of <fenv_libc.h>.
7570         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7571         (__lrintl): Call fegetround instead of __fegetround.
7572         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7573         instead of <fenv_libc.h>.
7574         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7575         (__rintl): Call fegetround instead of __fegetround.
7577 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7579         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7580         arrays.
7582 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7584         [BZ #17775]
7585         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7586         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7587         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7589 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7591         * sysdeps/i386/tls-macros.h: Include <features.h>.
7592         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7593         (TLS_IE): Likewise.
7594         (TLS_LD): Likewise.
7595         (TLS_GD): Likewise.
7596         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7597         define for GCC >= 5.0.
7599 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7601         * math/test-fenv.c (test_single_exception, set_single_exc,
7602         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7603         feexcp_mask_test, feenable_test, fe_single_test): Add
7604         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7605         case where they are not used.
7606         * math/libm-test.inc: Likewise.
7607         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7608         unused in the absence of FP rounding/exception support.
7609         * stdio-common/tst-printf-round.c: Likewise.
7610         * stdlib/tst-strtod-round.c: Likewise.
7611         * stdlib/tst-strtod-underflow.c: Likewise.
7613 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7615         [BZ #17723]
7616         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7617         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7618         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7619         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7620         libm_hidden_weak.
7621         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7622         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7623         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7624         libm_hidden_def.
7625         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7626         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7627         libm_hidden_weak.
7628         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7629         Likewise.
7630         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7631         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7632         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7633         libm_hidden_weak.
7634         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7635         libm_hidden_def.
7636         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7637         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7638         (__feraiseexcept): Likewise.
7639         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7640         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7641         libm_hidden_weak.
7642         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7643         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7644         libm_hidden_def.
7645         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7646         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7647         Use libm_hidden_def.
7648         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7649         libm_hidden_def.
7650         (feraiseexcept): Define as weak not strong alias.  Use
7651         libm_hidden_weak.
7652         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7653         New inline function.  Factored out of ...
7654         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7655         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7656         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7657         feraiseexcept.
7658         * math/w_acos.c (__acos): Likewise.
7659         * math/w_asin.c (__asin): Likewise.
7660         * math/w_ilogb.c (__ilogb): Likewise.
7661         * math/w_j0.c (y0): Likewise.
7662         * math/w_j1.c (y1): Likewise.
7663         * math/w_jn.c (yn): Likewise.
7664         * math/w_log.c (__log): Likewise.
7665         * math/w_log10.c (__log10): Likewise.
7666         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7667         * sysdeps/aarch64/fpu/math_private.h
7668         (libc_feupdateenv_test_aarch64): Likewise.
7669         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7670         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7671         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7672         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7673         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7674         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7675         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7676         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7677         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7678         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7680 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7682         [BZ #17732]
7683         * io/test-utime.c (main): Replace %ld with %jd and cast to
7684         intmax_t.
7685         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7686         * nptl/tst-mutex5.c: Include <stdint.h>.
7687         (do_test): Replace %ld with %jd and cast to intmax_t.
7688         * posix/tst-regex.c (run_test): Likewise.
7689         (run_test_backwards): Likewise.
7690         * rt/tst-clock.c: Include <stdint.h>.
7691         (clock_test): Replace %ld with %jd and cast to intmax_t.
7692         * rt/tst-cpuclock1.c: Include <stdint.h>.
7693         (do_test): Replace %lu with %ju and cast to uintmax_t.
7694         * rt/tst-cpuclock2.c: Include <stdint.h>.
7695         (do_test): Replace %lu with %ju and cast to uintmax_t.
7696         * rt/tst-mqueue1.c: Include <stdint.h>.
7697         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7698         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7699         intmax_t.
7700         * rt/tst-mqueue4.c (do_test): Likewise.
7701         * rt/tst-timer4.c: Include <stdint.h>.
7702         (check_ts): Replace %ld with %jd and cast to intmax_t.
7703         (do_test): Likewise.
7704         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7705         and cast to intmax_t.
7706         * sysdeps/pthread/tst-timer.c (main): Likewise.
7707         * time/clocktest.c (main): Likewise.
7708         * time/tst-posixtz.c (do_test): Likewise.
7709         * timezone/tst-timezone.c (main): Likewise.
7711 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7712             H.J. Lu  <hongjiu.lu@intel.com>
7714         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7715         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7716         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7717         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7718         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7719         version if bit_Fast_Unaligned_Load is set.
7720         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7721         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7722         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7723         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7724         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7725         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7727         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7728         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7729         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7730         to 4.
7731         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7732         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7733         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7734         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7736 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7738         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7739         instead of #if to avoid a Wundef warning.
7740         * stdlib/tst-limits.c (do_test): Likewise.
7742         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7743         parallel other exception macros.
7744         (fegetenv): Convert from macro to extern inline so that it applies
7745         retroactively to inline functions already seen by the compiler.
7746         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7748         * posix/Makefile (before-compile): Use $(objpfx) for
7749         posix-conf-vars-def.h.
7751 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7753         * posix/getconf.c (main): Use size_t for type of I.
7754         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7755         NSPEC.
7757         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7758         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7759         * posix/posix-envs.def: Likewise.
7760         * sysdeps/posix/sysconf.c: Likewise.
7761         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7762         (specs): Remove array.
7763         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7764         array.
7766         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7767         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7768         (__sysconf): Use CONF_IS_* macros.
7770         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7771         ($(objpfx)posix-conf-vars-def.h): New target.
7772         * posix/posix-conf-vars.list: New file.
7773         * posix/posix-conf-vars.h: New file.
7774         * posix/confstr.c: Include posix-conf-vars.h.
7775         (confstr): Use CONF_IS_* macros.
7776         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7777         CONF_IS_* macros.
7778         * scripts/gen-posix-conf-vars.awk: New file.
7780 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7782         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7783         fegetround): Add no-op macros to avoid linknamespace issues.
7785         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7786         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7788         * sysdeps/unix/sysv/linux/tile/sysdep.h
7789         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7790         assembly-specific section to avoid a redefinition warning.
7792         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7793         long before casting to pointer to avoid a cast warning.
7795 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7797         * sysdeps/tile/tilegx/Implies: New file.
7799 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7801         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7803 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7805         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7807 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7809         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7810         not define.
7811         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7812         <kernel-features.h>.
7813         (__utimes) [__NR_utimes]: Make code unconditional.
7814         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7815         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7816         (__ASSUME_UTIMES): Do not undefine.
7817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7818         (__ASSUME_UTIMES): Likewise.
7819         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7820         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7821         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7822         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7824 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7826         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7828 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7830         [BZ #17747]
7831         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7832         alias to weak alias for j0l, y0l.
7833         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7834         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7836         [BZ #17746]
7837         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7838         conversion.
7840 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7842         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7843         to zero if not already defined.
7845 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7847         [BZ #17724]
7848         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7849         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7850         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7851         (char *) casts added.
7852         * sysdeps/ieee754/k_standardf.c: New file.
7853         * sysdeps/ieee754/k_standardl.c: Likewise.
7854         * math/Makefile (libm-support): Remove k_standard.
7855         (libm-calls): Add k_standard.
7857 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7859         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7860         Optimize to avoid an unnecessary FPCR read.
7862 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7864         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7865         Optimize to reduce FPCR/FPSR accesses.
7867 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7869         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7870         Call libc_fetestexcept_aarch64.
7872 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7874         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7875         Call libc_fesetround_aarch64.
7877 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7879         [BZ #17733]
7880         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7881         (__bind): Do not define as weak alias.
7882         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7883         define.
7884         (__getsockname): Do not define as weak alias.
7886 2014-12-22  Will Newton  <will.newton@linaro.org>
7888         * manual/install.texi: Document that we require bison 2.7
7889         or above.
7890         * INSTALL: Regenerate.
7891         * configure.ac: Use AC_CHECK_PROG_VER instead of
7892         AC_PATH_PROG when checking for bison and check for
7893         version 2.7 or above.
7894         * configure: Regenerate.
7896 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7898         [BZ #17745]
7899         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7900         * sysdeps/tile/ffsll.c (ffsll): To here.
7902         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7904 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7906         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7907         if not defined.
7908         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7909         definition.
7910         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7911         hidden ___tls_get_addr.
7912         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7913         hidden __tls_get_addr.
7914         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7915         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7916         Likewise.
7918 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7920         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7921         _dl_init call.
7923 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7925         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7926         from "call _dl_init@PLT".
7927         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7929 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7931         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7932         guarantees.
7934 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7936         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7938 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7940         [BZ #17744]
7941         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7942         strnlen.
7944 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7946         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7947         of multu on MIPSr6.
7948         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7949         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7950         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7951         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7952         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7954 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7956         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7957         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7958         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7959         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7960         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7961         mips32r6/mips64r6.
7962         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7964 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7966         * string/strncat.c (STRNCAT): Simplify implementation.
7968 2014-12-19  David S. Miller  <davem@davemloft.net>
7970         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7971         access the quad as both a long double and as a series of 4 words.
7973         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7974         link_map->l_info array access.
7976 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7978         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7980         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7981         * math/atest-exp2.c (TIMEOUT): Likewise.
7982         * math/atest-sincos.c (TIMEOUT): Likewise.
7984 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7986         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7987         -Wno-error with -fno-builtin-lround.
7989 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7991         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7992         Contains futex constants and functions moved over from ...
7993         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7994         <lowlevellock-futex.h>.
7995         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7996         (lll_timedwait_tid): Add comments and parentheses around macro
7997         arguments.
7999 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8002         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8003         (__lll_private_flag): Remove.
8004         (lll_futex_wait): Likewise.
8005         (lll_futex_timed_wait): Likewise.
8006         (lll_futex_wake): Likewise.
8007         (lll_futex_requeue): Likewise.
8008         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8009         (__lll_timedwait_tid): Spell out argument names.
8010         (lll_timedwait_tid): Add comments and parentheses around macro
8011         arguments.
8012         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8013         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8015 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8017         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8018         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8019         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8020         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8021         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8022         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8023         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8024         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8025         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8026         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8027         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8028         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8029         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8030         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8031         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8032         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8033         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8034         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8035         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8037 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8039         * sysdeps/x86_64/x32/Makefile: New file.
8041 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8043         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8044         1L with (mp_limb_t) 1.
8046 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8048         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8049         * nptl/libc_pthread_init.c: ... here.
8050         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8051         * nptl/register-atfork.c: ... here.
8053         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8054         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8055         Use assert_perror to check its return value.
8056         (__gai_create_helper_thread): Likewise.
8058         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8060         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8062 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8064         [BZ #17725]
8065         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8066         __profil_counter.
8067         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8068         Likewise.
8069         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8070         Likewise.
8071         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8072         Likewise.
8073         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8074         (profil_counter): Likewise.
8075         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8076         (profil_counter): Likewise.
8077         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8078         Likewise.
8079         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8080         Likewise.
8081         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8082         (profil_counter): Likewise.
8083         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8084         Likewise.
8085         [!__profil_counter] (profil_counter): Define as weak alias of
8086         __profil_counter.
8087         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8088         (profil_counter): Rename to __profil_counter.
8089         [!__profil_counter] (profil_counter): Define as weak alias of
8090         __profil_counter.
8091         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8092         (profil_counter): Rename to __profil_counter.
8093         [!__profil_counter] (profil_counter): Define as weak alias of
8094         __profil_counter.
8095         * sysdeps/posix/profil.c: Update comment referring to
8096         profil_counter.
8097         (__profil): Use __profil_counter instead of profil_counter.
8098         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8099         __profil_counter.  Use __profil_counter_ushort and
8100         __profil_counter_uint in definitions.
8101         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8102         instead of profil_counter_uint and profil_counter_ushort.
8104         [BZ #17722]
8105         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8106         define as weak alias of __inet_makeaddr.
8107         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8108         as weak alias of __inet_addr.
8109         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8110         as weak alias of __inet_pton.  Use libc_hidden_weak.
8111         * include/arpa/inet.h (__inet_pton): Declare.  Use
8112         libc_hidden_proto.
8113         (inet_makeaddr): Don't use libc_hidden_proto.
8114         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8115         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8116         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8117         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8118         Remove variable.
8119         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8120         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8122 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8124         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8126 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8128         * stdio-common/bug-vfprintf-nargs.c (do_test):
8129         Cast value to intptr_t to avoid format warning
8130         for usage with PRIdPTR printing macro.
8132 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8134         * libio/tst-widetext.c (do_test):
8135         Use format type %td instead of %Zd for ptrdiff_t
8136         in order to avoid format warning.
8138 2014-12-17  Andreas Schwab  <schwab@suse.de>
8140         * nscd/mem.c (gc): Add size_t cast to match printf format.
8142 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8144         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8145         (init): Apply PTR_MANGLE to pointers before storing them.
8146         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8147         before using them.
8149 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #17719]
8152         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8153         define as weak alias of __memrchr.
8154         (__memrchr): Do not define as strong alias of memrchr.
8155         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8156         Remove variable.
8157         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8158         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8159         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8161         [BZ #17717]
8162         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8163         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8164         (if_indextoname): Rename to __if_indextoname and define as weak
8165         alias of __if_indextoname.  Use libc_hidden_weak.
8166         (if_freenameindex): Rename to __if_freenameindex and define as
8167         weak alias of __if_freenameindex.
8168         (if_nameindex): Rename to __if_nameindex and define as weak alias
8169         of __if_nameindex.
8170         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8171         __if_nametoindex and define as weak alias of __if_nametoindex.
8172         Use libc_hidden_weak.
8173         (if_freenameindex): Rename to __if_freenameindex and define as
8174         weak alias of __if_freenameindex.
8175         (if_nameindex): Rename to __if_nameindex and define as weak alias
8176         of __if_nameindex.
8177         (if_indextoname): Rename to __if_indextoname and define as weak
8178         alias of __if_indextoname.  Use libc_hidden_weak.
8179         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8180         __if_nametoindex and define as weak alias of __if_nametoindex.
8181         Use libc_hidden_weak.
8182         (if_freenameindex): Rename to __if_freenameindex and define as
8183         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8184         (if_nameindex_netlink): Use __if_freenameindex instead of
8185         if_freenameindex.
8186         (if_nameindex): Rename to __if_nameindex and define as weak alias
8187         of __if_nameindex.  Use libc_hidden_weak.
8188         (if_indextoname): Rename to __if_indextoname and define as weak
8189         alias of __if_indextoname.  Use libc_hidden_weak.
8190         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8191         libc_hidden_proto.
8192         [!_ISOMAC] (__if_freenameindex): Likewise.
8193         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8194         if_nametoindex.
8195         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8196         variable.
8197         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8198         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8199         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8200         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8201         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8202         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8203         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8205         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8206         Remove variable.
8207         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8208         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8210 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8212         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8213         subscript above bounds'
8215         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8216         bounds.
8218 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8220         * libio/tst-fopenloc.c: Use test-skeleton.c.
8222         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8223         (entry): Rename to ITEM.
8224         (do_test, comp): Adjust.
8226         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8228 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8230         * string/tester.c: Include <libc-internal.h>.
8231         (test_memset): Ignore -Wmemset-transposed-args.
8233 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8235         * misc/tst-mntent2.c (do_test): Fix warning.
8237 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8239         * elf/tst-unique4lib.cc(a): Mark as used.
8241 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8243         [BZ #17630]
8244         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8245         names.
8247 2014-12-16  Allan McRae  <allan@archlinux.org>
8249         * stdio-common/Makefile (tests): Re-add bug26.
8251 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8253         [BZ #17657]
8254         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8255         static array.
8257 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8259         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8260         (__lll_lock_wait): Likewise.
8261         (__lll_timedlock_wait): Likewise.
8262         (__lll_timedwait_tid): Likewise.
8263         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8264         (__lll_robust_timedlock_wait): Likewise.
8265         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8266         (lll_cond_trylock): Likewise.
8267         (__lll_lock): Likewise.
8268         (__lll_robust_lock): Likewise.
8269         (__lll_cond_lock): Likewise.
8270         (lll_robust_cond_lock): Likewise.
8271         (__lll_timedlock): Likewise.
8272         (__lll_robust_timedlock): Likewise.
8273         (__lll_unlock): Likewise.
8274         (__lll_robust_unlock): Likewise.
8275         (lll_wait_tid): Likewise.
8276         (lll_timedwait_tid): Likewise.
8278 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8280         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8282 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8284         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8286 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8288         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8289         * stdio-common/tst-sprintf.c: Likewise.
8291 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8293         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8295 2014-12-15  Jeff Law  <law@redhat.com>
8297         [BZ #16617]
8298         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8299         on the heap.  (CVE-2012-3406)
8300         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8301         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8302         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8304 2014-12-15  Will Newton  <will.newton@linaro.org>
8306         * manual/install.texi: Bump required version of texinfo
8307         to 4.7 from 4.5.
8308         * INSTALL: Regenerated.
8309         * configure.ac: Check for makeinfo version 4.7 and above.
8310         * configure: Regenerated.
8312 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8314         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8315         PREFIX, string constant to insert between directory and name.
8316         * sysdeps/posix/shm_open.c: Update caller.
8317         * sysdeps/posix/shm_unlink.c: Likewise.
8318         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8319         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8320         (SEM_SHM_PREFIX): New macro.
8321         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8322         [$(have-thread-library) = no].
8323         * nptl/Makefile (libpthread-routines): Add shm-directory.
8324         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8325         * sysdeps/nptl/shm-directory.h: New file.
8326         * sysdeps/posix/shm-directory.c
8327         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8328         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8329         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8330         INTERNAL_SYSCALL.
8331         (__where_is_shmfs): Function removed.
8332         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8333         Variables removed.
8334         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8335         Use SHM_GET_NAME.
8336         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8338         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8339         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8340         unconditional for use inside libpthread.
8341         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8343 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8345         * nptl/pthread_getaffinity.c: New file.
8346         * nptl/pthread_setaffinity.c: New file.
8347         * nptl/pthread_getname.c: New file.
8348         * nptl/pthread_setname.c: New file.
8350         * nptl/pthread_create.c (START_THREAD_DEFN)
8351         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8353 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8354             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8356         * resolv/res_send.c (send_vc): Disable warning resplen may
8357         be used uninitialized.
8359 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8361         * nptl/tst-mutex6.c
8362         (ATTR_NULL): New define checks ATTR against NULL.
8363         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8364         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8366 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8368         [BZ #17581]
8369         * malloc/hooks.c
8370         (mem2mem_check): Revert my previous change.
8371         (malloc_check_get_size): Revert my previous change.
8372         (mem2chunk_check): Revert my previous change.
8374 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8376         * sysdeps/posix/shm-directory.c: New file.
8377         * sysdeps/posix/shm-directory.h: New file.
8378         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8379         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8380         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8381         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8382         Transmute EPERM to EACCES.
8383         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8384         from ...
8385         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8386         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8388 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8390         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8391         pointer and cast to uintptr_t.
8392         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8393         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8394         Add cast to avoid warning.
8395         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8397 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8399         * nptl/semaphore.h: Move to ...
8400         * sysdeps/pthread/semaphore.h: ... here.
8401         * Makefile (installed-headers): Change nptl/semaphore.h to
8402         sysdeps/pthread/semaphore.h.
8404 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8406         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8407         generated error format strings.
8409         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8410         -Wformat-extra-args warnings for scanf formats.
8411         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8412         test of zero-length format (duh).
8413         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8414         corner-case scanf format test.
8415         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8416         generated fprintf format string.
8417         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8418         corner-case sprintf format tests.
8419         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8420         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8421         -Wformat-extra-args warnings throughout.
8422         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8423         (CFLAGS-scanf4.c): Likewise.
8424         (CFLAGS-scanf7.c): Likewise.
8425         (CFLAGS-tst-sprintf.c): Likewise.
8426         (CFLAGS-tst-printf.c): Likewise.
8427         (CFLAGS-tst-printfsz.c): Likewise.
8429 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8431         * include/cpio.h: New file.
8432         * include/fmtmsg.h: Likewise.
8434         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8435         corresponding format argument to size_t.
8436         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8437         arguments.
8438         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8439         corresponding format argument to size_t.
8440         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8441         arguments.
8442         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8443         corresponding format argument to size_t.
8444         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8445         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8446         (CFLAGS-tst-mbswcs2.c): Likewise.
8447         (CFLAGS-tst-mbswcs3.c): Likewise.
8448         (CFLAGS-tst-mbswcs4.c): Likewise.
8449         (CFLAGS-tst-mbswcs5.c): Likewise.
8450         (CFLAGS-tst-trans.c): Likewise
8452 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8454         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8455         rather than assuming they won't contain any '%'s.
8457 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8459         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8460         inhibit_loop_to_libcall to avoid recursive calls.
8461         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8462         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8464 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8466         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8467         prototype.
8469 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8471         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8472         integer value instead of boolean.
8474 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8476         * malloc/malloc.c: Fix powerof2 check.
8478 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8480         * locale/programs/locfile.h (maybe_swap_uint32):
8481         Remove inline and add unused attribute.
8483 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8486         Truncating assembler expression to a .long expression.
8488 2014-12-11  Andreas Schwab  <schwab@suse.de>
8490         * elf/rtld.c (struct map_args): Constify str member.
8491         (do_preload): Constify fname argument.
8493 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8495         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8496         constants definition.
8498 2014-12-11  Andreas Schwab  <schwab@suse.de>
8500         [BZ #16657]
8501         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8502         FORCE_ELISION instead of DO_ELISION.
8503         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8504         Remove.
8505         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8506         Likewise.
8508         * iconvdata/gconv-modules: Remove duplicate entry.
8510 2014-12-11  Will Newton  <will.newton@linaro.org>
8512         Merge gettext 0.19.3 into intl/.
8514         This involves a number of cosmetic changes to comments
8515         and ANSI function definitions and prototypes throughout
8516         all the files. The gettext copyright header is used but
8517         with the date ranges taken from the glibc copy.
8519         * NEWS: Add gettext merge to 2.21.
8520         * intl/bindtextdom.c: Switch to gettext copyright.
8521         Use ANSI definitions and prototypes.
8522         Use gl_* locking primitives rather than __libc_* ones.
8523         Use __builtin_expect rather than __glibc_likely/unlikely.
8524         * intl/dcgettext.c: Switch to gettext copyright.
8525         Use ANSI definitions and prototypes.
8526         * intl/dcigettext.c: Switch to gettext copyright.
8527         Use ANSI definitions and prototypes.
8528         (INTDIV0_RAISES_SIGFPE): New define.
8529         Use gl_* locking primitives rather than __libc_* ones.
8530         Include eval-plural.h instead of plural-eval.c.
8531         Use __builtin_expect rather than __glibc_likely/unlikely.
8532         * intl/dcngettext.c: Switch to gettext copyright.
8533         Use ANSI definitions and prototypes.
8534         * intl/dgettext.c: Likewise.
8535         * intl/dngettext.c: Likewise.
8536         * intl/plural-eval.c: Renamed to...
8537         * intl/eval-plural.h: ...this.
8538         * intl/explodename.c: Switch to gettext copyright.
8539         Use ANSI definitions and prototypes.
8540         (_nl_explode_name): Use strchr instead of __rawmemchr.
8541         * intl/finddomain.c: Switch to gettext copyright.
8542         Use ANSI definitions and prototypes.
8543         Use gl_* locking primitives rather than __libc_* ones.
8544         (_nl_find_domain): Use malloc rather than alloca for
8545         allocation of temporary locale name.
8546         * intl/gettext.c: Switch to gettext copyright.
8547         Use ANSI definitions and prototypes.
8548         * intl/gettextP.h: Switch to gettext copyright.
8549         Use ANSI definitions and prototypes.
8550         Use gl_* locking primitives rather than __libc_* ones.
8551         * intl/gmo.h: Switch to gettext copyright.
8552         (struct sysdep_string): Move struct segment_pair outside of
8553         struct definition.
8554         * intl/hash-string.c: Use ANSI definitions and prototypes.
8555         * intl/hash-string.h: Switch to gettext copyright.
8556         Use ANSI definitions and prototypes.
8557         * intl/l10nflist.c: Switch to gettext copyright.
8558         Use ANSI definitions and prototypes.
8559         (_nl_normalize_codeset): Avoid integer overflow.
8560         * intl/loadinfo.h: Switch to gettext copyright.
8561         Use ANSI definitions and prototypes.
8562         (LIBINTL_DLL_EXPORTED): New define.
8563         (PATH_SEPARATOR): New define.
8564         * intl/loadmsgcat.c: Switch to gettext copyright.
8565         * intl/localealias.c: Switch to gettext copyright.
8566         Use ANSI definitions and prototypes.
8567         (_nl_expand_alias): Use PATH_SEPARATOR.
8568         * intl/ngettext.c: Switch to gettext copyright.
8569         Use ANSI definitions and prototypes.
8570         * intl/plural-exp.c: Likewise.
8571         * intl/plural-exp.h: Switch to gettext copyright.
8572         Use ANSI definitions and prototypes.
8573         (struct expression): Move definition of enum operator outside
8574         of struct definition.
8575         * intl/plural.c: Regenerate.
8576         * intl/plural.y: Switch to gettext copyright.
8577         Use ANSI definitions and prototypes.
8578         Port to bison 3.0.
8579         * intl/textdomain.c: Switch to gettext copyright.
8580         Use ANSI definitions and prototypes.
8581         Use gl_* locking primitives rather than __libc_* ones.
8583 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8585         * debug/warning-nop.c: Add used atrribute.
8587 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8589         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8591         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8592         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8593         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8595 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8596             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8598         [BZ #17634]
8599         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8600         Undefine after defining function.  Define as weak alias of
8601         __wcschr.  Use libc_hidden_weak.
8602         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8603         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8604         (libc_hidden_def): Also define __GI___wcschr alias.
8605         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8606         __wcschr and define as weak alias of __wcschr.
8607         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8608         __wcschr.
8609         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8610         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8611         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8612         libc_hidden_weak.  Do not use libc_hidden_def.
8613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8614         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8615         __GI___wcschr alias.
8616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8617         [IS_IN (libc)] (wcschr): Define as macro expanding to
8618         __redirect_wcschr.
8619         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8620         [IS_IN (libc)] (__wcschr_power6): Likewise.
8621         [IS_IN (libc)] (__wcschr_power7): Likewise.
8622         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8623         instead of wcschr.
8624         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8625         __libc_wcschr.
8626         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8627         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8628         __wcschr and define as weak alias of __wcschr.  Use
8629         libc_hidden_builtin_def.
8630         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8631         as weak alias of __wcschr.  Use libc_hidden_weak.
8632         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8633         wcschr.
8634         * time/era.c (_nl_init_era_entries): Likewise.
8635         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8636         variable.
8637         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8638         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8640 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8642         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8643         format for long int variable.
8645 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8647         [BZ #10672]
8648         * manual/search.texi: (Array Sort Function): Remove claim how to make
8649         qsort stable.
8651 2014-12-10  Andreas Schwab  <schwab@suse.de>
8653         [BZ #12847]
8654         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8655         user-controlled locks.
8657 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8659         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8660         register.
8662 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8664         * configure.ac (--disable-werror): New configure option.
8665         (enable_werror): New AC_SUBST.
8666         * configure: Regenerated.
8667         * config.make.in (enable-werror): New variable.
8668         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8669         -Wno-error=undef.
8670         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8671         * manual/install.texi (Configuring and compiling): Document
8672         --disable-werror.
8673         * INSTALL: Regenerated.
8674         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8675         (CFLAGS-tst-chk2.c): Likewise.
8676         (CFLAGS-tst-chk3.c): Likewise.
8677         (CFLAGS-tst-chk4.cc): Likewise.
8678         (CFLAGS-tst-chk5.cc): Likewise.
8679         (CFLAGS-tst-chk6.cc): Likewise.
8680         (CFLAGS-tst-lfschk1.c): Likewise.
8681         (CFLAGS-tst-lfschk2.c): Likewise.
8682         (CFLAGS-tst-lfschk3.c): Likewise.
8683         (CFLAGS-tst-lfschk4.cc): Likewise.
8684         (CFLAGS-tst-lfschk5.cc): Likewise.
8685         (CFLAGS-tst-lfschk6.cc): Likewise.
8687         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8688         (main): Disable -Wdeprecated-declarations around calls to
8689         register_printf_function.
8691         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8692         (do_test): Disable -Wdiv-by-zero around some calls to
8693         fwrite_unlocked and fread_unlocked.
8695         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8696         (DIAG_POP_NEEDS_COMMENT): Likewise.
8697         (_DIAG_STR1): Likewise.
8698         (_DIAG_STR): Likewise.
8699         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8700         * stdio-common/bug21.c: Include <libc-internal.h>.
8701         (do_test): Disable -Wformat around call to sscanf.
8702         * stdio-common/scanf14.c: Include <libc-internal.h>.
8703         (main): Disable -Wformat around some calls to scanf functions.
8705 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8707         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8709 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8711         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8712         stack variable alignment.
8714 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8716         [BZ #17682]
8717         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8718         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8719         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8720         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8721         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8722         __getrlimit instead of getrlimit.
8723         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8724         __gettimeofday instead of gettimeofday.
8725         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8726         Likewise.
8727         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8728         Likewise.
8729         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8730         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8731         Remove variable.
8732         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8733         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8735 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8737         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8738         for wide-character tests.
8740 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8742         * io/openat64.c: #include <libc-internal.h>
8743         (__openat64): Prototypify.  Use ignore_value on MODE.
8744         * io/openat.c: Likewise.
8745         * misc/reboot.c: #include <libc-internal.h>
8746         (reboot): Prototypify.  Use ignore_value on HOWTO.
8747         * misc/ptrace.c: #include <libc-internal.h>
8748         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8750 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8752         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8753         XPG4, UNIX98 and XOPEN2K.
8754         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8755         Remove variable.
8756         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8758 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8760         * libio/fileops.c: Use ISO C style for function definitions.
8761         * libio/iofopen.c: Likewise.
8762         * libio/wfileops.c: Likewise.
8764         [BZ #17653]
8765         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8766         offset on EOF.
8767         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8768         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8769         (fgets_func): Function pointer to fgets and fgetws.
8770         (do_ftell_test): Add test to verify ftell value after read
8771         EOF.
8772         (do_test): Set fgets_func.
8774         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8775         O_TRUNC flag for w and w+ modes.
8776         (do_rewind_test): Likewise.
8777         (do_ftell_test): Likewise.
8778         (do_write_test): Likewise.
8780         [BZ #17647]
8781         * libio/fileops.c (do_ftell): Seek only when there are
8782         unflushed writes.
8783         * libio/wfileops.c (do_ftell_wide): Likewise.
8784         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8785         test case.
8786         (do_one_test): Call it.
8788 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8790         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8791         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8792         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8793         Remove variable.
8794         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8795         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8796         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8798 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8800         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8801         Remove variable.
8802         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8804         [BZ #17668]
8805         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8806         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8807         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8808         __freeifaddrs.  Use libc_hidden_weak.
8809         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8810         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8811         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8812         __freeifaddrs.  Use libc_hidden_weak.
8813         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8814         __getifaddrs and define as weak alias of __getifaddrs.  Use
8815         libc_hidden_weak.
8816         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8817         __freeifaddrs.  Use libc_hidden_weak.
8818         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8819         Remove variable.
8820         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8821         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8823 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8825         [BZ #17601]
8826         * sysdeps/mips/start.S (__start): Use indirect jump to call
8827         __libc_start_main.
8829 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8831         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8833         * nptl/tst-mutex1.c: Include <stdbool.h>.
8834         [!ATTR] (ATTR_NULL): New macro.
8835         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8836         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8837         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8839         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8840         to char *.
8842         [BZ #17665]
8843         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8844         Change conditional to [__USE_MISC].
8846         [BZ #17664]
8847         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8848         fgets_unlocked.
8849         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8850         __fgets_unlocked.
8851         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8852         fgets_unlocked.
8853         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8854         Remove variable.
8855         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8856         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8857         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8858         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8859         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8860         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8861         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8862         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8863         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8865         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8867 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8870         Remove strpbrk objects.
8871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8872         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8873         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8874         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8875         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8876         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8878         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8879         Remove strcspn objects.
8880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8881         (__libc_ifunc_impl_list): Remove strcspn implementation.
8882         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8883         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8884         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8885         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8888         Remove strspn objetcs.
8889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8890         (__libc_ifunc_impl_list): Remove strspn implementation.
8891         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8892         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8893         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8894         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8896 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8898         [BZ #17581]
8899         * malloc/hooks.c
8900         (mem2mem_check): Add a terminator to the chain of checking blocks.
8901         (malloc_check_get_size): Use it here.
8902         (mem2chunk_check): Ditto.
8904 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8906         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8907         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8909 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8911         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8913         * nptl/nptl-init.c: Include libc-internal.h.
8914         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8916         * elf/ldconfig.c (search_dir): Expand comment.
8918 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8920         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8921         variable.
8922         (linknamespace-symlist-stdlibs-tests): Likewise.
8923         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8924         instead of $(objpfx)symlist-stdlibs.
8925         (linknamespace-libs-isoc): New variable.
8926         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8927         (linknamespace-libs-ISO): New variable.
8928         (linknamespace-libs-ISO99): Likewise.
8929         (linknamespace-libs-ISO11): Likewise.
8930         (linknamespace-libs-XPG3): Likewise.
8931         (linknamespace-libs-XPG4): Likewise.
8932         (linknamespace-libs-POSIX): Likewise.
8933         (linknamespace-libs-UNIX98): Likewise.
8934         (linknamespace-libs-XOPEN2K): Likewise.
8935         (linknamespace-libs-POSIX2008): Likewise.
8936         (linknamespace-libs-XOPEN2K8): Likewise.
8937         ($(objpfx)symlist-stdlibs): Replace by
8938         $(linknamespace-symlist-stdlibs-tests).  Use
8939         $(linknamespace-libs-$*) as set of libraries.
8940         ($(linknamespace-header-tests)): Update dependencies.  Use
8941         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8942         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8943         * conform/linknamespace.pl: Remove comment about considering
8944         definitions of symbols from irrelevant libraries.
8946 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8948         [BZ #13862]
8949         * elf/dl-tls.c: Include <atomic.h>.
8950         (oom): Remove #ifdef SHARED/#endif.
8951         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8952         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8953         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8954         big enough.
8955         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8956         * nptl/Makefile (tests): Add tst-stack4.
8957         (modules-names): Add tst-stack4mod.
8958         ($(objpfx)tst-stack4): New.
8959         (tst-stack4mod.sos): Likewise.
8960         ($(objpfx)tst-stack4.out): Likewise.
8961         ($(tst-stack4mod.sos)): Likewise.
8962         (clean): Likewise.
8963         * nptl/tst-stack4.c: New file.
8964         * nptl/tst-stack4mod.c: Likewise.
8966 2014-11-27  J. Brown  <jb999@gmx.de>
8968         * sysdeps/x86/bits/string.h: Add recent CPUs.
8970 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8972         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8973         sigblock.
8975         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8976         feof.
8978         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8979         variable.
8981 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8983         * nscd/connections.c: Include libc-internal.h because of macro
8984         usage ignore_value.
8986 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8988         * string/bits/string3.h (__warn_memset_zero_len): Don't
8989         declare for gcc newer than 5.0.
8990         (memset): Don't test for zero-length __LEN for gcc newer than
8991         5.0.
8993 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8995         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8996         size_t for %zu format.
8998         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8999         difference, not %ju.
9001 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9003         * include/libc-internal.h (ignore_value): New macro.
9004         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9005         with ignore_value.
9007         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9008         definition.
9010         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9011         pthread_cleanup_push to void *.
9013         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9014         Undefine.
9016         [BZ #16619]
9017         [BZ #16740]
9018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9019         instead of 1L << 52.
9021         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9022         * libio/bug-rewind2.c (do_test): Likewise.
9024         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9025         * debug/test-strcpy_chk-ifunc.c: Likewise.
9026         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9027         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9028         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9029         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9030         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9031         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9032         * Rules [$(multi-arch) = no] (tests): Do not filter out
9033         $(tests-ifunc).
9034         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9035         * debug/Makefile (tests-ifunc): Remove variable.
9036         (tests): Do not add $(tests-ifunc).
9037         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9038         (tests): Do not add $(tests-ifunc).
9039         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9040         [TEST_IFUNC]: Remove conditionals.
9041         * string/test-string.h (TEST_IFUNC): Remove macro.
9042         [TEST_IFUNC]: Remove conditionals.
9044         * string/test-strchr.c [!WIDE] (L): New macro.
9045         [WIDE] (L): Likewise.
9046         (check1): Use CHAR instead of char.  Use L on string and character
9047         constants.
9049 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9051         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9052         tests.
9053         * sysdeps/powerpc/bits/atomic.h
9054         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9055         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9056         (atomic_exchange_and_add_acq): Likewise.
9057         (atomic_exchange_and_add_rel): Likewise.
9058         * sysdeps/powerpc/powerpc32/bits/atomic.h
9059         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9060         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9061         * sysdeps/powerpc/powerpc64/bits/atomic.h
9062         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9063         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9065 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9067         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9068         Change synchronization of __sched_fifo_min_prio and
9069         __sched_fifo_max_prio.
9070         * nptl/pthread_mutexattr_getprioceiling.c
9071         (pthread_mutexattr_getprioceiling): Likewise.
9072         * nptl/pthread_mutexattr_setprioceiling.c
9073         (pthread_mutexattr_setprioceiling): Likewise.
9074         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9075         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9076         Likewise.
9078 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9080         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9081         void.
9083 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9085         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9086         third argument const.
9088 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9090         fnmatch: work around GCC compiler warning bug with uninit var
9091         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9092         This works around a bug with x86-64 GCC 4.9.2 and earlier
9093         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9094         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9095         used uninitialized in this function [-Wmaybe-uninitialized]".
9097 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9099         * posix/bug-regex31.c (main): Return RES not 0.
9101 2014-11-25  Anton Blanchard <anton@samba.org>
9103         * sysdeps/powerpc/bits/atomic.h
9104         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9106 2014-11-24  Sterling Augustine  <saugustine@google.com>
9108         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9110 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9112         [BZ #17608]
9113         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9115 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9117         [BZ #17633]
9118         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9119         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9120         variable.
9121         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9122         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9124 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9126         * string/strncpy.c (strncpy): Improve performance by using memset.
9128 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9130         * string/strcpy.c (strcpy):
9131         Improve performance by using strlen and memcpy.
9133 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9135         * string/strcoll_l.c (get_next_seq): __always_inline.
9136         * string/strcoll_l.c (do_compare): __always_inline.
9138 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9140         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9141         defined.
9142         * include/mqueue.h: Likewise.
9143         * include/stdlib.h: Likewise.
9145         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9146         (get_null_defines): Adjust.
9147         * sunrpc/Makefile: Adjust comment.
9148         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9149         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9150         (CFLAGS-interp.c): Likewise.
9151         (CFLAGS-ldconfig.c): Likewise.
9152         (CPPFLAGS-.os): Likewise.
9153         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9154         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9155         * extra-modules.mk (extra-modules.mk): Likewise.
9156         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9157         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9158         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9159         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9160         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9161         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9162         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9163         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9164         * iconvdata/Makefile (CPPFLAGS): Likewise.
9165         (cpp-srcs-left): Add libof for all iconvdata routines.
9166         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9167         * include/assert.h: Likewise.
9168         * include/ctype.h: Likewise.
9169         * include/errno.h: Likewise.
9170         * include/libc-symbols.h: Likewise.
9171         * include/math.h: Likewise.
9172         * include/netdb.h: Likewise.
9173         * include/resolv.h: Likewise.
9174         * include/stdio.h: Likewise.
9175         * include/stdlib.h: Likewise.
9176         * include/string.h: Likewise.
9177         * include/sys/stat.h: Likewise.
9178         * include/wctype.h: Likewise.
9179         * intl/l10nflist.c: Likewise.
9180         * libidn/idn-stub.c: Likewise.
9181         * libio/libioP.h: Likewise.
9182         * nptl/libc_multiple_threads.c: Likewise.
9183         * nptl/pthreadP.h: Likewise.
9184         * posix/regex_internal.h: Likewise.
9185         * resolv/res_hconf.c: Likewise.
9186         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9187         * sysdeps/arm/memmove.S: Likewise.
9188         * sysdeps/arm/sysdep.h: Likewise.
9189         * sysdeps/generic/_itoa.h: Likewise.
9190         * sysdeps/generic/symbol-hacks.h: Likewise.
9191         * sysdeps/gnu/errlist.awk: Likewise.
9192         * sysdeps/gnu/errlist.c: Likewise.
9193         * sysdeps/i386/i586/memcpy.S: Likewise.
9194         * sysdeps/i386/i586/memset.S: Likewise.
9195         * sysdeps/i386/i686/memcpy.S: Likewise.
9196         * sysdeps/i386/i686/memmove.S: Likewise.
9197         * sysdeps/i386/i686/mempcpy.S: Likewise.
9198         * sysdeps/i386/i686/memset.S: Likewise.
9199         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9200         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9201         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9202         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9203         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9204         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9205         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9206         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9207         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9208         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9209         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9210         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9211         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9212         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9213         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9214         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9215         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9216         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9217         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9218         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9219         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9220         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9221         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9222         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9223         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9224         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9225         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9226         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9227         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9228         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9229         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9234         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9235         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9236         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9237         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9239         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9240         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9241         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9242         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9243         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9244         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9245         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9246         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9247         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9248         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9249         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9250         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9251         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9252         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9253         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9254         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9255         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9256         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9257         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9258         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9259         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9260         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9261         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9262         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9263         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9264         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9265         * sysdeps/posix/closedir.c: Likewise.
9266         * sysdeps/posix/opendir.c: Likewise.
9267         * sysdeps/posix/readdir.c: Likewise.
9268         * sysdeps/posix/rewinddir.c: Likewise.
9269         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9270         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9271         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9272         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9273         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9274         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9275         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9280         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9281         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9282         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9283         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9285         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9286         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9287         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9289         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9290         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9291         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9292         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9293         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9294         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9296         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9297         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9304         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9305         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9306         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9307         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9308         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9309         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9310         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9311         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9312         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9313         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9314         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9315         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9316         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9317         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9318         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9319         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9323         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9325         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9326         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9327         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9328         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9329         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9330         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9332         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9333         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9334         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9335         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9336         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9337         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9338         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9339         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9340         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9341         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9342         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9343         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9345         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9346         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9347         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9348         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9349         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9350         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9351         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9353         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9354         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9355         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9356         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9357         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9358         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9359         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9360         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9361         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9362         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9363         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9364         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9365         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9367         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9368         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9369         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9370         * sysdeps/unix/alpha/sysdep.S: Likewise.
9371         * sysdeps/unix/alpha/sysdep.h: Likewise.
9372         * sysdeps/unix/make-syscalls.sh: Likewise.
9373         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9375         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9376         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9377         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9378         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9379         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9380         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9381         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9382         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9383         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9384         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9386         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9387         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9388         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9389         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9390         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9391         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9392         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9393         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9394         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9395         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9396         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9397         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9398         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9402         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9403         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9406         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9407         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9408         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9410         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9411         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9412         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9413         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9414         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9415         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9416         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9417         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9418         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9420         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9422         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9423         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9424         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9425         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9426         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9428         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9429         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9431         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9432         * sysdeps/x86_64/memcpy.S: Likewise.
9433         * sysdeps/x86_64/memmove.c: Likewise.
9434         * sysdeps/x86_64/memset.S: Likewise.
9435         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9436         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9437         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9438         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9439         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9440         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9441         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9442         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9443         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9444         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9445         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9446         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9447         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9448         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9449         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9450         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9451         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9452         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9453         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9454         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9455         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9456         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9457         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9458         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9459         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9460         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9461         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9462         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9463         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9464         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9465         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9466         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9467         * sysdeps/x86_64/strcmp.S: Likewise.
9469         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9471         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9472         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9473         * elf/rtld-Rules: Likewise.
9474         * elf/setup-vdso.h: Likewise.
9475         * include/assert.h: Likewise.
9476         * include/bits/stdlib-float.h: Likewise.
9477         * include/errno.h: Likewise.
9478         * include/sys/stat.h: Likewise.
9479         * include/unistd.h: Likewise.
9480         * sysdeps/aarch64/setjmp.S: Likewise.
9481         * sysdeps/alpha/setjmp.S: Likewise.
9482         * sysdeps/arm/__longjmp.S: Likewise.
9483         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9484         * sysdeps/arm/setjmp.S: Likewise.
9485         * sysdeps/arm/sysdep.h: Likewise.
9486         * sysdeps/generic/_itoa.h: Likewise.
9487         * sysdeps/generic/dl-sysdep.h: Likewise.
9488         * sysdeps/generic/ldsodefs.h: Likewise.
9489         * sysdeps/i386/dl-tls.h: Likewise.
9490         * sysdeps/i386/setjmp.S: Likewise.
9491         * sysdeps/m68k/setjmp.c: Likewise.
9492         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9493         * sysdeps/mach/hurd/opendir.c: Likewise.
9494         * sysdeps/posix/getcwd.c: Likewise.
9495         * sysdeps/posix/opendir.c: Likewise.
9496         * sysdeps/posix/profil.c: Likewise.
9497         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9498         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9499         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9500         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9501         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9502         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9503         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9504         * sysdeps/s390/dl-tls.h: Likewise.
9505         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9506         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9507         * sysdeps/sh/sh3/setjmp.S: Likewise.
9508         * sysdeps/sh/sh4/setjmp.S: Likewise.
9509         * sysdeps/unix/alpha/sysdep.h: Likewise.
9510         * sysdeps/unix/arm/sysdep.S: Likewise.
9511         * sysdeps/unix/i386/sysdep.S: Likewise.
9512         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9513         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9514         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9515         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9516         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9517         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9518         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9519         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9520         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9521         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9529         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9530         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9531         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9532         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9533         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9535         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9536         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9537         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9539         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9540         * sysdeps/x86_64/setjmp.S: Likewise.
9542         * include/math.h: Use IS_IN instead of IS_IN_libm.
9543         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9544         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9545         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9546         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9547         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9548         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9549         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9550         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9551         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9552         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9553         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9554         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9555         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9556         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9557         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9558         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9559         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9560         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9561         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9562         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9563         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9564         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9565         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9566         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9567         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9568         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9569         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9570         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9571         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9572         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9573         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9574         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9575         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9577         Likewise.
9578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9579         Likewise.
9580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9581         Likewise.
9582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9583         Likewise.
9584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9585         Likewise.
9586         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9587         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9588         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9589         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9590         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9591         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9597         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9598         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9599         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9600         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9601         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9602         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9603         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9604         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9605         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9606         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9607         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9608         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9610         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9612         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9614         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9615         * nptl/pthreadP.h: Likewise.
9616         * nptl_db/structs.def: Likewise.
9617         * sysdeps/arm/sysdep.h: Likewise.
9618         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9619         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9620         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9621         * sysdeps/unix/alpha/sysdep.h: Likewise.
9622         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9624         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9625         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9626         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9627         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9629         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9630         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9631         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9632         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9633         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9634         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9635         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9640         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9643         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9644         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9645         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9646         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9647         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9649         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9650         * nptl/pthreadP.h: Likewise.
9651         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9652         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9653         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9654         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9655         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9656         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9657         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9658         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9659         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9660         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9661         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9662         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9664         Likewise.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9666         Likewise.
9667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9669         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9670         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9671         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9672         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9673         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9674         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9676         * dlfcn/dladdr.c: Use IS_IN.
9677         * dlfcn/dladdr1.c: Likewise.
9678         * dlfcn/dlclose.c: Likewise.
9679         * dlfcn/dlerror.c: Likewise.
9680         * dlfcn/dlinfo.c: Likewise.
9681         * dlfcn/dlmopen.c: Likewise.
9682         * dlfcn/dlopen.c: Likewise.
9683         * dlfcn/dlsym.c: Likewise.
9684         * dlfcn/dlvsym.c: Likewise.
9686         * include/ifaddrs.h: Use IS_IN.
9687         * inet/check_pf.c: Likewise.
9688         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9689         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9691         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9692         IS_IN_ldconfig.
9693         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9694         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9696         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9697         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9698         IS_IN (libc).
9700         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9702         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9703         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9704         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9705         * include/libc-symbols.h (IS_IN_LIB): New macro.
9706         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9707         * include/netdb.h: Likewise.
9708         * include/stap-probe.h: Remove all uses of IN_LIB.
9710         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9711         instead of IN_MODULE.
9712         * include/libc-symbols.h (IN_MODULE): Define using
9713         MODULE_NAME.
9714         (PASTE_NAME, PASTE_NAME1): New macros.
9715         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9716         of IN_LIB.
9717         (STAP_PROBE_ASM): Likewise.
9719 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9721         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9722         __mach_init in dlopened libc.
9724 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9726         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9727         * sysdeps/arm/preconfigure: Regenerate.
9729 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9731         * nptl/pthread_create.c (__pthread_create_2_1): Set
9732         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9733         when copying values from IATTR into PD.
9735 2014-11-21  Will Newton  <will.newton@linaro.org>
9736             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9738         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9739         Refactor inline-asm.  Also add comment.
9741         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9742         ElfW macro instead of hardcoded Elf64 types.
9743         (la_aarch64_gnu_pltenter): Likewise.
9744         * sysdeps/aarch64/dl-machine.h
9745         (elf_machine_runtime_setup): Use ElfW(Addr).
9747         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9748         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9749         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9750         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9751         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9752         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9753         (R_AARCH64_TLS_DTPMOD): This.
9754         (R_AARCH64_TLS_DTPREL64): Rename to ...
9755         (R_AARCH64_TLS_DTPREL): This.
9756         (R_AARCH64_TLS_TPREL64): Rename to ...
9757         (R_AARCH64_TLS_TPREL): This.
9758         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9759         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9760         R_AARCH64_TLS_TPREL64.
9761         (elf_machine_rela): Likewise.
9763 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9765         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9766         by setting it to 0.  64b atomics are not supported currently.
9768 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9770         [BZ #16469]
9771         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9772         search domain names.
9774 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9776         [BZ #16469]
9777         * NEWS: Update.
9778         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9779         trailing dot.
9780         * posix/tst-getaddrinfo5.c: New.
9781         * posix/Makefile (tests): Add it.
9783 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9785         [BZ #14498]
9786         * NEWS: Fixed.
9787         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9788         after parsing line but before break_if_match.
9789         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9790         if there is a protocol mismatch.
9792 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9794         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9795         because the potential race is on the user-supplied stream.
9797 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9799         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9800         string literal if not passed a buffer.
9801         * manual/job.texi (ctermid): Update reasoning, note deviation
9802         from posix, suggest mtasurace when not passed a buffer, for
9803         future non-preliminary safety notes.
9805 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9807         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9808         of not passing it a buffer.
9809         Reported by Peng Haitao.
9811 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9813         * manual/Makefile ($(objpfx)stamp-summary): Require
9814         check-safety.sh to pass.
9815         * manual/check-safety.sh: Wish for verification that every
9816         @deftypefn and @deftypefun is followed by a @safety remark.
9818 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9820         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9822         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9823         PTHREAD_CANCEL_ASYNCHRONOUS.
9824         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9825         send SIGCANCEL.
9827         * nptl/default-sched.h: New file.
9828         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9829         * nptl/pthread_create.c: Include it.
9830         (__pthread_create_2_1): Use collect_default_sched instead of making
9831         Linux syscalls here directly.
9833 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9835         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9836         __pthread_once): Use C11 atomics.
9838 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9840         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9842 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9844         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9845         atomic_thread_fence_acquire, atomic_thread_fence_release,
9846         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9847         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9848         atomic_compare_exchange_weak_relaxed,
9849         atomic_compare_exchange_weak_acquire,
9850         atomic_compare_exchange_weak_release,
9851         atomic_exchange_acquire, atomic_exchange_release,
9852         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9853         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9854         atomic_fetch_and_acquire,
9855         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9857 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9859         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9860         USE_ATOMIC_COMPILER_BUILTINS): Define.
9861         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9863         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9865         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9867         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9869         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9871         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9873         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9875         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9877         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9879         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9881         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9883         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9885         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9887         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9889         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9891         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9893         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9895         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9896         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9897         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9899         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9902 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9904         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9905         the sched_priority value here.  It was already checked when the user
9906         called pthread_attr_setschedparam.
9908         * nptl/tst-bad-schedattr.c: New file.
9909         * nptl/Makefile (tests): Add it.
9911 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9912             Florian Weimer  <fweimer@redhat.com>
9913             Joseph Myers  <joseph@codesourcery.com>
9914             Adam Conrad  <adconrad@0c3.net>
9915             Andreas Schwab  <schwab@suse.de>
9916             Brooks  <bmoses@google.com>
9918         [BZ #17625]
9919         * wordexp-test.c (__dso_handle): Add prototype.
9920         (__register_atfork): Likewise.
9921         (__app_register_atfork): New function.
9922         (registered_forks): New global.
9923         (register_fork): New function.
9924         (test_case): Add 3 new tests for WRDE_CMDSUB.
9925         (main): Call __app_register_atfork.
9926         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9927         fork count is non-zero fail the test.
9928         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9929         is set.
9930         (parse_dollars): Remove check for WRDE_NOCMD.
9931         (parse_dquote): Likewise.
9933 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9935         * Makeconfig (built-modules): List non-library modules to be
9936         built.
9937         (module-cppflags): Include libc-modules.h for
9938         everything except shlib-versions.v.i.
9939         (CPPFLAGS): Use it.
9940         (before-compile): Add libc-modules.h.
9941         ($(common-objpfx)libc-modules.h,
9942         $(common-objpfx)libc-modules.stmp): New targets.
9943         (common-generated): Add libc-modules.h and libc-modules.stmp.
9944         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9945         * include/libc-symbols.h: Don't include libc-modules.h.
9946         * include/libc-modules.h: Remove file.
9947         * scripts/gen-libc-modules.awk: New script to generate
9948         libc-modules.h.
9949         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9950         Depend on libc-modules.stmp.
9952         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9954         * Makeconfig (in-module): Get value of libof set for the
9955         translation unit.
9956         (CPPFLAGS): Use $(in-module).
9957         * Makerules: Don't suffix routine names for nonlib.
9958         * include/libc-modules.h: New file.
9959         * include/libc-symbols.h: Include libc-modules.h
9960         (IS_IN): New macro to replace IS_IN_* macros.
9961         * elf/Makefile: Set libof-* for each routine.
9962         * elf/rtld-Rules: Likewise.
9963         * extra-modules.mk: Likewise.
9964         * iconv/Makefile: Likewise.
9965         * iconvdata/Makefile: Likewise.
9966         * locale/Makefile: Likewise.
9967         * malloc/Makefile: Likewise.
9968         * nss/Makefile: Likewise.
9969         * sysdeps/gnu/Makefile: Likewise.
9970         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9971         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9972         * sysdeps/s390/s390-64/Makefile: Likewise.
9973         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9974         CPPFLAGS for nscd instead of nonlib.
9976 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9978         * nptl/createthread.c: New file.
9980         * nptl/createthread.c: Moved ...
9981         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9983         * nptl/createthread.c: Add proper top-line comment.
9984         (do_clone): Folded into ...
9985         (create_thread): ... here.  Take new arguments STOPPED_START and
9986         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9987         increment __nptl_threads, do event-reporting logic, do
9988         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9989         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9990         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9991         just send SIGCANCEL.
9992         * nptl/pthread_create.c: Forward-declare create_thread before
9993         including createthread.c.
9994         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9995         declaration, and new macro START_THREAD_SELF to replace argument.
9996         Remove return statement.
9997         (report_thread_creation): New function.
9998         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9999         synchronization logic, and __nptl_nthreads increment here, around
10000         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10001         PD->parent_cancelhandling here, before create_thread.  When
10002         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10003         __deallocate_stack, and ENOMEM translation here.
10005 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10007         [BZ #17616]
10008         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10009         (mptwo): Rename to __mptwo.
10010         (__inv): Use __mptwo instead of mptwo.
10011         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10012         (mptwo): Rename to __mptwo.
10013         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10014         of mpone and __mptwo instead of mptwo.
10015         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10016         instead of mpone.
10017         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10018         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10019         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10020         of mpone and __mptwo instead of mptwo.
10021         (__mpranred): Use __mpone instead of mpone.
10022         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10023         variable.
10024         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10025         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10026         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10027         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10028         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10029         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10030         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10031         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10032         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10033         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10034         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10035         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10036         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10037         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10038         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10039         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10040         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10041         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10042         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10044 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10046         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10047         replace BSD Handler xref with BSD Signal Handling.
10049 2014-11-17  Richard Henderson  <rth@redhat.com>
10051         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10052         (_FP_PACK_RAW_2): Remove.
10053         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10054         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10055         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10056         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10057         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10058         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10059         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10060         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10061         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10062         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10063         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10064         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10065         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10066         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10067         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10068         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10070 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10072         * signal/signal.h [__USE_MISC]
10073         (struct sigvec): Remove type.
10074         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10075         (sigvec): Remove declaration.
10076         * sysdeps/posix/sigvec.c: Moved ...
10077         * signal/sigvec.c: ... here, replacing old file.
10078         (struct sigvec): New type, copied from old signal.h definition.
10079         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10080         (__sigvec): Convert definition to prototype.
10081         (sigvec): Replace weak_alias with compat_symbol.
10082         * signal/Versions (libc: GLIBC_2.21): New version set.
10083         * include/signal.h: Remove __sigvec declaration.
10084         * sysdeps/unix/bsd/sigvec.c: Remove file.
10085         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10086         * manual/signal.texi (BSD Handler): Remove subsection.
10087         Move siginterrupt up to ...
10088         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10089         (Blocking in BSD): Fold subsection into its parent.
10090         * NEWS: Mention sigvec removal.
10092 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10094         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10095         (DLA_FMS): Make definition conditional only on [__FMA4__].
10096         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10097         definition.
10099         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10100         Make definition conditional only on [PROF].
10101         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10102         definition.
10103         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10104         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10106         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10107         !__GNUC__].
10108         * include/signal.h (__sigpause): Move declaration above call to
10109         libc_hidden_proto.
10110         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10111         variable.
10112         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10113         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10115 2014-11-14  David S. Miller  <davem@davemloft.net>
10117         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10118         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10120 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10122         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10123         * configure: Regenerated.
10124         * manual/install.texi (Tools for Compilation): Document a
10125         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10126         compiler verified to work.
10127         * INSTALL: Regenerated.
10129         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10130         redeclare with asm name.
10131         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10132         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10133         including <string.h>.
10134         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10135         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10136         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10137         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10138         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10140         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10142 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10144         * stdlib/strtol.c (__strtol): Use prototype definition.
10146         [BZ #17594]
10147         * stdlib/strtol.c (SYM__): New macro.
10148         (SYM__1): Likewise.
10149         (__strtol): Likewise.
10150         (strtol): Rename to __strtol and define as weak alias of
10151         __strtol.  Use libc_hidden_weak.
10153 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10155         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10156         Use numbered labels in inline assembly.
10158 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10160         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10161         Add setjmp LIBC_PROBE.
10162         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10163         Likewise.
10164         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10165         Add longjmp, longjmp_target LIBC_PROBE.
10166         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10167         Likewise.
10169 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10171         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10172         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10173         to get rid of unused variable warning.
10175 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10177         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10178         Check for unwind_backtrace ==  NULL only in SHARED case.
10179         (__backchain_backtrace): Compile only in SHARED case.
10180         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10181         Likewise.
10182         (__backchain_backtrace): Declare as static.
10184 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10186         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10187         (__libc_multiple_threads_ptr): Variable moved ...
10188         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10190 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10192         * conform/GlibcConform.pm: New file.
10193         * conform/conformtest.pl: Use GlibcConform module.
10194         * conform/linknamespace.pl: New file.
10195         * conform/list-header-symbols.pl: Likewise.
10196         * conform/Makefile (linknamespace-symlists-base): New variable.
10197         (linknamespace-symlists-tests): Likewise.
10198         (linknamespace-header-base): Likewise.
10199         (linknamespace-header-tests): Likewise.
10200         (tests-special): Add new tests.
10201         ($(linknamespace-symlists-tests)): New rule.
10202         (linknamespace-libs): New variable.
10203         ($(objpfx)symlist-stdlibs): New rule.
10204         ($(linknamespace-header-tests)): Likewise.
10205         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10206         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10207         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10208         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10209         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10210         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10211         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10212         (test-xfail-ISO/math.h/linknamespace): Likewise.
10213         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10214         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10215         (test-xfail-ISO/time.h/linknamespace): Likewise.
10216         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10217         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10218         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10219         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10220         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10221         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10222         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10223         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10224         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10225         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10226         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10227         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10228         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10229         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10230         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10231         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10232         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10233         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10234         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10235         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10236         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10237         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10238         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10239         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10240         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10241         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10242         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10243         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10244         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10245         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10246         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10247         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10248         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10249         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10250         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10251         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10252         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10253         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10254         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10255         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10256         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10257         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10258         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10259         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10260         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10261         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10262         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10263         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10264         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10265         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10266         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10267         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10268         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10269         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10270         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10271         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10272         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10273         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10274         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10275         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10276         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10277         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10278         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10279         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10280         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10281         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10282         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10283         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10284         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10285         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10286         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10287         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10288         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10289         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10290         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10291         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10292         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10293         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10294         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10295         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10296         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10297         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10298         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10299         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10300         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10301         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10302         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10303         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10304         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10305         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10306         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10307         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10308         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10309         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10310         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10311         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10312         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10313         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10314         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10315         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10316         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10317         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10318         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10319         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10320         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10321         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10322         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10323         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10324         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10325         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10326         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10327         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10328         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10329         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10330         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10331         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10332         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10333         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10334         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10335         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10336         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10337         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10338         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10339         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10340         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10341         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10342         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10343         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10344         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10345         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10346         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10347         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10348         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10349         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10350         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10351         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10352         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10353         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10354         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10355         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10356         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10357         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10358         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10359         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10360         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10361         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10362         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10363         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10364         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10365         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10367         [BZ #17589]
10368         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10369         of fgets_unlocked.
10371         [BZ #17585]
10372         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10373         (memmem): Rename to __memmem and define as weak alias of
10374         __memmem.  Use libc_hidden_weak.
10375         (__memmem): Use libc_hidden_def.
10376         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10377         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10378         memmem.
10380         [BZ #17582]
10381         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10382         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10383         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10384         and define as weak alias of __fgets_unlocked.  Use
10385         libc_hidden_weak.
10386         (__fgets_unlocked): Use libc_hidden_def.
10387         * include/stdio.h (__fgets_unlocked): Declare.  Use
10388         libc_hidden_proto.
10389         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10390         __fgets_unlocked instead of fgets_unlocked.
10391         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10392         (GET_NPROCS_CONF_PARSER): Likewise.
10393         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10394         (GET_NPROCS_CONF_PARSER): Likewise.
10396         [BZ #17574]
10397         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10398         weak alias of __wmemset.  Use libc_hidden_weak.
10399         (__wmemset): Use libc_hidden_def.
10400         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10401         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10402         of wmemset.
10404         [BZ #17573]
10405         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10406         with asm name __mempcpy.
10407         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10409         [BZ #17572]
10410         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10411         and define as weak alias of __rawmemchr.
10412         (__rawmemchr): Do not define as strong alias of rawmemchr.
10414         [BZ #17571]
10415         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10416         alias of __qsort_r.
10417         (qsort): Call __qsort_r instead of qsort_r.
10418         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10419         (__qsort_r): Declare.  Call libc_hidden_proto.
10420         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10421         instead of qsort_r.
10422         * nscd/gai.c (__qsort_r): Define to qsort_r.
10423         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10424         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10425         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10427         [BZ #17570]
10428         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10429         define as weak alias of __malloc_info.
10431         [BZ #17584]
10432         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10433         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10434         (__rewinddir): Use libc_hidden_def.
10435         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10436         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10437         (__rewinddir): Use libc_hidden_def.
10438         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10439         weak alias of __rewinddir.  Don't use libc_hidden_def.
10440         (__rewinddir): Use libc_hidden_def.
10441         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10442         (__rewinddir): Use libc_hidden_proto.
10443         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10444         rewinddir.
10445         (__getcwd): Use __rewinddir instead of rewinddir.
10447         [BZ #17583]
10448         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10449         alias of __fileno.  Use libc_hidden_weak.
10450         (__fileno): Use libc_hidden_def.
10451         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10452         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10453         alias of __ftello.
10454         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10455         __ftello.
10456         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10457         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10458         libc_hidden_def.
10459         (fread_unlocked): Don't use libc_hidden_ver.
10460         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10461         and define as weak alias of __fread_unlocked.  Don't use
10462         libc_hidden_def.
10463         (__fread_unlocked): Use libc_hidden_def.
10464         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10465         (ftello): Don't use libc_hidden_proto.
10466         (__ftello): Declare.  Use libc_hidden_proto.
10467         (fread_unlocked): Don't use libc_hidden_proto.
10468         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10469         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10470         and __ftello instead of fileno, fread_unlocked and ftello.
10472 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10474         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10475         GOT12.
10476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10477         Likewise.
10478         (_dl_start_user): Likewise.
10479         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10481 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10482             Siddhesh Poyarekar  <siddhesh@redhat.com>
10484         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10485         Move argv and envp down instead of moving argc up.
10486         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10488 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10490         [BZ #17506]
10491         * test-skeleton.c (main): Return successful if one of
10492         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10493         * string/tst-strcoll-overflow.c: Define expected status.
10495 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10497         [BZ #17475]
10498         * locale/iso-639.def: Define Bhili and Tulu language codes.
10500 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10502         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10504 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10506         [BZ #17555]
10507         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10509 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10511         * configure.ac: Updated check of minimal required version to
10512         2.22.
10513         * manual/install.texi (Tools for Compilation): Updated version
10514         number.
10515         * configure: Regenerated.
10516         * INSTALL: Likewise.
10518 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10520         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10521         __tls_get_addr.
10523 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10525         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10526         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10527         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10528         libc_hidden_weak.
10529         (waitpid): Define as alias of __waitpid.
10530         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10531         __waitpid.
10532         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10533         libc_hidden_weak.
10534         (waitpid): Define as alias of __waitpid.
10535         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10536         __libc_waitpid alias.
10537         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10538         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10539         Likewise.
10540         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10541         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10542         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10543         alias.
10544         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10545         __waitpid.
10546         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10547         libc_hidden_weak.
10548         (waitpid): Define as alias of __waitpid.
10550 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10552         * manual/llio.texi: Add comment that write safety has been
10553         fixed in Linux.
10555         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10556         (localplt-build-dso): Add elf/ld.so.
10557         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10558         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10559         and free for ld.so.
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10561         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10563         Likewise.
10564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10565         Likewise.
10566         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10567         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10568         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10569         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10570         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10571         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10572         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10573         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10574         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10575         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10576         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10578 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #14132]
10581         * include/libc-symbols.h (INTUSE): Remove macro.
10582         (INTDEF): Likewise.
10583         (INTVARDEF): Likewise.
10584         (_INTVARDEF): Likewise.
10585         (INTDEF2): Likewise.
10586         (INTVARDEF2): Likewise.
10587         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10588         rtld_hidden_def instead of INTVARDEF.
10589         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10590         (_dl_starting_up_internal): Remove declaration.
10591         (_dl_starting_up): Use rtld_hidden_proto.
10592         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10593         declaration.
10594         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10595         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10596         _dl_starting_up.
10597         * elf/dl-writev.h (_dl_writev): Likewise.
10598         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10599         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10600         _dl_starting_up_internal.
10602 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10604         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10605         test-skeleton.c.
10607 2014-11-05  Will Newton  <will.newton@linaro.org>
10609         * benchtests/Makefile: (bench-malloc): Add malloc thread
10610         scalability benchmark.
10611         * benchtests/bench-malloc-threads.c: New file.
10613 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10615         * sysdeps/aarch64/strchrnul.S: New file.
10617 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10619         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10620         definition.
10621         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10622         Likwise.
10623         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10624         Likewise.
10625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10626         Likewise.
10627         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10628         Likewise.
10629         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10630         Likewise.
10632 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10634         * catgets/test-gencat.c: Use test-skeleton.c.
10635         * catgets/tst-catgets.c: Likewise.
10636         * csu/tst-empty.c: Likewise.
10637         * elf/tst-audit2.c: Likewise.
10638         * elf/tst-global1.c: Likewise.
10639         * elf/tst-pathopt.c: Likewise.
10640         * elf/tst-piemod1.c: Likewise.
10641         * elf/tst-tls10.c: Likewise.
10642         * elf/tst-tls11.c: Likewise.
10643         * elf/tst-tls12.c: Likewise.
10644         * gnulib/tst-gcc.c: Likewise.
10645         * iconvdata/tst-e2big.c: Likewise.
10646         * iconvdata/tst-loading.c: Likewise.
10647         * iconv/tst-iconv1.c: Likewise.
10648         * iconv/tst-iconv2.c: Likewise.
10649         * inet/test-inet6_opt.c: Likewise.
10650         * inet/tst-gethnm.c: Likewise.
10651         * inet/tst-network.c: Likewise.
10652         * inet/tst-ntoa.c: Likewise.
10653         * intl/tst-codeset.c: Likewise.
10654         * intl/tst-gettext2.c: Likewise.
10655         * intl/tst-gettext3.c: Likewise.
10656         * intl/tst-ngettext.c: Likewise.
10657         * intl/tst-translit.c: Likewise.
10658         * io/test-stat.c: Likewise.
10659         * libio/test-fmemopen.c: Likewise.
10660         * libio/tst-freopen.c: Likewise.
10661         * libio/tst-sscanf.c: Likewise.
10662         * libio/tst-ungetwc1.c: Likewise.
10663         * libio/tst-ungetwc2.c: Likewise.
10664         * libio/tst-widetext.c: Likewise.
10665         * localedata/tst-ctype.c: Likewise.
10666         * localedata/tst-digits.c: Likewise.
10667         * localedata/tst-leaks.c: Likewise.
10668         * localedata/tst-mbswcs1.c: Likewise.
10669         * localedata/tst-mbswcs2.c: Likewise.
10670         * localedata/tst-mbswcs3.c: Likewise.
10671         * localedata/tst-mbswcs4.c: Likewise.
10672         * localedata/tst-mbswcs5.c: Likewise.
10673         * localedata/tst-setlocale.c: Likewise.
10674         * localedata/tst-trans.c: Likewise.
10675         * localedata/tst-wctype.c: Likewise.
10676         * localedata/tst-xlocale1.c: Likewise.
10677         * login/tst-grantpt.c: Likewise.
10678         * malloc/tst-calloc.c: Likewise.
10679         * malloc/tst-malloc.c: Likewise.
10680         * malloc/tst-mallocstate.c: Likewise.
10681         * malloc/tst-mcheck.c: Likewise.
10682         * malloc/tst-mtrace.c: Likewise.
10683         * malloc/tst-obstack.c: Likewise.
10684         * math/atest-exp2.c: Likewise.
10685         * math/atest-exp.c: Likewise.
10686         * math/atest-sincos.c: Likewise.
10687         * math/test-matherr.c: Likewise.
10688         * math/test-misc.c: Likewise.
10689         * math/test-powl.c: Likewise.
10690         * math/tst-definitions.c: Likewise.
10691         * misc/tst-dirname.c: Likewise.
10692         * misc/tst-efgcvt.c: Likewise.
10693         * misc/tst-fdset.c: Likewise.
10694         * misc/tst-hsearch.c: Likewise.
10695         * misc/tst-mntent2.c: Likewise.
10696         * nptl/tst-sem7.c: Likewise.
10697         * nptl/tst-sem8.c: Likewise.
10698         * nptl/tst-sem9.c: Likewise.
10699         * nss/test-netdb.c: Likewise.
10700         * posix/tst-fnmatch.c: Likewise.
10701         * posix/tst-getlogin.c: Likewise.
10702         * posix/tst-gnuglob.c: Likewise.
10703         * posix/tst-mmap.c: Likewise.
10704         * pwd/tst-getpw.c: Likewise.
10705         * resolv/tst-inet_ntop.c: Likewise.
10706         * rt/tst-timer.c: Likewise.
10707         * stdio-common/test-fseek.c: Likewise.
10708         * stdio-common/test-popen.c: Likewise.
10709         * stdio-common/test-vfprintf.c: Likewise.
10710         * stdio-common/tst-cookie.c: Likewise.
10711         * stdio-common/tst-fileno.c: Likewise.
10712         * stdio-common/tst-gets.c: Likewise.
10713         * stdio-common/tst-obprintf.c: Likewise.
10714         * stdio-common/tst-perror.c: Likewise.
10715         * stdio-common/tst-sprintf2.c: Likewise.
10716         * stdio-common/tst-sprintf3.c: Likewise.
10717         * stdio-common/tst-sprintf.c: Likewise.
10718         * stdio-common/tst-swprintf.c: Likewise.
10719         * stdio-common/tst-tmpnam.c: Likewise.
10720         * stdio-common/tst-unbputc.c: Likewise.
10721         * stdio-common/tst-wc-printf.c: Likewise.
10722         * stdlib/tst-environ.c: Likewise.
10723         * stdlib/tst-fmtmsg.c: Likewise.
10724         * stdlib/tst-limits.c: Likewise.
10725         * stdlib/tst-rand48-2.c: Likewise.
10726         * stdlib/tst-rand48.c: Likewise.
10727         * stdlib/tst-random2.c: Likewise.
10728         * stdlib/tst-random.c: Likewise.
10729         * stdlib/tst-strtol.c: Likewise.
10730         * stdlib/tst-strtoll.c: Likewise.
10731         * stdlib/tst-tls-atexit.c: Likewise.
10732         * stdlib/tst-xpg-basename.c: Likewise.
10733         * string/test-ffs.c: Likewise.
10734         * string/tst-bswap.c: Likewise.
10735         * string/tst-inlcall.c: Likewise.
10736         * string/tst-strtok.c: Likewise.
10737         * string/tst-strxfrm.c: Likewise.
10738         * sysdeps/x86_64/tst-audit10.c: Likewise.
10739         * sysdeps/x86_64/tst-audit3.c: Likewise.
10740         * sysdeps/x86_64/tst-audit4.c: Likewise.
10741         * sysdeps/x86_64/tst-audit5.c: Likewise.
10742         * time/tst-ftime_l.c: Likewise.
10743         * time/tst-getdate.c: Likewise.
10744         * time/tst-mktime3.c: Likewise.
10745         * time/tst-mktime.c: Likewise.
10746         * time/tst-posixtz.c: Likewise.
10747         * time/tst-strptime2.c: Likewise.
10748         * time/tst-strptime3.c: Likewise.
10749         * wcsmbs/tst-btowc.c: Likewise.
10750         * wcsmbs/tst-mbrtowc.c: Likewise.
10751         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10752         * wcsmbs/tst-wchar-h.c: Likewise.
10753         * wcsmbs/tst-wcpncpy.c: Likewise.
10754         * wcsmbs/tst-wcrtomb.c: Likewise.
10755         * wcsmbs/tst-wcsnlen.c: Likewise.
10756         * wcsmbs/tst-wcstof.c: Likewise.
10758 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10760         [BZ #14132]
10761         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10762         INTDEF.
10763         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10764         declaration.
10765         (_dl_mcount): Use rtld_hidden_proto.
10766         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10767         _dl_mcount.
10768         * elf/rtld.c (_rtld_global_ro): Likewise.
10770         [BZ #14132]
10771         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10772         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10773         of _dl_init_internal.
10774         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10775         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10776         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10777         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10778         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10779         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10780         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10781         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10782         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10783         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10784         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10785         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10786         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10787         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10788         * sysdeps/tile/dl-start.S (_start): Likewise.
10789         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10790         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10792         [BZ #14132]
10793         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10794         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10795         (rtld_progname): Make macro definition unconditional.
10796         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10797         INTDEF.
10798         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10799         (dl_main): Likewise.
10800         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10801         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10802         instead of _dl_argv_internal.
10803         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10804         __GI__dl_argv instead of INTUSE(_dl_argv).
10805         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10806         __GI__dl_argv instead of _dl_argv_internal.
10808         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10809         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10810         macro.
10811         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10812         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10813         New macro.
10814         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10815         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10816         macro.
10817         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10818         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10820 2014-11-04  Andreas Schwab  <schwab@suse.de>
10822         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10824 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10826         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10827         mtvsrd instruction in binary form.
10829 2014-11-03  Andreas Schwab  <schwab@suse.de>
10831         [BZ #17522]
10832         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10833         for less than MB_LEN_MAX use a local buffer of that size.
10834         * libio/tst-fputws.c: New file.
10835         * libio/Makefile (tests): Add tst-fputws.
10837 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10839         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10840         the size of the fpu_fr.fpu_dregs[] array.
10842 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10844         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10845         (__nanosleep): Do not define as alias.
10846         (nanosleep): Define as alias of __nanosleep.
10847         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10848         __libc_nanosleep name.
10850 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10852         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10853         install.texi in comment.
10855 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10857         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10858         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10859         ... add here and use lwsync or sync ...
10860         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10861         ... and add here using lwsync.
10863 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10865         * elf/dl-machine-reject-phdr.h: New file.
10866         * elf/dl-load.c: #include that.
10867         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10868         if that returned true.
10870 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10872         [BZ #17496]
10873         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10874         gen-as-const-headers chunk.  Add a big scare comment after the last
10875         safe place to touch before-compile.
10877 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10879         * manual/install.texi (Tools for Compilation): Update autoconf
10880         version requirements.
10881         * INSTALL: Regenerated.
10883         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10884         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10885         (__libc_pselect): Likewise.
10887         [BZ #14138]
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10893 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10895         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10896         correct barrier instruction.
10897         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10898         Likewise.
10899         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10900         Likewise.
10902 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10904         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10905         after defining inlines.  Instead, just use parens to defeat macro
10906         expansion of __isctype in its declaration.
10908 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10910         * include/sys/uio.h (__libc_readv): Remove declaration.
10911         (__libc_writev): Likewise.
10912         * misc/readv.c (__libc_readv): Rename to __readv.
10913         (__readv): Do not define as alias.
10914         (readv): Define as alias of __readv.
10915         * misc/writev.c (__libc_writev): Rename to __writev.
10916         (__writev): Do not define as alias.
10917         (writev): Define as alias of __writev.
10918         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10919         (__readv): Do not define as alias.
10920         (readv): Define unconditionally as alias of __readv.
10921         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10922         (__writev): Do not define as alias.
10923         (writev): Define unconditionally as alias of __writev.
10924         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10925         name.
10926         (writev): Do not define __libc_writev name.
10928 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10930         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10931         (convert_charseq): New function, broken out of ...
10932         (use_from_charmap): ... here.  Call it.
10933         (use_to_charmap): Use convert_charseq and free instead of duplicating
10934         its code with a variable-length stack struct.
10936 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10938         * include/fcntl.h (__libc_creat): Remove declaration.
10939         * io/creat.c (__libc_creat): Rename to creat.
10940         (creat): Do not define as alias.
10941         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10942         of creat instead of __libc_creat.
10943         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10944         to creat.
10945         (creat): Do not define as alias.
10946         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10947         __libc_creat.
10948         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10949         __libc_creat name.
10950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10951         Likewise.
10953 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10955         * manual/llio.texi: Add comments discussing why write() may be
10956         considered MT-unsafe on Linux.
10958 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10960         * dl-load.c (local_strdup): Remove.
10961         (expand_dynamic_string_token): Use __strdup.
10962         (decompose_rpath): Likewise.
10963         (_dl_map_object): Likewise.
10965 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10967         [BZ #14132]
10968         * sysdeps/generic/unwind-dw2-fde.c
10969         (__register_frame_info_bases_internal): Do not declare.
10970         (__register_frame_info_table_bases_internal): Likewise.
10971         (__deregister_frame_info_bases_internal): Likewise.
10972         (__register_frame_info_bases): Declare and use hidden_proto before
10973         definition.  Use hidden_def instead of INTDEF.
10974         (__register_frame_info_table_bases): Likewise.
10975         (__deregister_frame_info_bases): Likewise.
10976         (__register_frame_info): Do not use INTUSE.
10977         (__register_frame): Likewise.
10978         (__register_frame_info_table): Likewise.
10979         (__register_frame_table): Likewise.
10980         (__deregister_frame_info): Likewise.
10981         (__deregister_frame): Likewise.
10983 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10986         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10987         not undefine.
10988         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10989         Likewise.
10990         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10991         Likewise.
10993 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10995         [BZ #14138]
10996         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10997         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10998         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10999         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11000         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11001         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11002         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11003         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11004         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11005         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11006         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11007         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11008         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11009         syscall.
11010         (setfsuid): Likewise.
11011         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11012         (setfsuid): Likewise.
11013         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11014         (setfsuid): Likewise.
11015         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11016         Likewise.
11017         (setfsuid): Likewise.
11018         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11019         (setfsuid): Likewise.
11020         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11021         Likewise.
11022         (setfsuid): Likewise.
11024 2014-10-27  Andreas Schwab  <schwab@suse.de>
11026         [BZ #17501]
11027         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11028         check for Slow_SSE4_2 feature bit.
11029         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11030         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11031         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11032         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11034 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11036         * configure.ac: Validate compiler version with a empirical test of
11037         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11038         $CC -v output.
11039         * configure: Regenerated.
11041         * inet/htons.c (htons): Prototypify.
11042         * inet/htonl.c (htonl): Likewise.
11044 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11046         * string/strncat.c (strncat): Improve performance by using strlen.
11048 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11050         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11052 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11054         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11055         Call libc_fetestexcept_aarch64.
11057 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11059         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11060         Call libc_feholdexcept_aarch64.
11062 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11064         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11065         Call get_rounding_mode.
11067 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11069         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11070         Simplify logic.
11072 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11074         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11075         Simplify logic.
11077 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #14138]
11080         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11081         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11082         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11083         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11084         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11085         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11086         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11087         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11088         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11089         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11090         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11091         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11092         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11093         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11094         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11095         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11096         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11097         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11098         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11099         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11100         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11101         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11102         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11103         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11104         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11105         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11106         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11107         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11108         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11109         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11110         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11111         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11112         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11113         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11114         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11115         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11116         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11117         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11118         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11119         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11120         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11121         syscall.
11122         (geteuid): Likewise.
11123         (getgid): Likewise.
11124         (getuid): Likewise.
11125         (getresgid): Likewise.
11126         (getresuid): Likewise.
11127         (getgroups): Likewise.
11128         * sysdeps/unix/sysv/linux/i386/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/m68k/syscalls.list (getegid): Likewise.
11136         (geteuid): Likewise.
11137         (getgid): Likewise.
11138         (getuid): Likewise.
11139         (getresgid): Likewise.
11140         (getresuid): Likewise.
11141         (getgroups): Likewise.
11142         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11143         Likewise.
11144         (geteuid): Likewise.
11145         (getgid): Likewise.
11146         (getuid): Likewise.
11147         (getresgid): Likewise.
11148         (getresuid): Likewise.
11149         (getgroups): Likewise.
11150         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11151         (geteuid): Likewise.
11152         (getgid): Likewise.
11153         (getuid): Likewise.
11154         (getresgid): Likewise.
11155         (getresuid): Likewise.
11156         (getgroups): Likewise.
11157         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11158         Likewise.
11159         (geteuid): Likewise.
11160         (getgid): Likewise.
11161         (getuid): Likewise.
11162         (getgroups): Likewise.
11164         [BZ #14138]
11165         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11166         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11167         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11168         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11169         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11170         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11171         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11172         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11173         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11174         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11175         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11176         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11177         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11178         __chown.
11179         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11180         (lchown): Likewise.
11181         (fchown): Likewise.
11182         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11183         Likewise.
11184         (lchown): Likewise.
11185         (fchown): Likewise.
11186         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11187         (lchown): Likewise.
11188         (fchown): Likewise.
11189         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11190         Likewise.
11191         (lchown): Likewise.
11192         (fchown): Likewise.
11194 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11196         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11197         Simplify logic.
11199 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11201         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11202         Cleanup logic.
11204 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11206         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11207         Remove unused include.
11209 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11211         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11212         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11213         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11214         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11216 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11217             Helge Deller <deller@gmx.de>
11219         [BZ #17508]
11220         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11221         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11222         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11224 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11226         [BZ #14132]
11227         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11228         Remove macro definition.
11229         (__ashrdi3_v_glibc20): Likewise.
11230         (__lshrdi3_v_glibc20): Likewise.
11231         (__cmpdi2_v_glibc20): Likewise.
11232         (__ucmpdi2_v_glibc20): Likewise.
11233         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11234         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11235         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11236         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11237         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11238         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11240 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11242         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11243         old GNU extension [0] syntax.
11244         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11245         alloca rather than an array member with variable length.
11246         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11247         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11248         (parse_opt): ... here.  Likewise use alloca there.
11249         Validate the -i argument before checking for rootness.
11250         (send_shutdown): New function, broken out of ...
11251         (parse_opt): ... here.
11253 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11255         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11256         macro to get at the _rt_local_ro field.
11257         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11258         ([PIC] case) or _dl_hwcap ([!PIC] case).
11259         * sysdeps/arm/setjmp.S: Likewise.
11261         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11262         * sysdeps/arm/configure.ac: New check to define it.
11263         * sysdeps/arm/configure: Regenerated.
11264         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11265         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11266         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11267         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11268         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11269         Use move/movt pair instead of a load.
11270         (LDST_GLOBAL): Macro removed.
11271         (LDR_GLOBAL): New macro replaces it.
11272         (LDR_HIDDEN): New macro.
11273         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11274         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11276         * setjmp/tst-setjmp-static.c: New file.
11277         * setjmp/Makefile (tests): Add it.
11278         (tests-static): New variable.
11280 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11282         [BZ #17485]
11283         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11285 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11287         [BZ #14132]
11288         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11290 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11292         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11294 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11296         * io/fts.c (dirent_not_directory): New function.
11297         (fts_build): Call it.
11299 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11301         * nptl/version.c (__nptl_main): Use normal __write rather than
11302         INTERNAL_SYSCALL.
11303         (banner): Update copyright years.
11305         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11306         gettimeofday.
11307         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11308         * nptl/pthread_cond_timedwait.c: Likewise.
11309         * nptl/pthread_mutex_timedlock.c: Likewise.
11310         * nptl/sem_timedwait.c: Likewise.
11312         * sysdeps/nptl/bits/libc-lock.h
11313         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11314         (__libc_lock_init_recursive): Return void, not 0.
11315         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11316         (__libc_rwlock_init): Likewise.
11317         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11319 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11321         [BZ #15215]
11322         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11323         (__pthread_once_slow): ... here.
11324         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11325         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11327 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11329         [BZ #15215]
11330         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11331         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11332         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11333         * nptl/pthread_once.c (__pthread_once): Likewise.
11334         Update comments.
11336 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11338         [BZ #14138]
11339         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11340         name.
11341         (writev): Use __libc_writev as strong name.
11342         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11343         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11345 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11347         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11349         * sysdeps/i386/nptl/tls.h
11350         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11351         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11352         New macros.
11353         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11354         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11355         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11356         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11357         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11358         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11360         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11361         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11362         on [__NR_futex].
11363         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11364         broken out of ...
11365         (__pthread_mutex_init): ... here.  Call it.
11366         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11367         Conditionalize PI cases on [__NR_futex].
11368         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11369         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11370         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11372         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11373         conditional on [SIGSETXID].
11374         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11375         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11376         is defined.  Likewise for SIGSETXID.
11377         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11378         Conditionalize definitions on [SIGSETXID].
11379         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11380         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11381         unblocking on [SIGCANCEL].
11383         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11384         [__NR_set_robust_list].
11386 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11388         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11389         (do_compare): Likewise.
11391 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11393         [BZ #15884]
11394         * string/strcoll_l.c: Don't include stdio.h.
11395         (coll_seq): Remove members idxarr and rulearr.
11396         (get_next_seq_cached): Remove function.
11397         (get_next_seq): Likewise.
11398         (get_next_seq_nocache): Rename to get_next_seq.
11399         (do_compare): Remove function.
11400         (do_compare_nocache): Rename to do_compare.
11401         (STRCOLL): Remove weight and rules cache.
11403 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11405         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11406         * sysdeps/arm/sfp-machine.h: ... to here.
11407         * sysdeps/arm/Implies: Remove arm/soft-fp.
11409 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11411         * conform/data/sys/utsname.h-data (*_t): Allow.
11412         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11413         [POSIX] (WEXITED): Do not expect constant.
11414         [POSIX] (WSTOPPED): Likewise.
11415         [POSIX] (WNOHANG): Likewise.
11416         [POSIX] (WNOWAIT): Likewise.
11417         [POSIX] (siginfo_t): Do not expect type or elements.
11418         [POSIX] (pid_t): Do not expect type.
11419         [POSIX] (signal.h): Do not allow header.
11420         [POSIX] (sys/resource.h): Likewise.
11421         [POSIX] (si_*): Do not allow pattern.
11422         [POSIX] (W*): Likewise.
11423         [POSIX] (P_*): Likewise.
11424         [POSIX] (BUS_*): Likewise.
11425         [POSIX] (CLD_*): Likewise.
11426         [POSIX] (FPE_*): Likewise.
11427         [POSIX] (ILL_*): Likewise.
11428         [POSIX] (POLL_*): Likewise.
11429         [POSIX] (SEGV_*): Likewise.
11430         [POSIX] (SI_*): Likewise.
11431         [POSIX] (TRAP_*): Likewise.
11432         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11433         variable.
11435 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11437         [BZ #12926]
11438         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11439         infinite loop when __recvmsg returns 0.
11441 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11443         * CANCEL-FCT-WAIVE: Remove file.
11444         * CANCEL-FILE-WAIVE: Likewise.
11446         [BZ #14132]
11447         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11448         instead of INTVARDEF.
11449         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11450         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11451         rtld_hidden_data_def instead of INTVARDEF.
11452         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11453         * elf/dl-deps.c (expand_dst): Likewise.
11454         * elf/dl-load.c (_dl_dst_count): Likewise.
11455         (_dl_dst_substitute): Likewise.
11456         (decompose_rpath): Likewise.
11457         (_dl_init_paths): Likewise.
11458         (open_path): Likewise.
11459         (_dl_map_object): Likewise.
11460         * elf/rtld.c (dl_main): Likewise.
11461         (process_dl_audit): Likewise.
11462         (process_envvars): Likewise.
11463         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11464         Remove declaration.
11465         (__libc_enable_secure): Use rtld_hidden_proto.
11467 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11469         * elf/dl-load.c
11470         (add_path): New function broken out of _dl_rtld_di_serinfo.
11471         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11473 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11475         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11476         parentheses around macro arguments.
11477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11478         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11479         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11480         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11481         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11483         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11484         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11485         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11486         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11488         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11489         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11490         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11491         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11492         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11493         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11496         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11497         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11498         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11503         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11506         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11507         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11508         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11509         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11510         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11511         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11512         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11513         Likewise.
11514         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11515         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11516         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11517         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11518         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11519         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11520         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11521         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11522         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11523         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11524         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11525         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11526         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11528         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11529         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11530         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11532         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11533         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11535         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11536         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11537         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11538         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11539         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11540         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11541         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11542         (_FP_FRAC_SRS_1): Likewise.
11543         (_FP_FRAC_CLZ_1): Likewise.
11544         (_FP_MUL_MEAT_1_imm): Likewise.
11545         (_FP_MUL_MEAT_1_wide): Likewise.
11546         (_FP_MUL_MEAT_1_hard): Likewise.
11547         (_FP_SQRT_MEAT_1): Likewise.
11548         (_FP_FRAC_ASSEMBLE_1): Likewise.
11549         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11550         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11551         (__FP_CLZ_2): Likewise.
11552         (_FP_MUL_MEAT_2_wide): Likewise.
11553         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11554         (_FP_MUL_MEAT_2_gmp): Likewise.
11555         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11556         (_FP_SQRT_MEAT_2): Likewise.
11557         (_FP_FRAC_ASSEMBLE_2): Likewise.
11558         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11559         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11560         (_FP_FRAC_CLZ_4): Likewise.
11561         (_FP_MUL_MEAT_4_wide): Likewise.
11562         (_FP_MUL_MEAT_4_gmp): Likewise.
11563         (_FP_SQRT_MEAT_4): Likewise.
11564         (_FP_FRAC_ASSEMBLE_4): Likewise.
11565         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11566         * soft-fp/op-common.h (_FP_CMP): Likewise.
11567         (_FP_CMP_EQ): Likewise.
11568         (_FP_CMP_UNORD): Likewise.
11569         (_FP_TO_INT): Likewise.
11570         (_FP_FROM_INT): Likewise.
11571         [!__FP_CLZ] (__FP_CLZ): Likewise.
11572         (_FP_DIV_HELP_imm): Likewise.
11573         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11574         Likewise.
11575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11578         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11579         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11586         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11587         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11588         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11590         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11591         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11592         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11599         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11601         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11602         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11603         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11604         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11605         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11606         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11607         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11608         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11609         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11610         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11611         (FP_UNPACK_RAW_SP): Likewise.
11612         (FP_PACK_RAW_S): Likewise.
11613         (FP_PACK_RAW_SP): Likewise.
11614         (FP_UNPACK_S): Likewise.
11615         (FP_UNPACK_SP): Likewise.
11616         (FP_UNPACK_SEMIRAW_S): Likewise.
11617         (FP_UNPACK_SEMIRAW_SP): Likewise.
11618         (FP_PACK_S): Likewise.
11619         (FP_PACK_SP): Likewise.
11620         (FP_PACK_SEMIRAW_S): Likewise.
11621         (FP_PACK_SEMIRAW_SP): Likewise.
11622         (_FP_SQRT_MEAT_S): Likewise.
11623         (FP_CMP_S): Likewise.
11624         (FP_CMP_EQ_S): Likewise.
11625         (FP_CMP_UNORD_S): Likewise.
11626         (FP_TO_INT_S): Likewise.
11627         (FP_FROM_INT_S): Likewise.
11629         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11631         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11632         (FP_EX_INVALID_IMZ): Likewise.
11633         (FP_EX_INVALID_IMZ_FMA): Likewise.
11634         (FP_EX_INVALID_ISI): Likewise.
11635         (FP_EX_INVALID_ZDZ): Likewise.
11636         (FP_EX_INVALID_IDI): Likewise.
11637         (FP_EX_INVALID_SQRT): Likewise.
11638         (FP_EX_INVALID_CVI): Likewise.
11639         (FP_EX_INVALID_VC): Likewise.
11640         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11641         "invalid" exceptions.
11642         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11643         (_FP_ADD_INTERNAL): Likewise.
11644         (_FP_MUL): Likewise.
11645         (_FP_FMA): Likewise.
11646         (_FP_DIV): Likewise.
11647         (_FP_CMP_CHECK_NAN): Likewise.
11648         (_FP_SQRT): Likewise.
11649         (_FP_TO_INT): Likewise.
11650         (FP_EXTEND): Likewise.
11652 2014-10-09  Allan McRae  <allan@archlinux.org>
11654         * po/fr.po: Update French translation from translation project.
11656 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11658         [BZ #14132]
11659         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11660         of INTDEF.
11661         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11662         (__cxa_atexit): Use libc_hidden_proto.
11663         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11665         [BZ #14132]
11666         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11667         declaration.
11668         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11669         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11670         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11671         [!_ISOMAC] (__iswctype_internal): Likewise.
11672         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11673         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11674         alias.
11675         (fcntl): Remove __fcntl_internal alias.
11676         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11677         __connect_internal alias.
11678         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11679         Likewise.
11681         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11682         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11683         FP_DENORM_ZERO.
11684         (_FP_CHECK_FLUSH_ZERO): New macro.
11685         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11686         (_FP_CMP): Likewise.
11687         (_FP_CMP_EQ): Likewise.
11688         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11689         FP_DENORM_ZERO.
11690         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11691         (FP_TRUNC): Likewise.
11693         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11694         treated as invalid conversion, not as normal exponent.
11696         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11697         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11698         (_FP_CMP_EQ): Likewise.
11699         (_FP_CMP_UNORD): Likewise.
11700         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11701         (FP_CMP_EQ_D): Likewise.
11702         (FP_CMP_UNORD_D): Likewise.
11703         * soft-fp/extended.h (FP_CMP_E): Likewise.
11704         (FP_CMP_EQ_E): Likewise.
11705         (FP_CMP_UNORD_E): Likewise.
11706         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11707         (FP_CMP_EQ_Q): Likewise.
11708         (FP_CMP_UNORD_Q): Likewise.
11709         * soft-fp/single.h (FP_CMP_S): Likewise.
11710         (FP_CMP_EQ_S): Likewise.
11711         (FP_CMP_UNORD_S): Likewise.
11712         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11713         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11714         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11715         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11716         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11717         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11718         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11719         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11720         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11721         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11722         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11723         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11724         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11725         to FP_CMP_Q.
11726         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11727         FP_CMP_Q.
11728         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11729         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11730         FP_CMP_EQ_Q.
11731         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11732         FP_CMP_Q.
11733         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11734         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11735         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11736         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11737         FP_CMP_EQ_Q.
11738         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11739         FP_CMP_Q.
11740         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11741         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11742         FP_CMP_EQ_Q.
11743         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11744         FP_CMP_Q.
11745         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11746         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11747         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11748         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11749         FP_CMP_EQ_Q.
11751         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11752         a subnormal result, set the underflow exception if trapping on
11753         underflow is enabled.
11754         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11755         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11756         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11757         redefine to 0.
11758         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11759         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11760         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11761         * soft-fp/extendxftf2.c (__extendxftf2): Use
11762         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11764         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11765         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11766         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11767         FP_HANDLE_EXCEPTIONS.
11768         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11769         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11770         FP_HANDLE_EXCEPTIONS.
11771         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11772         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11773         FP_HANDLE_EXCEPTIONS.
11774         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11775         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11776         FP_HANDLE_EXCEPTIONS.
11778 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11780         [BZ #14132]
11781         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11782         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11783         use INTUSE.
11784         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11785         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11786         Remove alias.
11787         (__adjtimex): Define using libc_hidden_ver.
11788         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11789         Remove declaration.
11790         (ntp_gettime): Call __adjtimex directly.
11791         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11792         Remove declaration.
11793         (ntp_gettimex): Call __adjtimex directly.
11794         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11795         __adjtimex_internal alias.
11797 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11799         [BZ #17460]
11800         * nscd/nscd.c (more_help): Rewrite list of tables collection
11801         using xstrdup and asprintf.
11803         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11805 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11806             Roland McGrath  <roland@hack.frob.com>
11808         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11809         (do_lookup_unique): ... local function 'enter' here; update callers.
11811 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11813         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11814         compat_symbol calls on [SHARED].
11815         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11816         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11817         Remove.
11818         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11819         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11820         (oldsetrlimit): Remove.
11821         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11823         (lchown): New syscall entry.
11824         (oldsetrlimit): Remove.
11825         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11826         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11827         (oldsetrlimit): Remove.
11828         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11830         [BZ #14138]
11831         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11832         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11833         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11834         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11835         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11836         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11837         (fchown): Likewise.
11838         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11839         (fchown): Likewise.
11840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11841         Likewise.
11843 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11845         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11846         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11847         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11848         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11849         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11850         Likewise.
11851         (__old_sem_post): Likewise.
11853 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11855         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11856         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11857         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11858         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11859         Use INLINE_VSYSCALL macro.
11860         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11861         __vdso_clock_gettime.
11862         * sysdeps/unix/sysv/linux/tile/init-first.c
11863         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11864         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11865         __vdso_clock_gettime.
11867         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11868         to set up frame more cleanly.
11870         * sysdeps/tile/memcmp.c: New file.
11872         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11874         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11875         * sysdeps/tile/tilegx/strcasestr.c: New file.
11876         * sysdeps/tile/tilegx/strnlen.c: New file.
11877         * sysdeps/tile/tilegx/strstr.c: New file.
11879         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11881 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11883         * nptl/tst-setuid3.c: Write errors to stdout.
11885 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11887         * elf/dl-deps.c
11888         (preload): New functions broken out of _dl_map_object_deps.
11889         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11891 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11893         [BZ #14138]
11894         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11895         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11897 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11899         * sysdeps/mips/strcmp.S: New.
11901 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11903         [BZ #14138]
11904         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11905         (linkat): Likewise.
11906         (mkdirat): Likewise.
11907         (readlinkat): Likewise.
11908         (renameat): Likewise.
11909         (symlinkat): Likewise.
11910         (unlinkat): Likewise.
11911         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11912         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11913         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11914         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11915         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11916         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11917         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11919 2014-09-30  Will Newton  <will.newton@linaro.org>
11921         * math/math.h: Define long double math functions if
11922         _LIBC_TEST is defined.
11923         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11925         * localedata/Makefile: Move assignment to tests-special
11926         into an ifdef testing run-built-tests.
11927         * timezone/Makefile: Likewise.
11929 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11931         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11932         with $(BASH) not $(SHELL).
11934 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11935             Matthew LeGendre  <legendre1@llnl.gov>
11937         [BZ #17411]
11938         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11939         l_reloc_result.
11941 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11943         * stdio-common/printf_fp.c
11944         (hack_digit): New function, broken out of ...
11945         (__printf_fp): ... local function here.  Update call sites.
11946         hack_digit now takes an additional parameter that is a pointer
11947         to a struct of the referenced locals.  Those locals moved inside
11948         the struct and references updated.
11950 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11952         * aclocal.m4: Require autoconf 2.69.
11953         * configure: Regenerated.
11954         * sysdeps/aarch64/configure: Likewise.
11955         * sysdeps/alpha/configure: Likewise.
11956         * sysdeps/arm/armv7/configure: Likewise.
11957         * sysdeps/arm/configure: Likewise.
11958         * sysdeps/ia64/configure: Likewise.
11959         * sysdeps/mach/configure: Likewise.
11960         * sysdeps/mips/configure: Likewise.
11961         * sysdeps/s390/configure: Likewise.
11962         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11965         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11966         file.
11967         * sysdeps/ia64/configure.ac: Likewise.
11969 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11972         specify symbol version for ld.so.  Do not include entry for
11973         libpthread.
11974         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11975         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11976         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11978         [BZ #14171]
11979         * Makeconfig [$(build-shared) = yes]
11980         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11981         makefiles.
11982         [$(build-shared) = yes && $(soversions.mk-done) = t]
11983         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11984         [$(build-shared) = yes && $(soversions.mk-done) = t]
11985         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11986         to Makerules.
11987         [$(build-shared) = yes && $(soversions.mk-done) = t]
11988         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11989         here.
11990         [$(build-shared) = yes && $(soversions.mk-done) = t]
11991         (common-generated): Don't append gnu/lib-names.h and
11992         gnu/lib-names.stmp here.
11993         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11994         (lib-names-h-abi): New variable.
11995         [$(build-shared) = yes && $(soversions.mk-done) = t]
11996         (lib-names-stmp-abi): Likewise.
11997         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11998         abi-variants] (before-compile): Append
11999         $(common-objpfx)$(lib-names-h-abi).
12000         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12001         abi-variants] (common-generated): Append gnu/lib-names.h.
12002         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12003         abi-variants] (install-others-nosubdir): Depend on
12004         $(inst_includedir)/$(lib-names-h-abi).
12005         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12006         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12007         [$(build-shared) = yes && $(soversions.mk-done) = t]
12008         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12009         [$(build-shared) = yes && $(soversions.mk-done) = t]
12010         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12011         [$(build-shared) = yes && $(soversions.mk-done) = t]
12012         (common-generated): Append $(lib-names-h-abi) and
12013         $(lib-names-stmp-abi).
12014         * scripts/lib-names.awk: Do not handle multi being set.
12015         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12016         Remove variable.
12017         (abi-lp64_be-ld-soname): Likewise.
12018         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12019         Likewise.
12020         (abi-hard-ld-soname): Likewise.
12021         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12022         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12023         Remove variable.
12024         (abi-o32_hard-ld-soname): Likewise.
12025         (abi-o32_soft_2008-ld-soname): Likewise.
12026         (abi-o32_hard_2008-ld-soname): Likewise.
12027         (abi-n32_soft-ld-soname): Likewise.
12028         (abi-n32_hard-ld-soname): Likewise.
12029         (abi-n32_soft_2008-ld-soname): Likewise.
12030         (abi-n32_hard_2008-ld-soname): Likewise.
12031         (abi-n64_soft-ld-soname): Likewise.
12032         (abi-n64_hard-ld-soname): Likewise.
12033         (abi-n64_soft_2008-ld-soname): Likewise.
12034         (abi-n64_hard_2008-ld-soname): Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12036         Likewise.
12037         (abi-64-v2-ld-soname): Likewise.
12038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12039         ld.so entries.
12040         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12041         variable.
12042         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12043         entry.
12044         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12045         variable.
12046         (abi-64-ld-soname): Likewise.
12047         (abi-x32-ld-soname): Likewise.
12048         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12049         entry.
12050         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12052 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12054         [BZ #14138]
12055         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12056         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12057         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12058         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12059         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12060         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12061         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12062         syscall entry for GLIBC_2.2 symbol version.
12063         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12064         Likewise.
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12066         (setrlimit): Likewise.
12067         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12068         Likewise.
12070 2014-09-23  Will Newton  <will.newton@linaro.org>
12072         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12073         _LINUX_ARM_SYSDEP_H include guard too.
12074         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12075         define.
12077 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12079         * sysdeps/unix/sysv/linux/eventfd.c:
12080         Make first argument unsigned.
12081         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12082         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12084 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12086         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12087         * socket/sys/socket.h: Likewise
12088         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12090 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12092         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12094 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12096         * time/tst-ftime.c: New test.
12097         * time/Makefile (tests): Add tst-ftime.
12099 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12101         * soft-fp/extended.h: Fix comment formatting.
12102         * soft-fp/op-1.h: Likewise.
12103         * soft-fp/op-2.h: Likewise.
12104         * soft-fp/op-4.h: Likewise.
12105         * soft-fp/op-8.h: Likewise.
12106         * soft-fp/op-common.h: Likewise.
12107         * soft-fp/soft-fp.h: Likewise.
12109         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12111 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12113         [BZ #6652]
12114         * Makeconfig (soversions-default-setname): Remove variable.
12115         ($(common-objpfx)soversions.i): Don't pass default_setname to
12116         soversions.awk.
12117         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12118         oldest_abi to abi-versions.awk.
12119         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12120         * config.make.in (oldest-abi): Remove variable.
12121         * configure.ac (--enable-oldest-abi): Remove configure option.
12122         * configure: Regenerated.
12123         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12124         text.
12125         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12126         * scripts/soversions.awk: Do not handle default_setname variable.
12127         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12128         variable.
12129         * sysdeps/mach/hurd/configure: Regenerated.
12130         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12131         variable.
12132         * sysdeps/unix/sysv/linux/configure: Regenerated.
12134 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12136         * elf/Makefile (CFLAGS-interp.c): Remove.
12137         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12138         path string.
12139         * elf/interp.c: Include generated runtime-linker.h
12141         * Makerules (lib%.so): Don't include $(+interp) in
12142         prerequisites.
12143         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12144         * dlfcn/eval.c: Remove file.
12146         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12147         macros.
12149         [BZ #17266]
12150         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12151         4.2 and newer.
12153         [BZ #17370]
12154         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12156 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12157             Jakub Jelinek  <jakub@redhat.com>
12159         [BZ #17266]
12160         * libio/stdio.h: Check definition of __fortify_function
12161         instead of __extern_always_inline to include bits/stdio2.h.
12162         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12163         check if __extern_always_inline is defined.
12164         [__USE_MISC || __USE_XOPEN]: Likewise.
12165         [__USE_ISOC99] Likewise.
12166         * misc/sys/cdefs.h (__fortify_function): Define only if
12167         __extern_always_inline is defined.
12168         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12169         __extern_always_inline and __extern_inline only for g++-4.3
12170         and newer or a compatible gcc.
12172 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12174         [BZ #17371]
12175         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12176         last change to handle zero prefix length.
12178 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12180         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12181         _SC_REGEX_VERSION.
12183         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12184         _POSIX_RAW_SOCKETS.
12186 2014-09-13  Allan McRae  <allan@archlinux.org>
12188         * po/ru.po: Update Russian translation from translation project.
12190 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12192         * locale/programs/locale.c (show_locale_vars): Inline local function
12193         into its sole call site.  Clean up some style nits.
12194         (print_item): New function, broken out of ...
12195         (show_info): ... local function here.  Clean up style nits.
12197         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12198         out of ...
12199         (set_class_defaults): ... local function set_default here.
12200         Define set_default as a macro locally to pass constant parameters.
12201         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12202         rather than a shared local.
12204         * stdlib/rpmatch.c (try): New function, broken out of ...
12205         (rpmatch): ... local function here.  Also, prototypify definition.
12207 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12209         * scripts/soversions.awk: Do not handle configuration names.
12210         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12211         vendor and os variables to soversions.awk.
12212         * configure.ac: Do not modify gnu-* host_os.
12213         * configure: Regenerated
12214         * shlib-versions: Remove first column with configuration names.
12215         * nptl/shlib-versions: Likewise.
12216         * nptl_db/shlib-versions: Likewise.
12217         * sysdeps/hppa/shlib-versions: Likewise.
12218         * sysdeps/m68k/shlib-versions: Likewise.
12219         * sysdeps/mach/hurd/shlib-versions: Likewise.
12220         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12221         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12222         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12223         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12224         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12225         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12226         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12227         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12229         Likewise.
12230         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12231         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12232         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12233         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12234         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12235         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12236         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12240         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12242         Regenerated.
12243         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12245         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12247         * shlib-versions: Remove OS-specific entries.  Moved to files in
12248         sysdeps.
12249         * sysdeps/mach/hurd/shlib-versions: New file.
12250         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12252         * nptl/shlib-versions: Remove architecture-specific entries.
12253         Moved to files in sysdeps.
12254         * shlib-versions: Likewise.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12256         file.
12257         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12258         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12259         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12260         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12262         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12263         (UDP_NO_CHECK6_RX): Likewise.
12265 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12267         * sysdeps/posix/sysconf.c (__sysconf): Spell
12268         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12270 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12272         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12273         loading.
12274         * iconv/Versions (__gconv_transliterate): Export for use from
12275         gconv modules.
12276         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12277         (struct __gconv_trans_data, __gconv_trans_fct,
12278         __gconv_trans_context_fct, __gconv_trans_query_fct,
12279         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12280         definitions.
12281         (struct __gconv_step_data): Remove __trans member.
12282         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12283         longer hidden.  Remove unused trans_data argument.
12284         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12285         (__gconv_translit_find): Remove declaration.
12286         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12287         prototype.
12288         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12289         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12290         trans_data argument.  Add hidden definition.
12291         (__gconv_translit_find): Remove.
12292         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12293         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12294         * iconv/skeleton.c: Remove transliteration initialization.
12295         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12296         __gconv_step_data initialization.
12297         * libio/iofwide.c (__libio_translit_): Remove.
12298         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12299         * wcsmbs/btowc.c (__btowc): Likewise.
12300         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12301         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12302         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12303         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12304         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12305         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12306         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12307         * wcsmbs/wctob.c (wctob): Likewise.
12309 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12311         [BZ #16194]
12312         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12313         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12314         register usage.
12315         * sysdeps/x86/Makefile: Adjust.
12317 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12318             Roland McGrath  <roland@hack.frob.com>
12320         * locale/weight.h: Add include guard.
12321         (findidx): Make static rather than auto; take new parameters
12322         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12323         * locale/weightwc.h: Likewise.
12324         * posix/fnmatch_loop.c
12325         (FCT): Change type of EXTRA from int32_t to wint_t.
12326         Don't include either header inside the function.
12327         Call FINDIDX rather than findidx, and pass new arguments.
12328         #undef FINDIDX at the end of the file.
12329         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12330         FINDIDX before including fnmatch_loop.c for the non-wide version.
12331         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12332         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12333         for the wide version.
12334         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12335         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12336         Pass new arguments to findidx.
12337         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12338         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12339         Don't #include it inside the function.  Pass new arguments to findidx.
12340         * posix/regex_internal.h
12341         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12342         (re_string_elem_size_at): Don't #include it inside the function.
12343         Pass new arguments to findidx.
12344         * string/strcoll_l.c: #include WEIGHT_H at top level.
12345         (get_next_seq): Don't #include it inside the function.
12346         Pass new arguments to findidx.
12347         (get_next_seq_nocache): Likewise.
12348         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12349         (STRXFRM): Don't #include it inside the function.
12350         Pass new arguments to findidx.
12352 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12354         [BZ #17344]
12355         * malloc/malloc.c (unlink): Turn asserts into a call to
12356         malloc_printerr.
12358 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12360         [BZ #17370]
12361         * libio/wfileops (do_ftell_wide): Free OUT.
12363 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12365         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12367 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12369         [BZ #17363]
12370         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12371         group if the current group is empty.
12373 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12375         * benchtests/bench-memset.c (test_main): Add more test from size
12376         from 32 to 512 bytes.
12377         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12378         Add POWER8 memset object.
12379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12380         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12381         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12382         implementation.
12383         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12384         Likewise.
12385         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12386         multiarch POWER8 memset optimization.
12387         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12388         POWER8 memset optimization.
12390         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12391         Remove bzero multiarch objects.
12392         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12393         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12394         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12395         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12396         Remove define.
12397         [__bzero]: Redefine to specific name.
12398         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12399         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12400         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12401         define.
12402         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12403         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12405 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12407         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12408         warnings into errors.
12410         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12411         __cxa_thread_atexit_impl prototype.
12413 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12415         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12416         Fix capitalization of error message.
12418 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12420         * sysdeps/mips/preconfigure: Modify ABI tests.
12422 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12424         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12426 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12427             Carlos O'Donell  <carlos@systemhalted.org>
12429         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12430         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12431         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12432         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12433         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12435         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12436         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12437         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12438         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12442         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12444         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12446         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12448         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12450         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12451         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12452         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12453         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12454         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12455         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12456         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12457         Deconditionalize the code that was previously under [RESET_PID].
12458         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12459         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12460         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12461         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12462         include sysdep.h.
12464 2014-09-08  Allan McRae  <allan@archlinux.org>
12466         * version.h (RELEASE): Set to "development".
12467         (VERSION): Set to "2.20.90"
12469 2014-09-07  Allan McRae  <allan@archlinux.org
12471         * version.h (RELEASE): Set to "stable".
12472         (VERSION): Set to "2.20"
12473         * include/features.h (__GLIBC_MINOR__): Set to 20.
12475         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12476         Liebler.
12478         * po/ko.po: Update Korean translation from translation project.
12480 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12482         [BZ #17354]
12483         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12484         macro for handling signed relocations.
12486 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12488         [BZ #17325]
12489         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12490         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12491         assert.
12492         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12493         * iconvdata/ibm935.c (BODY): Likewise.
12494         * iconvdata/ibm937.c (BODY): Likewise.
12495         * iconvdata/ibm939.c (BODY): Likewise.
12496         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12497         assert.
12498         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12499         script.
12500         * iconvdata/run-iconv-test.sh: New test loop for checking for
12501         decoder crashers.
12503 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12505         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12506         libm_hidden_ver.
12508 2014-09-01  Allan McRae  <allan@archlinux.org>
12510         * po/eo.po: Update Esperanto translation from translation project.
12512         * po/ca.po: Update Catalan translation from translation project.
12514 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12516         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12517         __proc_dostop call.
12519 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12521         [BZ #17319]
12522         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12523         to call set_thread_area instead of hand written asm.
12524         (__NR_set_thread_area): Removed define.
12525         (TLS_FLAG_WRITABLE): Likewise.
12526         (__ASSUME_SET_THREAD_AREA): Remove check.
12527         (TLS_EBX_ARG): Remove define.
12528         (TLS_LOAD_EBX): Likewise.
12530 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12532         Simplify atomicity of socket creation in bind.
12534         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12535         looking up the name after linking the file.
12537 2014-08-27  Allan McRae  <allan@archlinux.org>
12539         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12541 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12543         [BZ #17187]
12544         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12545         trans_compare, open_translit, __gconv_translit_find):
12546         Remove module loading code.
12548 2014-08-26  Allan McRae  <allan@archlinux.org>
12550         * po/vi.po: Update Vietnamese translation from translation project.
12552         * po/uk.po: Update Ukrainian translation from translation project.
12554         * po/fr.po: Update French translation from translation project.
12556         * po/ru.po: Update Russian translation from translation project.
12558         * po/pl.po: Update Polish translation from translation project.
12560         * po/cs.po: Update Czech translation from translation project.
12562         * po/de.po: Update German translation from translation project.
12564         * po/bg.po: Update Bulgarian translation from translation project.
12566         * po/sv.po: Update Sweedish translation from translation project.
12568         * po/nl.po: Update Dutch translation from translation project.
12570         * po/es.po: Update Spanish translation from translation project.
12572 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12574         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12576         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12577         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12578         (CPPFLAGS-iconvconfig): Likewise.
12579         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12581         * include/libc-symbols.h: Remove unnecessary check for
12582         NOT_IN_libc.
12583         * nptl/pthreadP.h: Likewise.
12584         * sysdeps/aarch64/setjmp.S: Likewise.
12585         * sysdeps/alpha/setjmp.S: Likewise.
12586         * sysdeps/arm/sysdep.h: Likewise.
12587         * sysdeps/i386/setjmp.S: Likewise.
12588         * sysdeps/m68k/setjmp.c: Likewise.
12589         * sysdeps/posix/getcwd.c: Likewise.
12590         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12591         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12592         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12593         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12594         * sysdeps/sh/sh3/setjmp.S: Likewise.
12595         * sysdeps/sh/sh4/setjmp.S: Likewise.
12596         * sysdeps/unix/alpha/sysdep.h: Likewise.
12597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12598         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12599         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12600         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12603         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12604         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12605         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12606         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12608         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12610         * sysdeps/x86_64/setjmp.S: Likewise.
12612 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12614         [BZ #17263]
12615         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12616         <stdint.h>.
12617         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12618         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12620 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12622         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12624         [BZ #17262]
12625         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12626         and __x86_64__ when disabling x87 inline functions.
12628 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12630         [BZ #17259]
12631         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12632         asm statement with __cpuid_count.
12634 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12636         * configure.ac: Change __ehdr_start code to dereference the struct.
12637         Run readelf on the output to look for relocations.
12638         * configure: Regenerated.
12640 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12642         [BZ #17261]
12643         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12644         value to 0.
12645         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12647 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12649         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12651 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12653         [BZ #16892]
12654         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12655         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12657 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12659         * malloc/malloc.c: Fix typo in comment.
12661 2014-08-09  Allan McRae  <allan@archlinux.org>
12663         * Regenerate libc.po.
12665 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12667         * intl/tst-gettext2.sh: Check every lang file for creation.
12669 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12671         * sysdeps/aarch64/fpu/math_private.h
12672         (libc_feholdsetround_noex_aarch64_ctx): New function.
12674 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12676         * sysdeps/arm/armv6/strcpy.S (strcpy):
12677         Fix performance issue in misaligned cases.
12679 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12681         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12682         Move definition from termios.h.
12683         (struct termio): Likewise.
12684         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12685         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12686         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12687         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12688         Likewise.
12689         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12690         Move definition to ioctl-types.h
12691         (struct termio): Likewise.
12692         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12693         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12694         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12695         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12696         Likewise.
12698 2014-08-05  Richard Henderson  <rth@redhat.com>
12700         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12701         exceptions.
12702         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12703         Add fraiseexcpt.
12704         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12705         Use __feraiseexcept.
12706         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12707         Protect libm symbols with IS_IN_libm.
12709         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12711 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12713         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12715 2014-08-04  Will Newton  <will.newton@linaro.org>
12717         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12718         file.
12720 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12722         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12723         variants for each function.
12725 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12727         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12728         appended ...
12729         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12730         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12731         appended ...
12732         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12733         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12734         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12735         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12736         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12737         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12738         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12739         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12740         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12741         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12742         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12743         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12744         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12745         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12746         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12747         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12748         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12749         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12750         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12751         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12752         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12753         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12755         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12756         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12757         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12758         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12759         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12760         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12761         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12762         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12763         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12764         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12765         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12766         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12767         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12768         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12769         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12770         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12771         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12772         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12773         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12774         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12775         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12776         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12778         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12780         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12781         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12782         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12783         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12784         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12785         Update #include.
12786         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12787         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12789 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12791         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12792         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12793         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12794         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12795         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12796         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12798 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12800         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12801         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12802         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12803         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12805 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12807         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12808         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12809         (__libc_vfork): Define function under this name.
12810         (__vfork): Define as an alias.
12811         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12812         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12814 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12816         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12817         that was previously under [RESET_PID].
12818         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12820 2014-08-04  Andreas Schwab  <schwab@suse.de>
12822         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12824 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12826         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12827         (main): Likewise.
12829 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12831         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12833 2014-08-01  Richard Henderon  <rth@redhat.com>
12835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12836         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12837         typo in exact zero test.
12838         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12839         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12842 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12844         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12845         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12846         * sysdeps/arm/sysdep.h: ... here.
12847         [!__ASSEMBLER__]: Include <stdint.h>.
12849 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12851         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12852         (HAVE_WCTYPE_H): Likewise.
12853         (HAVE_ISWCTYPE): Likewise.
12854         (ENABLE_NLS): Likewise.
12855         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12856         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12858         * posix/regex_internal.c: Check if DEBUG is defined and is
12859         set.
12861         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12862         (HAVE_MBSRTOWCS): Likewise.
12863         * posix/fnmatch.c: Include string.h unconditionally.
12865 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12867         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12868         reversal.
12870 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12872         * sysdeps/generic/safe-fatal.h: New file.
12873         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12874         * nptl/forward.c: Include it.
12875         (__pthread_unwind): Use __safe_fatal as default action, rather
12876         than a bogus use of INTERNAL_SYSCALL that could never work.
12878         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12879         * configure.ac (libc_cv_builtin_trap): New test.
12880         * configure: Regenerated.
12881         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12882         (ABORT_INSTRUCTION): Define using __builtin_trap.
12884         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12885         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12886         * sysdeps/nptl/nptl-signals.h: New file.
12887         * nptl/pthreadP.h: Include <nptl-signals.h>.
12889 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12891         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12892         (ONE_DIRECTION): Define.
12893         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12894         (ONE_DIRECTION): Define.
12895         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12896         (ONE_DIRECTION): Define.
12898 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12900         * sysdeps/s390/Makefile: Delete file.
12901         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12902         * sysdeps/s390/__longjmp.c: Delete file.
12903         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12904         Remove fields __flags and __reserved.
12905         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12906         and add versioning.
12907         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12908         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12909         * sysdeps/s390/rtld-setjmp.S: Likewise.
12910         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12911         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12912         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12913         * sysdeps/s390/s390-32/setjmp.S: ... here.
12914         Add versioning.
12915         (__sigsetjmp): Remove setting __flags field.
12916         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12917         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12918         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12919         * sysdeps/s390/s390-64/setjmp.S: ... here.
12920         Add versioning.
12921         (__sigsetjmp): Remove setting __flags field.
12922         * sysdeps/s390/setjmp.S: Delete file.
12923         * sysdeps/s390/sigjmp.c: Likewise.
12924         * sysdeps/s390/v1-longjmp.c: Likewise.
12925         * sysdeps/s390/v1-setjmp.h: Likewise.
12926         * sysdeps/s390/v1-sigjmp.c: Likewise.
12927         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12928         Remove v1-longjmp_chk.
12929         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12930         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12931         Include debug/longjmp_chk.c and add versioning.
12932         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12933         Include nptl/pt-longjmp.c and add versioning.
12934         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12935         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12936         Include __longjmp.c.
12937         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12938         Move to ...
12939         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12940         (__getcontext): Remove setting __flags field.
12941         Add versioning.
12942         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12943         Don't restore upper high grps.
12944         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12945         Likewise.
12946         (__swapcontext): Remove setting uc_flags field.
12947         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12948         Delete file.
12949         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12950         Include __longjmp.c.
12951         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12952         Move to ...
12953         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12954         (__getcontext): Remove setting __flags field.
12955         Add versioning.
12956         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12957         (__swapcontext): Remove setting uc_flags field.
12958         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12959         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12960         Remove fields uc_high_gprs and __reserved.
12961         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12962         New file with reverted content.
12963         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12964         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12965         Regenerated.
12966         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12967         Regenerated.
12969 2014-07-31  Andreas Schwab  <schwab@suse.de>
12971         * config.h.in (HAVE_IFUNC): Define to 0.
12972         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12973         definedness.
12975 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12978         memmove-avx-unaligned, memcpy-avx-unaligned and
12979         mempcpy-avx-unaligned.
12980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12981         Add tests for AVX memcpy functions.
12982         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12983         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12984         memcpy_chk.
12985         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12986         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12987         memmove_chk.
12988         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12989         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12990         mempcpy_chk.
12991         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12992         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12993         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12995 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12997         [BZ #17213]
12998         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12999         powerpc64le.
13001 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13003         [BZ #16839]
13004         * manual/llio.texi: Add section about open file description locks.
13005         * manual/examples/ofdlocks.c: Example of open file description
13006         lock usage.
13007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13008         F_OFD_SETLK, and F_OFD_SETLKW.
13010 2014-07-23  Allan McRae  <allan@archlinux.org>
13012         * po/es.po: Update Spanish translation from translation project.
13014 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13016         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13018 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13020         [BZ #17078]
13021         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13022         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13023         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13025 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13027         [BZ #17088]
13028         * math/fesetenv.c (__fesetenv)
13029         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13030         * math/feupdateenv.c (__feupdateenv)
13031         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13033         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13034         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13035         (__ASSUME_SOCKETCALL): Do not define.
13037         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13038         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13039         (__ASSUME_SOCKETCALL): Do not define.
13040         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13041         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13042         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13043         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13044         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13045         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13047         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13049         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13050         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13051         (__ASSUME_SOCKETCALL): Do not define.
13052         (__ASSUME_IPC64): Define unconditionally.
13053         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13054         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13055         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13056         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13057         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13058         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13059         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13060         Likewise.
13062         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13063         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13064         (__ASSUME_SOCKETCALL): Do not define.
13065         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13066         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13067         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13068         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13069         (__ASSUME_REQUEUE_PI): Define unconditionally.
13070         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13071         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13072         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13073         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13075         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13077         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13078         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13079         (__ASSUME_SOCKETCALL): Do not define.
13080         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13081         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13082         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13083         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13085         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13087         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13088         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13089         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13090         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13091         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13092         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13093         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13094         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13095         (__ASSUME_GETCPU_SYSCALL): Likewise.
13097         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13098         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13099         cases for individual architectures.
13100         * sysdeps/gnu/configure: Regenerated.
13101         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13102         LIBC_SLIBDIR_RTLDDIR.
13103         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13104         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13105         LIBC_SLIBDIR_RTLDDIR.
13106         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13108         LIBC_SLIBDIR_RTLDDIR.
13109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13110         Regenerated.
13111         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13112         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13113         file.
13114         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13115         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13116         file.
13117         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13118         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13119         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13120         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13122         * sysdeps/aarch64/shlib-versions: Move to ...
13123         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13124         * sysdeps/alpha/shlib-versions: Move to ...
13125         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13126         * sysdeps/arm/shlib-versions: Move to ...
13127         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13128         * sysdeps/hppa/shlib-versions: Move all contents except for
13129         libgcc_s entry to ...
13130         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13131         entry from ...
13132         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13133         * sysdeps/ia64/shlib-versions: Move to ...
13134         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13135         entry from ...
13136         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13137         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13138         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13139         * sysdeps/microblaze/shlib-versions: Move to ...
13140         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13141         * sysdeps/mips/shlib-versions: Move to ...
13142         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13143         entry from ...
13144         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13145         * sysdeps/tile/shlib-versions: Move to ...
13146         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13147         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13148         from ...
13149         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13150         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13151         entry from ...
13152         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13154 2014-07-17  Will Newton  <will.newton@linaro.org>
13156         * sysdeps/arm/bits/atomic.h
13157         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13158         (__arch_compare_and_exchange_bool_16_int): Likewise.
13159         (__arch_compare_and_exchange_bool_64_int): Likewise.
13161         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13162         into an #else block.
13164 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13166         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13167         just Linux configurations.  Test empirically that the compiler sets
13168         __ARM_EABI__, rather than using the tuple to decide.
13169         * sysdeps/arm/preconfigure: Regenerated.
13170         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13171         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13172         contents appended ...
13173         * sysdeps/arm/configure.ac: ... here.
13174         * sysdeps/arm/configure: Regenerated.
13176 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13178         * nptl/pthread_kill.c: New file.
13179         * nptl/pthread_sigmask.c: New file.
13180         * nptl/pthread_sigqueue.c: New file.
13182         * sysdeps/nptl/lowlevellock.h: New file.
13183         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13184         * sysdeps/nptl/lowlevellock-futex.h: New file.
13186         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13187         Remove dead declarations.
13189 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13191         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13192         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13193         config-cflags-avx2.
13194         * sysdeps/x86_64/configure.ac: Likewise.
13195         * sysdeps/i386/configure: Regenerated.
13196         * sysdeps/x86_64/configure: Likewise.
13197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13198         memset-avx2 only if config-cflags-avx2 is yes.
13199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13200         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13201         defined.
13202         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13203         only if HAVE_AVX2_SUPPORT is defined.
13204         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13206 2014-07-14  Alan Modra  <amodra@gmail.com>
13208         [BZ #17153]
13209         * elf/elf.h (DT_PPC64_NUM): Correct value.
13210         * NEWS: Add to fixed bug list.
13212 2014-07-13  Jim Meyering  <meyering@fb.com>
13214         [BZ 17150]
13215         regex: don't deref NULL upon heap allocation failure
13216         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13217         failure in one more place.
13218         To trigger the segfault, configure grep -with-included-regex,
13219         build it, and run these commands:
13220         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13222 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13224         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13226 2014-07-11  Richard Henderson  <rth@redhat.com>
13228         * sysdeps/aarch64/libm-test-ulps: Update.
13230 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13232         [BZ #17135]
13233         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13234         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13235         (__nptl_setxid): Initialize error member.  Call
13236         __nptl_setxid_error.
13237         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13238         * nptl/descr.h (struct xid_command): Add error member.
13239         * nptl/tst-setuid3.c: New file.
13240         * nptl/Makefile (tests): Add it.
13242 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13244         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13245         New define.
13246         (__lll_trylock): Use __lll_base_trylock.
13247         (__lll_cond_trylock): Likewise.
13249 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13251         * nptl/pthread_create.c (start_thread): Use atomic_or and
13252         lll_futex_wake directly rather than lll_robust_dead.
13253         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13254         (lll_robust_dead): Macro removed.
13255         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13256         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13257         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13258         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13259         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13260         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13261         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13262         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13263         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13265         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13266         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13267         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13268         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13271         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13272         Use atomic_compare_and_exchange_val_acq directly rather than
13273         lll_robust_trylock.
13274         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13275         (__lll_robust_trylock, lll_robust_trylock): Removed.
13276         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13277         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13278         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13279         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13280         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13281         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13282         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13283         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13284         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13285         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13286         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13287         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13288         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13291 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13293         * manual/locale.texi (Locale Names): New section documenting
13294         locale name syntax.  Adjust menu and node chaining accordingly.
13295         (Choosing Locale): Reference Locale Names, Locale Categories.
13296         Mention setting LC_ALL=C.  Reflect that name syntax is now
13297         documented.
13298         (Locale Categories): New section title.  Reference Locale Names.
13299         LC_ALL is an environment variable, but not a category.
13300         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13301         description, now in Locale Name.  Reference that section.  Locale
13302         name syntax is now documented.
13304 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13306         [BZ #17137]
13307         * locale/findlocale.c (name_present, valid_locale_name): New
13308         functions.
13309         (_nl_find_locale): Use the loc_name variable to store name
13310         candidates.  Call name_present and valid_locale_name to check and
13311         validate locale names.  Return an error if the locale is invalid.
13313 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13315         * locale/setlocale.c (setlocale): Use strdup for allocating
13316         composite name copy.
13318 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13320         Sync up with gnulib.
13321         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13322         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13323         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13324         and _GL_ARG_NONNULL.
13325         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13326         [!_LIBC]: Include code for Windows and Cygwin.
13327         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13328         Include prototype for int strerror_r.
13329         [!_LIBC] (is_open): New function.
13330         (flush_stdout): New function.
13331         (print_errno_message): Use it.
13332         (error): Likewise.
13333         (error_at_line): Likewise.
13334         (error_tail) Add function attribute macros.  Use
13335         __builtin_expect.
13337         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13339         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13341         * io/ftw.c: Include sys/param.h unconditionally.
13343         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13345         [BZ #17125]
13346         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13347         libc_freeres_ptr.
13348         (freecache): New function to free CACHE on exit.
13350         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13351         initialization.
13353 2014-07-09  David S. Miller  <davem@davemloft.net>
13355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13357         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13358         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13359         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13360         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13361         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13362         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13363         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13364         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13365         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13366         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13367         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13368         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13369         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13371 2014-07-09  Andreas Schwab  <schwab@suse.de>
13373         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13374         output.
13375         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13376         (do_test): Likewise.
13378         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13380 2014-07-09  Will Newton  <will.newton@linaro.org>
13382         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13383         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13384         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13385         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13386         * sysdeps/hppa/start.S (_start): Likewise.
13388 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13390         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13392         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13393         defined.
13395 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13397         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13398         after checking that it is non-NULL.
13400         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13402 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13404         * sysdeps/powerpc/memmove.c: Remove file.
13405         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13406         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13407         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13408         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13409         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13410         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13411         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13412         string memmove instead of removed powerpc one.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13415         [weak_alias]: Fix compiler warning due trailing data.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13417         [weak_alias]: Likewise.
13418         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13419         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13422         (__libc_ifunc_impl_list): Add memmove functions.
13424 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13426         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13427         Remove code.
13428         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13429         Likewise
13430         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13431         Likewise
13432         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13433         Likewise
13434         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13435         Likewise
13436         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13437         Likewise
13438         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13439         Likewise
13440         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13441         Likewise
13442         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13443         Likewise
13444         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13445         Likewise
13446         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13447         Likewise
13448         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13449         Likewise
13450         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13451         Likewise
13452         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13453         Likewise
13454         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13455         Likewise
13456         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13457         Likewise
13458         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13459         Likewise
13461 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13463         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13464         to avoid alignment traps in non-cacheable memory.
13465         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13468         multiarch objects.
13469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13470         file: multiarch power7 memmove.
13471         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13472         multiarch default memmove.
13473         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13474         multiarch memove for powerpc32/power4.
13476         * string/bcopy.c: Use full path to include memmove.c.
13477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13478         multiarch objects.
13479         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13480         bcopy for powerpc64.
13481         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13482         bcopy for powerpc64.
13483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13484         and memmove implementations.
13485         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13486         optimized multiarch memmove for POWER7/powerpc64.
13487         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13488         default multiarch memmove for powerpc64.
13489         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13490         multiarch for powerpc64.
13491         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13492         for POWER7/powerpc64.
13493         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13494         memmove for POWER7/powerpc64.
13496         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13497         glibc default one.
13499         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13500         __ELF_NATIVE_CLASS equal to 64.
13502 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13504         * sysdeps/nptl/lowlevellock.h: File removed.
13506         * NEWS: NPTL is no longer an add-on!
13507         * nptl/internaltypes.h: Moved ...
13508         * sysdeps/nptl/internaltypes.h: ... here.
13509         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13510         * sysdeps/nptl/fork.c: Likewise.
13511         * sysdeps/nptl/gai_misc.h: Likewise.
13512         * sysdeps/nptl/librt-cancellation.c: Likewise.
13513         * sysdeps/nptl/jmp-unwind.c: Likewise.
13514         * sysdeps/nptl/setxid.h: Likewise.
13515         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13516         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13517         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13518         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13519         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13520         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13521         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13522         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13523         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13524         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13525         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13526         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13527         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13528         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13529         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13530         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13531         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13532         * nptl/Makeconfig: Moved ...
13533         * sysdeps/nptl/Makeconfig: ... here.
13534         * nptl/configure: File removed.
13535         * nptl/ANNOUNCE: File removed.
13536         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13537         * sysdeps/unix/sysv/linux/configure: Regenerated.
13539         * nptl/Makefile (routines): Add libc_pthread_init,
13540         libc_multiple_threads, register-atfork and unregister-atfork.
13541         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13542         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13543         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13544         pthread-pi-defines.sym, structsem.sym.
13545         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13546         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13547         [$(subdir) = nptl] (tests): Add tst-setgetname.
13548         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13549         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13550         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13551         [!LIBC_SIGACTION]: Remove aliases.
13552         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13553         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13554         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13555         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13556         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13557         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13558         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13560         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13561         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13562         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13563         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13564         __libc_allocate_rtsig_private.
13565         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13566         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13567         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13568         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13569         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13570         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13571         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13572         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13573         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13574         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13575         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13576         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13577         * nptl/internaltypes.h: ... here.
13578         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13579         * sysdeps/nptl/jmp-unwind.c: ... here.
13580         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13581         * nptl/libc-lowlevellock.c: ... here.
13582         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13583         * nptl/libc_multiple_threads.c: ... here.
13584         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13585         * nptl/libc_pthread_init.c: ... here.
13586         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13587         * nptl/lowlevelbarrier.sym: ... here.
13588         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13589         * nptl/lowlevelcond.sym: ... here.
13590         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13591         * nptl/lowlevellock.c: ... here.
13592         * nptl/lowlevellock.h: Moved ...
13593         * sysdeps/nptl/lowlevellock.h: ... here.
13594         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13595         * nptl/lowlevelrobustlock.c: ... here.
13596         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13597         * nptl/lowlevelrobustlock.sym: ... here.
13598         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13599         * nptl/lowlevelrwlock.sym: ... here.
13600         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13601         * nptl/pt-fork.c: ... here.
13602         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13603         * nptl/pthread-pi-defines.sym: ... here.
13604         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13605         * nptl/pthread_attr_getaffinity.c: ... here.
13606         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13607         * nptl/pthread_attr_setaffinity.c: ... here.
13608         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13609         * nptl/pthread_mutex_cond_lock.c: ... here.
13610         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13611         Update #include.
13612         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13613         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13614         * nptl/pthread_once.c: ... here, replacing old file.
13615         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13616         * nptl/pthread_yield.c: ... here.
13617         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13618         * nptl/register-atfork.c: ... here.
13619         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13620         * nptl/sem_post.c: ... here.
13621         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13622         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13623         * nptl/sem_timedwait.c: ... here.
13624         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13625         * nptl/sem_trywait.c: ... here.
13626         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13627         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13628         * nptl/sem_wait.c: ... here.
13629         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13630         * nptl/structsem.sym: ... here.
13631         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13632         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13633         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13634         * nptl/unregister-atfork.c: ... here.
13635         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13636         * nptl/unwindbuf.sym: ... here.
13637         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13638         * sysdeps/nptl/fork.c: ... here.
13639         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13640         * sysdeps/nptl/fork.h: ... here.
13641         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13642         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13643         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13644         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13645         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13646         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13647         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13648         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13649         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13650         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13651         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13652         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13653         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13654         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13655         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13656         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13657         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13658         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13659         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13660         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13661         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13662         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13663         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13664         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13665         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13666         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13667         * sysdeps/unix/sysv/linux/raise.c: ... here.
13668         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13669         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13670         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13671         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13672         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13673         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13674         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13675         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13676         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13677         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13678         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13679         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13680         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13681         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13682         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13684 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13686         * sysdeps/generic/memcopy.h: Add comment for
13687         MEMCPY_OK_FOR_FWD_MEMMOVE.
13689 2014-07-04  Will Newton  <will.newton@linaro.org>
13691         * string/memchr.c: Merge from gnulib.
13692         [_LIBC]: Remove conditionals.
13693         (__ptr_t): Remove define.
13694         (LONG_MAX_32_BITS): Likewise.
13695         (LONG_MAX): Likewise.
13696         (MEMCHR): Use ANSI prototype and optimize algorithm.
13698         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13700 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13702         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13703         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13705         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13706         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13707         in a bare environment with no <stdlib.h> installed.
13708         * sysdeps/nptl/configure: Regenerated.
13710         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13712         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13713         AC_EGREP_CPP for kernel header checks, so they only succeed if
13714         including <linux/version.h> actually works right.
13715         * sysdeps/unix/sysv/linux/configure: Regenerated.
13717         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13718         value so it's not diagnosed as unused.
13720         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13721         thing) with "ifeq ($(subdir),rt)".
13723 2014-07-03  Richard Henderson  <rth@redhat.com>
13725         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13726         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13727         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13729         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13730         (math_force_eval): New.
13732         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13733         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13735         * sysdeps/alpha/fpu/s_round.c: Remove file.
13736         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13738         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13739         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13740         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13741         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13742         (_dl_start, print_statistics): Likewise.
13743         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13744         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13746         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13747         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13748         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13749         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13751         (HP_SMALL_TIMING_AVAIL): Define.
13752         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13754         (HP_SMALL_TIMING_AVAIL): Define.
13755         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13756         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13758         * sysdeps/aarch64/hp-timing.h: New file.
13760         * sysdeps/generic/hp-timing.h: Remove dead comment.
13761         * sysdeps/generic/hp-timing-common.h: New file.
13762         * sysdeps/alpha/hp-timing.h: Include it.
13763         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13764         * sysdeps/i386/i686/hp-timing.h: Likewise.
13765         * sysdeps/ia64/hp-timing.h: Likewise.
13766         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13767         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13768         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13769         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13770         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13771         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13772         (hp_timing_t): New.
13774         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13775         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13776         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13777         * elf/rtld.c (_dl_start_final): Likewise.
13778         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13779         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13780         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13781         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13782         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13783         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13784         (HP_TIMING_DIFF_INIT): Remove.
13785         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13786         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13787         (HP_TIMING_DIFF_INIT): Remove.
13788         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13789         * sysdeps/i386/i686/hp-timing.c: Remove file.
13790         * sysdeps/x86_64/hp-timing.c: Remove file.
13791         * sysdeps/ia64/hp-timing.c: Remove file.
13792         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13793         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13795         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13797         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13798         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13799         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13800         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13802         (HP_TIMING_ACCUM): Remove.
13803         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13804         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13805         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13807         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13808         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13809         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13810         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13811         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13812         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13814         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13816         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13818 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13820         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13822 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13824         Sync up with gettext.
13825         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13826         [_MSC_VER]: Include malloc.h
13827         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13828         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13829         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13830         TEMP_FAILURE_RETRY.  Cast return of alloca.
13831         [!_LIBC] Call gl_rwlock_init.
13832         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13834 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13836         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13837         before checking its value.
13839 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13841         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13843         * debug/memcpy_chk.c: Don't include pagecopy.h.
13844         * debug/mempcpy_chk.c: Likewise.
13845         * string/memcpy.c: Likewise.
13846         * string/memmove.c: Likewise.
13847         * sysdeps/powerpc/memmove.c: Likewise.
13848         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13849         definition of PAGE_COPY_FWD_MAYBE here...
13850         * sysdeps/generic/pagecopy.h: ... from here.
13851         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13853 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13854             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13856         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13858         optimizations.
13859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13860         (__libc_ifunc_impl_list): Likewise.
13861         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13862         multiarch strcat for PPC64.
13863         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13864         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13866 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13868         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13870 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13872         * intl/loadmsgcat.c: Remove declaration of
13873         get_sysdep_segment_value.
13874         (get_sysdep_segment_value): Use ISO C style.
13875         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13876         semicolon.  Fix typo and formatting in comment.
13877         (_nl_unload_domain): Use ISO C style.
13879         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13881 2014-07-02  Will Newton  <will.newton@linaro.org>
13883         * malloc/obstack.c: Merge from gnulib master.
13884         [HAVE_CONFIG_H]: Remove conditional code.
13885         [!_LIBC]: Include config.h.
13886         [!ELIDE_CODE]: Don't include inttypes.h, include
13887         stdint.h unconditionally.
13888         (print_and_abort): Mark as _Noreturn.
13889         (_obstack_allocated_p): Mark as __attribute_pure__.
13890         (obstack_free): Rename to __obstack_free.
13891         [!__attribute__]: Remove conditional code.
13892         * malloc/obstack.h: Merge from gnulib master.
13893         [__cplusplus]: Move conditional down.
13894         [!__attribute_pure__]: Define __attribute_pure__ here
13895         if it is not already defined.
13896         (_obstack_memory_used): Mark as __attribute_pure__.
13897         [!__obstack_free]: Define as obstack_free.
13898         [__GNUC__]: Remove check for ancient NeXT gcc.
13900 2014-07-02  Will Newton  <will.newton@linaro.org>
13901             Paul Eggert  <eggert@cs.ucla.edu>
13903         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13905 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13907         * resolv/gethnamaddr.c: Add comment warning that the file is
13908         not maintained.
13910 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13912         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13913         entries.
13915         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13916         entry for aio_cancel and aio_cancel64.
13917         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13918         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13919         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13920         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13921         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13922         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13923         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13924         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13925         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13926         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13927         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13928         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13929         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13931 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13933         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13934         * nptl/pthread_mutex_lock.c: Likewise.
13935         * nptl/pthread_mutex_timedlock.c: Likewise.
13936         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13938 2014-07-01  Richard henderson  <rth@redhat.com>
13940         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13941         (__isnan, __isnanl): Remove.
13942         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13944         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13946 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13948         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13950 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13952         * resolv/nss_dns/dns-host.c (getanswer_r)
13953         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13955 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13958         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13959         undefine.
13960         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13961         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13963 2014-07-01  Roland McGrath <roland@hack.frob.com>
13965         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13966         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13968         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13969         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13971         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13972         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13973         ... here.
13974         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13975         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13977         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13978         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13979         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13980         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13982         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13983         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13984         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13985         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13986         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13987         Moved ...
13988         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13989         ... here.
13990         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13991         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13993         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13994         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13995         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13997         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13998         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13999         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14000         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14001         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14003         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14004         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14005         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14006         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14007         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14008         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14009         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14010         ... here.
14011         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14012         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14013         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14014         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14015         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14016         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14017         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14018         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14020 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14022         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14023         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14024         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14025         Add sysdep.
14027 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14031 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14033         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14034         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14038         * sysdeps/arm/libm-test-ulps: Regenerated.
14040 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14041             Roland McGrath <roland@hack.frob.com>
14043         * test-skeleton.c (signal_handler): Kill the whole process group
14044         before killing the child individually.
14045         (main): Report any failure on `setpgid'.
14047 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14049         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14050         from _TLS_H to _ARM_NPTL_TLS_H.
14051         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14052         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14054 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14056         [BZ #16539]
14057         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14058         (__expm1l): Return argument unchanged when small but not
14059         subnormal.
14061         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14062         include macro name.
14063         (_FP_UNPACK_RAW_1_P): Likewise.
14064         (_FP_PACK_RAW_1): Likewise.
14065         (_FP_PACK_RAW_1_P): Likewise.
14066         (_FP_MUL_MEAT_1_wide): Likewise.
14067         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14068         (_FP_MUL_MEAT_1_hard): Likewise.
14069         (_FP_DIV_MEAT_1_imm): Likewise.
14070         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14071         (_FP_DIV_MEAT_1_udiv): Likewise.
14072         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14073         (_FP_UNPACK_RAW_2): Likewise.
14074         (_FP_UNPACK_RAW_2_P): Likewise.
14075         (_FP_PACK_RAW_2): Likewise.
14076         (_FP_PACK_RAW_2_P): Likewise.
14077         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14078         (_FP_MUL_MEAT_2_wide): Likewise.
14079         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14080         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14081         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14082         (_FP_MUL_MEAT_2_gmp): Likewise.
14083         (_FP_DIV_MEAT_2_udiv): Likewise.
14084         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14085         (_FP_FRAC_SRL_4): Likewise.
14086         (_FP_FRAC_SRST_4): Likewise.
14087         (_FP_FRAC_SRS_4): Likewise.
14088         (_FP_UNPACK_RAW_4): Likewise.
14089         (_FP_UNPACK_RAW_4_P): Likewise.
14090         (_FP_PACK_RAW_4): Likewise.
14091         (_FP_PACK_RAW_4_P): Likewise.
14092         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14093         (_FP_MUL_MEAT_4_wide): Likewise.
14094         (_FP_MUL_MEAT_4_gmp): Likewise.
14095         (umul_ppppmnnn): Likewise.
14096         (_FP_DIV_MEAT_4_udiv): Likewise.
14097         (__FP_FRAC_ADD_4): Likewise.
14098         (__FP_FRAC_SUB_3): Likewise.
14099         (__FP_FRAC_SUB_4): Likewise.
14100         (__FP_FRAC_DEC_3): Likewise.
14101         (__FP_FRAC_DEC_4): Likewise.
14102         (__FP_FRAC_ADDI_4): Likewise.
14103         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14104         (_FP_FRAC_SRL_8): Likewise.
14105         (_FP_FRAC_SRS_8): Likewise.
14107         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14108         include macro name.
14109         (FP_UNPACK_RAW_EP): Likewise.
14110         (FP_PACK_RAW_E): Likewise.
14111         (FP_PACK_RAW_EP): Likewise.
14112         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14113         (_FP_ISSIGNAN): Likewise.
14114         (_FP_ADD_INTERNAL): Likewise.
14115         (_FP_FMA): Likewise.
14116         (_FP_CMP): Likewise.
14117         (_FP_SQRT): Likewise.
14118         (_FP_TO_INT): Likewise.
14119         (_FP_FROM_INT): Likewise.
14120         (FP_EXTEND): Likewise.
14121         (_FP_DIV_MEAT_N_loop): Likewise.
14123 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14125         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14126         throughout.
14128 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14130         [BZ #17097]
14131         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14132         result with correct sign in case of exponents that produce
14133         overflow except for X very close to 1.
14135 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14137         mktime: merge #if/#ifdef usage from glibc
14138         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14139         as that works with both Glibc's and Gnulib's style.
14140         See thread starting at Siddhesh Poyarekar's bug report at:
14141         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14143 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14145         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14146         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14147         * sysdeps/tile/tilegx/memmove.c: Remove file.
14149 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14151         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14152         abi-name definition.
14153         * scripts/soversions.awk: Do not handle or generate ABI lines.
14154         * shlib-versions: Remove ABI entries.
14155         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14156         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14158 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14161         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14162         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14163         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14165         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14167         Moved ...
14168         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14169         ... here.
14170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14171         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14173         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14175         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14177         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14179         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14181         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14183         Moved ...
14184         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14186         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14188         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14190         Moved ...
14191         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14193         Moved ...
14194         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14196         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14198         Moved ...
14199         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14207         Moved ...
14208         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14210         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14211         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14212         Moved ...
14213         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14215         Moved ...
14216         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14218         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14220         Moved ...
14221         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14222         ... here.
14223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14224         Identical file removed.
14225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14226         Moved ...
14227         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14228         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14229         Identical file removed.
14230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14231         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14233         Moved ...
14234         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14236         Identical file removed.
14237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14238         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14240         Identical file removed.
14241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14242         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14244         Identical file removed.
14245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14246         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14248         Identical file removed.
14249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14250         Moved ...
14251         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14253         Identical file removed.
14254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14255         Moved ...
14256         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14258         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14259         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14260         Identical file removed.
14261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14262         Moved ...
14263         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14264         ... here.
14265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14266         Identical file removed.
14267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14268         Moved ...
14269         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14271         Identical file removed.
14272         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14273         Moved ...
14274         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14276         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14278         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14280         Moved ...
14281         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14282         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14283         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14285         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14286         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14287         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14288         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14289         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14291 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14293         [BZ #17092]
14294         * nscd/nscd.c (monitor_child): Return exit status of child
14295         instead of return value from wait syscall.
14297 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14299         * configure.ac (libc_commonpagesize): Remove variable.
14300         (libc_relro_required): Likewise.
14301         (libc_cv_z_relro): Remove configure test.
14302         * configure: Regenerated.
14303         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14304         variable.
14305         (libc_relro_required): Likewise.
14306         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14307         (libc_relro_required): Likewise.
14308         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14309         (libc_relro_required): Likewise.
14310         * sysdeps/arm/preconfigure: Regenerated.
14311         * sysdeps/ia64/preconfigure: Remove file.
14312         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14313         variable.
14314         (libc_relro_required): Likewise.
14316         [BZ #16561]
14317         [BZ #16562]
14318         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14319         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14320         recompute overflowing results in original rounding mode.
14321         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14322         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14323         recompute overflowing results in original rounding mode.
14324         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14325         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14326         recompute overflowing results in original rounding mode.
14327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14328         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14329         recompute overflowing results in original rounding mode.
14330         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14331         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14332         recompute overflowing results in original rounding mode.
14333         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14334         (libc_feholdsetround_ctx): New macro.
14335         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14336         * sysdeps/i386/fpu/libm-test-ulps: Update.
14337         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14339 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14341         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14342         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14343         corresponding .cpsetup call.
14345 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14347         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14348         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14349         * sysdeps/arm/Makefile [$(subdir) = csu]
14350         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14351         (static-only-routines): Add aeabi_read_tp here.
14352         (shared-only-routines): Add libc-aeabi_read_tp here.
14353         (CFLAGS-libc-start.c): Add -fexceptions here.
14354         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14355         (sysdep_routines, static-only-routines, shared-only-routines):
14356         Don't add to these here.
14357         (CFLAGS-libc-start.c): Likewise.
14359         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14360         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14361         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14362         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14363         * sysdeps/arm/Makefile [$(subdir) = rt]
14364         (librt-sysdep_routines, librt-shared-only-routines):
14365         Append rt-aeabi_unwind_cpp_pr1 here.
14366         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14367         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14368         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14369         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14370         Append nptl-aeabi_unwind_cpp_pr1 here.
14371         (tests): Filter out tst-cleanupx4 here.
14372         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14373         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14374         Don't do those here.
14376 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14378         * scripts/list-sources.sh: Do not handle ports specially.
14380 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14382         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14383         * sysdeps/arm/feupdateenv.c: Likewise.
14385         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14387 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14389         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14390         trailing whitespace removed.
14391         * scripts/config.guess: Update to version 2014-03-23.
14392         * scripts/config.sub: Update to version 2014-05-01
14393         * scripts/install-sh: Update to version 2013-12-25.23.
14394         * scripts/move-if-change: Update from gnulib.
14396 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14398         * debug/memmove_chk.c: Remove pagecopy.h include.
14400 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14402         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14403         identical to gnulib mktime.
14405 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14407         * configure.ac: Do not test for machine being rs6000.  Do not test
14408         for powerpc*-*soft.
14409         * configure: Regenerated.
14411         [BZ #11505]
14412         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14413         test.
14414         * configure: Regenerated.
14415         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14416         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14417         Remove configure test.
14418         * sysdeps/arm/configure: Regenerated.
14419         * sysdeps/nptl/configure.ac: Do not check
14420         libc_cv_asm_cfi_directives.
14421         * sysdeps/nptl/configure: Regenerated.
14422         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14423         * sysdeps/x86_64/nptl/configure: Remove generated file.
14424         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14425         unconditional.
14426         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14428 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14430         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14431         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14432         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14433         it is defined.
14435         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14436         instead of whether it is defined.
14437         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14438         * sysdeps/hppa/dl-machine.h: Likewise.
14439         * sysdeps/ia64/dl-machine.h: Likewise.
14440         * sysdeps/m68k/dl-machine.h: Likewise.
14441         * sysdeps/microblaze/dl-machine.h: Likewise.
14442         * sysdeps/mips/dl-machine.: Likewise.
14443         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14444         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14445         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14446         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14447         * sysdeps/sh/dl-machine.h: Likewise.
14448         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14449         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14450         * sysdeps/tile/dl-machine.h: Likewise.
14451         * sysdeps/x86_64/dl-machine.h: Likewise.
14453         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14454         code.
14455         (verify_persistent_db): Likewise.
14457 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14460         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14462         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14464         Moved ...
14465         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14466         ... here.
14467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14468         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14470         Identical file removed.
14471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14472         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14474         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14476         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14478         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14480         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14482         Moved ...
14483         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14485         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14487         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14489         Moved ...
14490         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14492         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14494         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14496         Identical file removed.
14497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14498         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14500         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14502         Moved ...
14503         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14504         ... here.
14505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14506         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14508         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14510         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14512         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14514         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14516         Moved ...
14517         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14519         Moved ...
14520         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14522         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14524         Moved ...
14525         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14527         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14529         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14530         folded into ...
14531         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14532         * sysdeps/unix/sysv/linux/s390/Versions
14533         (libpthread: GLIBC_2.19): New version set.
14534         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14535         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14536         (librt: GLIBC_2.3.3): New version set.
14537         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14538         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14539         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14540         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14541         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14542         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14543         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14544         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14545         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14546         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14547         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14548         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14549         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14550         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14551         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14552         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14553         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14554         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14555         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14556         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14557         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14559         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14560         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14561         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14562         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14563         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14565         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14566         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14567         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14568         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14572         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14573         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14575         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14577         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14579         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14581         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14583         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14584         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14585         (__libc_vfork): Define the function under this name.
14586         [!NOT_IN_libc] (__vfork): Make this an alias.
14587         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14589         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14590         (__libc_vfork): Define the function under this name.
14591         [!NOT_IN_libc] (__vfork): Make this an alias.
14592         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14593         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14594         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14596         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14597         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14599         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14600         code that was previously under [RESET_PID].
14601         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14602         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14605         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14606         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14607         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14608         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14609         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14610         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14611         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14612         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14613         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14614         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14615         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14616         Moved ...
14617         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14619         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14620         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14621         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14622         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14623         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14624         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14625         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14626         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14627         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14628         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14629         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14630         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14631         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14632         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14633         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14634         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14635         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14636         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14637         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14638         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14639         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14640         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14641         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14642         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14643         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14644         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14645         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14647 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14649         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14650         that was previously under [RESET_PID].
14651         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14653 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14655         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14656         not undefine and redefine.
14657         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14658         [O_CLOEXEC]: Make code unconditional.
14659         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14660         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14661         <kernel-features.h>.
14662         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14663         conditional variable definition.
14664         (shm_open) [O_CLOEXEC]: Make code unconditional.
14665         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14666         code.
14668         * configure.ac (USE_REGPARMS): Don't define here.
14669         * configure: Regenerated.
14670         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14671         * sysdeps/i386/configure: Regenerated.
14673         * nptl/createthread.c: Don't include kernel-features.h.
14674         * nptl/pthread_cancel.c: Likewise.
14675         * nptl/pthread_condattr_setclock.c: Likewise.
14676         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14677         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14678         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14679         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14680         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14681         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14682         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14685         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14686         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14687         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14688         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14689         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14690         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14691         * nscd/gai.c: Likewise.
14692         * nss/nss_db/db-open.c: Likewise.
14693         * sysdeps/generic/ldsodefs.h: Likewise.
14694         * sysdeps/sh/nptl/tls.h: Likewise.
14695         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14696         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14697         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14698         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14699         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14700         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14701         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14702         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14703         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14704         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14705         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14706         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14707         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14708         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14709         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14710         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14711         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14712         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14713         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14714         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14717         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14718         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14719         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14723         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14724         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14725         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14726         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14727         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14728         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14729         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14730         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14731         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14732         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14733         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14734         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14735         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14736         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14737         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14738         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14739         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14740         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14741         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14742         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14743         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14744         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14745         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14746         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14747         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14748         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14749         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14750         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14751         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14752         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14775         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14776         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14777         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14778         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14779         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14780         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14781         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14782         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14783         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14784         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14785         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14786         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14787         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14788         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14789         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14790         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14791         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14792         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14793         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14794         * sysdeps/unix/sysv/linux/system.c: Likewise.
14795         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14796         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14797         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14798         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14799         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14800         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14801         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14803         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14804         * configure: Regenerated.
14805         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14807         * configure.ac (base_machine): Do not set specially for particular
14808         machines here.
14809         * configure: Regenerated.
14810         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14811         settings from configure.ac.
14812         * sysdeps/i386/preconfigure: New file.
14813         * sysdeps/s390/preconfigure: Likewise.
14814         * sysdeps/sh/preconfigure: Likewise.
14815         * sysdeps/sparc/preconfigure: Likewise.
14817 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14819         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14820         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14821         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14822         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14823         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14824         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14825         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14826         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14827         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14828         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14829         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14830         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14831         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14832         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14833         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14834         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14835         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14836         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14837         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14839         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14840         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14841         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14842         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14843         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14844         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14845         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14846         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14847         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14848         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14849         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14850         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14851         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14852         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14853         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14854         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14855         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14856         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14857         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14858         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14859         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14860         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14862         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14863         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14864         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14865         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14866         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14868         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14869         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14870         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14871         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14872         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14873         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14874         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14875         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14876         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14879         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14881         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14883         Moved ...
14884         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14885         ... here.
14886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14887         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14889         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14891         Moved ...
14892         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14894         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14896         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14898         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14900         Moved ...
14901         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14903         Moved ...
14904         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14906         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14908         Moved ...
14909         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14911         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14913         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14915         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14917         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14919         Moved ...
14920         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14921         ... here.
14922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14923         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14925         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14927         Moved ...
14928         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14930         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14932         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14934         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14936         Moved ...
14937         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14939         Moved ...
14940         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14942         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14944         Moved ...
14945         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14947         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14949         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14951 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14953         * timezone/checktab.awk: Update from tzcode 2014e.
14954         * timezone/private.h: Likewise.
14955         * timezone/tzfile.h: Likewise.
14956         * timezone/zdump.c: Likewise.
14957         * timezone/zic.c: Likewise.
14959         * sysdeps/unix/sysv/linux/kernel-features.h
14960         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14961         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14962         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14963         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14964         Remove conditional code.
14966 2014-06-25  Will Newton  <will.newton@linaro.org>
14968         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14969         (_dl_arm_cap_flags): Add HWCAP2 values.
14970         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14971         (_DL_HWCAP_COUNT): Increase to 37.
14972         (_DL_HWCAP_LAST): New define.
14973         (_DL_HWCAP2_LAST): New define.
14974         (_dl_procinfo): Add support for printing
14975         AT_HWCAP2 entries.
14976         (_dl_string_hwcap): Use _dl_hwcap_string.
14978 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14982 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14984         * README: Do not mention ports directory.
14986         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14987         Remove macro.
14988         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14989         <kernel-features.h>.
14990         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14991         conditional variable definition.
14992         (__futimes): Update comment.
14993         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14994         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14996         [BZ #16560]
14997         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14998         arguments close to 0.
14999         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15000         Likewise.
15001         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15002         Likewise.
15003         * math/auto-libm-test-in: Add more tests of exp10.
15004         * math/auto-libm-test-out: Regenerated.
15005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15007         * sysdeps/unix/sysv/linux/kernel-features.h
15008         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15009         * sysdeps/unix/sysv/linux/readv.c: Do not include
15010         <kernel-features.h>.
15011         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15012         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15013         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15014         unconditional.
15015         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15016         conditional code.
15017         * sysdeps/unix/sysv/linux/writev.c: Do not include
15018         <kernel-features.h>.
15019         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15020         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15021         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15022         unconditional.
15023         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15024         conditional code.
15026 2014-06-25  Will Newton  <will.newton@linaro.org>
15028         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15029         comment changes throughout the file.  Remove checks
15030         for HAVE_*_H definitions that are not required.
15031         (__gen_tempname): Call abort if an unknown kind value is
15032         passed.
15034 2014-06-25  Andreas Schwab  <schwab@suse.de>
15036         [BZ #17086]
15037         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15038         scalbln, scalblnf, scalblnl in libc.
15040 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15042         [BZ #17086]
15043         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15044         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15045         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15047 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15049         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15050         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15051         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15052         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15053         Update #include.
15054         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15055         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15056         Update #include.
15057         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15058         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15059         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15060         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15061         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15062         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15063         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15064         * sysdeps/x86/bits/semaphore.h: ... here.
15065         * sysdeps/x86/nptl/elide.h: Moved ...
15066         * sysdeps/x86/elide.h: ... here.
15067         * sysdeps/x86_64/nptl/Implies: File removed.
15068         * sysdeps/i386/nptl/Implies: File removed.
15070 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15072         [BZ #16539]
15073         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15074         return the argument for normal arguments with exponent below -64.
15075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15076         Likewise.
15077         * math/auto-libm-test-in: Add another test of expm1.
15078         * math/auto-libm-test-out: Regenerated.
15080         [BZ #16287]
15081         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15082         calling __erfcl for arguments at least 16.
15083         * math/auto-libm-test-in: Add more tests of erf.
15084         * math/auto-libm-test-out: Regenerated.
15086         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15087         individual architectures.
15088         * sysdeps/unix/sysv/linux/configure: Regenerated.
15089         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15090         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15091         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15092         (ldd_rewrite_script): Define variable.
15093         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15095         file.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15097         generated file.
15098         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15099         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15100         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15101         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15102         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15103         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15104         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15105         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15107 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15109         [BZ #17084]
15110         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15111         Rename member __data.d to __data.__elision_data.
15113 2014-06-24  Wilco  <wdijkstr@arm.com>
15115         * NEWS: Add 16918 to fixed bug list.
15117 2014-06-24  Wilco  <wdijkstr@arm.com>
15119         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15121 2014-06-24  Wilco  <wdijkstr@arm.com>
15123         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15124         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15125         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15126         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15127         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15128         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15129         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15130         Use _FPU_MASK_RM.
15132 2014-06-24  Wilco  <wdijkstr@arm.com>
15134         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15136 2014-06-24  Wilco  <wdijkstr@arm.com>
15138         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15139         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15140         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15141         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15143 2014-06-24  Wilco  <wdijkstr@arm.com>
15145         [BZ #16918]
15146         * sysdeps/arm/feupdateenv.c (feupdateenv):
15147         Rewrite to reduce FPSCR accesses and fix return value.
15149 2014-06-24  Wilco  <wdijkstr@arm.com>
15151         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15152         Optimize to avoid unnecessary FPSCR writes.
15153         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15154         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15155         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15156         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15158 2014-06-24  Wilco  <wdijkstr@arm.com>
15160         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15161         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15162         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15163         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15164         Call libc_fetestexcept_vfp.
15165         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15166         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15167         __SOFTFP__ ifdef so that they can be built for softfp.
15169 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15171         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15172         argument type signed char.
15174         * Makerules (check-abi): Dump diff of symlist if the test
15175         fails.
15177 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15179         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15180         using abort.
15182         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15183         Remove unused variable ST.
15185 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15187         [BZ #16354]
15188         [BZ #17061]
15189         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15190         small arguments before calling __expm1.
15191         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15192         small arguments before calling __expm1f.
15193         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15194         small arguments before calling __expm1l.
15195         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15196         Likewise.
15197         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15198         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15199         spurious underflow for some cosh tests.
15200         * math/auto-libm-test-out: Regenerated.
15201         * sysdeps/i386/fpu/libm-test-ulps: Update.
15203         [BZ #17050]
15204         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15205         (__ieee754_y1): Set errno if return value overflows.
15206         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15207         (__ieee754_y1f): Set errno if return value overflows.
15208         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15209         (__ieee754_y1l): Set errno if return value overflows.
15210         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15211         (__ieee754_y1l): Set errno if return value overflows.
15212         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15213         * math/auto-libm-test-out: Regenerated.
15215         * math/gen-auto-libm-tests.c: Document use of
15216         ignore-zero-inf-sign.
15217         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15218         (input_flags): Add ignore-zero-inf-sign.
15219         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15220         * math/gen-libm-test.pl (generate_testfile): Handle
15221         ignore-zero-inf-sign.
15222         * math/auto-libm-test-in: Mark some cpow tests with
15223         ignore-zero-inf-sign and some with xfail-rounding.
15224         * math/auto-libm-test-out: Regenerated.
15225         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15226         * sysdeps/i386/fpu/libm-test-ulps: Update.
15227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229         [BZ #16315]
15230         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15231         overflowing or underflowing operations take place with sign of
15232         result.
15233         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15234         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15235         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15236         (__ieee754_pow): Recompute overflowing and underflowing results in
15237         original rounding mode.
15238         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15239         (__powl_helper): Allow negative argument X and scale negated value
15240         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15241         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15242         overflowing or underflowing operations take place with sign of
15243         result.
15244         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15245         Include <math.h>.
15246         * math/auto-libm-test-in: Add more tests of pow.
15247         * math/auto-libm-test-out: Regenerated.
15248         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15249         (pow_tonearest_test_data): Remove.
15250         (pow_test_tonearest): Likewise.
15251         (pow_towardzero_test_data): Likewise.
15252         (pow_test_towardzero): Likewise.
15253         (pow_downward_test_data): Likewise.
15254         (pow_test_downward): Likewise.
15255         (pow_upward_test_data): Likewise.
15256         (pow_test_upward): Likewise.
15257         (main): Don't call removed functions.
15258         * sysdeps/i386/fpu/libm-test-ulps: Update.
15259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15261 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15264         Moved ...
15265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15267         Moved ...
15268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15270         Moved ...
15271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15273         Moved ...
15274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15276         File removed.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15278         File removed.
15279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15280         File removed.
15281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15282         File removed.
15283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15284         File removed.
15285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15286         File removed.
15287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15288         File removed.
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15290         File removed.
15291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15292         File removed.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15294         File removed.
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15296         File removed.
15297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15298         File removed.
15299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15300         Moved ...
15301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15303         Moved ...
15304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15305         ... here.
15306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15307         Moved ...
15308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15310         Moved ...
15311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15313         Moved ...
15314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15316         Moved ...
15317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15319         Moved ...
15320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15322         Moved ...
15323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15325         Moved ...
15326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15329         ... here.
15330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15331         Moved ...
15332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15334         Moved ...
15335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15336         ... here.
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15338         Moved ...
15339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15340         ... here.
15341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15342         Moved ...
15343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15344         ... here.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15346         Moved ...
15347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15349         Moved ...
15350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15354         Moved ...
15355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15356         ... here.
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15358         Moved ...
15359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15360         ... here.
15361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15362         Moved ...
15363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15365         Moved ...
15366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15368         Moved ...
15369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15371         Moved ...
15372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15374         Moved ...
15375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15376         ... here.
15377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15378         Moved ...
15379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15381         Moved ...
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15384         Moved ...
15385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15387         Moved ...
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15392         Moved ...
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15395         Moved ...
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15398         Moved ...
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15400         ... here.
15401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15402         Moved ...
15403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15404         ... here.
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15406         Moved ...
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15408         ... here.
15409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15410         Moved ...
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15413         Moved ...
15414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15416         Moved ...
15417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15419         Moved ...
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15421         ... here.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15423         Moved ...
15424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15425         ... here.
15426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15427         Moved ...
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15429         ... here.
15430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15431         Moved ...
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15434         Moved ...
15435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15437 2014-06-23  Will Newton  <will.newton@linaro.org>
15438             Wilco  <wdijkstr@arm.com>
15440         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15441         implementation.  Include get-rounding-mode.h.
15442         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15443         [!libc_feholdsetround_noex_ctx]: Define
15444         libc_feholdsetround_noex_ctx.
15445         [!libc_feholdsetround_noexf_ctx]: Define
15446         libc_feholdsetround_noexf_ctx.
15447         [!libc_feholdsetround_noexl_ctx]: Define
15448         libc_feholdsetround_noexl_ctx.
15449         (libc_feholdsetround_ctx): New function.
15450         (libc_feresetround_ctx): New function.
15451         (libc_feholdsetround_noex_ctx): New function.
15452         (libc_feresetround_noex_ctx): New function.
15454 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15456         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15457         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15458         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15459         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15460         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15461         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15463         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15464         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15465         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15466         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15467         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15468         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15470         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15472         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15474         Moved ...
15475         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15476         ... here.
15477         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15478         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15479         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15480         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15481         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15482         Moved ...
15483         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15485         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15487         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15488         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15489         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15491         Moved ...
15492         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15493         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15494         Moved ...
15495         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15497         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15498         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15499         Moved ...
15500         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15501         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15502         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15504         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15505         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15506         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15508         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15510         Moved ...
15511         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15512         ... here.
15513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15514         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15516         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15518         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15520         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15521         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15522         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15523         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15524         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15526         Moved ...
15527         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15528         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15529         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15530         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15531         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15532         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15533         Moved ...
15534         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15536         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15537         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15538         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15540         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15541         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15542         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15543         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15544         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15545         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15546         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15547         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15549         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15550         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15551         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15552         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15553         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15554         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15555         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15556         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15557         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15558         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15559         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15560         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15561         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15562         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15563         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15564         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15565         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15566         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15567         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15569 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15571         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15572         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15573         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15574         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15575         (IPV6_PMTUDISC_INTERFACE): Likewise.
15576         (IPV6_PMTUDISC_OMIT): Likewise.
15578 2014-06-23  Andreas Schwab  <schwab@suse.de>
15580         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15581         Remove unused errout label.
15583 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15585         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15586         macro: hardware supports Vector Crypto instructions.
15588 2014-06-23  Will Newton  <will.newton@linaro.org>
15590         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15591         rather than __builtin_expect.
15593         * elf/dl-lookup.c (undefined_msg): Remove variable.
15594         (_dl_lookup_symbol_x): Replace undefined_msg with string
15595         literal.
15597         * elf/dl-lookup.c (do_lookup_unique): New function.
15598         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15599         to a separate function.
15601 2014-06-23  Andreas Schwab  <schwab@suse.de>
15603         [BZ #17079]
15604         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15605         before reading the next line.
15607 2014-06-23  Will Newton  <will.newton@linaro.org>
15609         * test-skeleton.c (signal_handler): Use printf and %m
15610         rather than perror.  Use printf rather than fprintf to
15611         stderr.  Use puts rather than fputs to stderr.
15612         (main): Likewise.
15614 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15616         * nscd/nscd.c (thread_info_t): Remove typedef.
15617         (thread_info): Remove variable.
15619 2014-06-21  Allan McRae  <allan@archlinux.org>
15621         * NEWS: Mention CVE-2014-4043.
15623 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15625         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15626         * nptl/smp.h: ... here.
15628         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15630         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15631         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15632         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15633         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15635         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15636         * nptl/stack-aliasing.h: New file.
15637         * sysdeps/i386/i686/stack-aliasing.h: New file.
15638         * sysdeps/i386/i686/nptl/Makefile: File removed.
15639         * sysdeps/x86_64/stack-aliasing.h: New file.
15640         * sysdeps/x86_64/nptl/Makefile
15641         (CFLAGS-pthread_create.c): Variable removed.
15643         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15644         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15645         old file.
15646         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15647         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15648         old file.
15650 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15653         (__ASSUME_SIGFRAME_V2): Remove macro.
15654         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15655         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15656         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15657         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15658         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15659         Declare as function.  Remove conditional macro definitions.
15660         (__default_rt_sa_restorer): Likewise.
15661         (__default_sa_restorer_v1): Remove declaration.
15662         (__default_sa_restorer_v2): Likewise.
15663         (__default_rt_sa_restorer_v1): Likewise.
15664         (__default_rt_sa_restorer_v2): Likewise.
15665         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15666         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15667         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15669 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15671         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15672         (libpthread-routines): Add sysdep.
15673         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15674         * sysdeps/unix/sysv/linux/sparc/Versions
15675         (libpthread: GLIBC_2.3.3): New version set.
15676         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15677         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15678         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15679         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15680         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15681         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15682         Moved ...
15683         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15684         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15685         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15686         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15687         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15688         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15689         * sysdeps/sparc/nptl/sem_init.c: ... here.
15690         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15691         * sysdeps/sparc/nptl/sem_post.c: ... here.
15692         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15693         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15695         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15697         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15698         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15699         (libpthread-routines): Add cpu_relax.
15700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15701         File removed.
15702         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15703         (librt: GLIBC_2.3.3): New version set.
15704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15705         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15706         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15707         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15710         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15712         Moved ...
15713         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15715         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15717         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15719         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15721         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15723         Moved ...
15724         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15725         Update #include.
15726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15727         Moved ...
15728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15729         Update #include.
15730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15731         Moved ...
15732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15733         Update #include.
15734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15735         Moved ...
15736         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15737         Update #include.
15738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15739         Moved ...
15740         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15741         Update #include.
15742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15743         Moved ...
15744         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15745         Update #include.
15746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15747         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15749         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15751         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15753         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15755         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15757         Moved ...
15758         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15760         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15762         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15764 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15766         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15767         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15768         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15769         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15770         * nscd/nscd.c: Likewise.
15771         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15772         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15773         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15774         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15776         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15777         <kernel-features.h>.
15778         (init_mq_netlink): Remove conditional have_sock_cloexec
15779         definitions.  Remove code conditional on have_sock_cloexec < 0.
15780         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15781         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15782         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15783         <kernel-features.h>.
15784         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15785         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15787 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15789         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15790         Add tests for memset_chk and memset.
15792         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15793         with AVX2_Usable.
15795 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15797         [BZ #16046]
15798         * elf/tst-dl-iter-static.c: New file.
15799         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15801         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15802         error.
15804 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15806         * sysdeps/unix/sysv/linux/kernel-features.h
15807         (__ASSUME_F_GETOWN_EX): Remove macro.
15808         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15809         <kernel-features.h>.
15810         (miss_F_GETOWN_EX): Remove variable or macro.
15811         (do_fcntl): Do not check miss_F_GETOWN_EX.
15812         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15815         Remove macro.
15816         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15817         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15818         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15820         * sysdeps/unix/sysv/linux/kernel-features.h
15821         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15822         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15823         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15824         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15826 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15828         [BZ #17075]
15829         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15830         Fix calculation of the symbol's value.
15831         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15832         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15833         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15834         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15835         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15836         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15837         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15838         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15839         (modules-names): Add `tst-armtlsdescmod',
15840         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15841         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15842         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15843         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15844         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15845         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15846         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15847         ($(objpfx)tst-armtlsdescloc): New dependency.
15848         ($(objpfx)tst-armtlsdescextnow): Likewise.
15849         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15850         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15851         TLS scheme support.
15852         * sysdeps/arm/configure: Regenerate.
15854 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15856         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15857         (__atfct_seterrno_2): Likewise.
15858         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15859         <kernel-features.h>.
15860         (__ASSUME_ATFCTS): Do not undefine and redefine.
15861         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15862         (__have_atfcts): Remove conditional definition.
15863         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15864         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15865         unreachable if [__ASSUME_ATFCTS].
15866         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15867         not undefine and redefine.
15868         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15869         <kernel-features.h>.
15870         (faccessat) [__NR_faccessat]: Make code unconditional.
15871         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15872         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15873         <kernel-features.h>.
15874         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15875         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15876         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15877         <kernel-features.h>.
15878         (fchownat) [__NR_fchownat]: Make code unconditional.
15879         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15880         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15881         <kernel-features.h>.
15882         (futimesat) [__NR_futimesat]: Make code unconditional.
15883         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15884         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15885         <kernel-features.h>.
15886         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15887         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15888         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15889         <kernel-features.h>.
15890         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15891         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15892         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15893         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15894         <kernel-features.h>.
15895         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15896         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15897         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15898         <kernel-features.h>.
15899         (linkat) [__NR_linkat]: Make code unconditional.
15900         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15901         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15902         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15903         <kernel-features.h>.
15904         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15905         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15906         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15907         <kernel-features.h>.
15908         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15909         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15910         * sysdeps/unix/sysv/linux/openat.c: Do not include
15911         <kernel-features.h>.
15912         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15913         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15914         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15915         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15916         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15917         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15918         <kernel-features.h>.
15919         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15920         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15921         result of INLINE_SYSCALL directly, not via int variable.
15922         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15923         <kernel-features.h>.
15924         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15925         (renameat) [__NR_renameat]: Make code unconditional.
15926         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15927         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15928         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15929         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15930         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15931         (__ASSUME_ATFCTS): Do not undefine and redefine.
15932         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15933         <kernel-features.h>.
15934         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15935         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15936         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15937         <kernel-features.h>.
15938         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15939         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15940         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15941         (__ASSUME_ATFCTS): Do not undefine and redefine.
15942         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15943         <kernel-features.h>.
15944         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15945         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15946         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15947         <kernel-features.h>.
15948         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15949         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15951 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15953         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15955 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15957         [BZ #17069]
15958         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15959         constructed tree before returning error.
15960         * posix/bug-regexp36.c: Expand test case.
15962 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15964         [BZ #6803]
15965         * math/libm-test.inc (scalbln_test_date):
15966         Add errno expectations.
15967         * math/w_scalblnf.c: New File.
15968         Add wrapper which checks for setting errno to ERANGE.
15969         Add weak_alias for corresponding scalbln function.
15970         * math/w_scalbln.c: Likewise.
15971         * math/w_scalblnl.c: Likewise.
15972         * math/Makefile (libm-calls): Add w_scalbln.
15973         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15974         Remove weak_alias for corresponding scalbln function.
15975         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15976         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15977         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15978         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15979         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15980         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15981         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15982         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15983         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15984         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15985         Remove long_double_symbol for scalblnl function in libm, libc.
15986         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15987         Add wrapper which checks for setting errno to ERANGE.
15988         Add long_double_symbol for scalblnl function in libm, libc.
15989         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15990         Remove long_double_symbol for scalblnl in libm.
15991         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15992         Add wrapper which checks for setting errno to ERANGE.
15993         Add long_double_symbol for scalblnl function in libm.
15994         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15995         Do not use wrapper because of own implementation.
15997 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15999         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16000         3 bytes for __pad1 for x32.
16001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16003 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16004             H.J. Lu  <hongjiu.lu@intel.com>
16006         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16007         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16008         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16009         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16010         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16012 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16014         [BZ #17069]
16015         * posix/regcomp.c (parse_expression): Deallocate partially
16016         constructed tree before returning error.
16017         * posix/Makefile.c (tests): Add bug-regex36.
16018         (generated): Add bug-regex36.mtrace.
16019         (tests-special): Add $(objpfx)bug-regex36-mem.out
16020         (bug-regex36-ENV): New variable.
16021         ($(objpfx)bug-regex36-mem.out): New rule.
16022         * posix/bug-regex36.c: New file.
16024 2014-06-19  Will Newton  <will.newton@linaro.org>
16026         * malloc/malloc.c (systrim): If extra is zero then return
16027         early.
16029 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16031         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16033 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16035         * sysdeps/aarch64/strchr.S: New file.
16037 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16039         [BZ #17022]
16040         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16041         from arguments -2 or below.
16042         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16043         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16045 2014-06-18  Andreas Schwab  <schwab@suse.de>
16047         [BZ #17062]
16048         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16049         of a bracket expr not to run off the end of the string.
16050         * posix/Makefile (tests): Add tst-fnmatch3.
16051         * posix/tst-fnmatch3.c: New file.
16053 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16055         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16056         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16057         [$(cross-compiling) = no]: Likewise.
16058         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16059         [$(cross-compiling) = no]: Likewise.
16061 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16063         [BZ #17031]
16064         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16065         double, adjusted for any remainder from the high double.
16066         * math/libm-test.inc (nearbyint): Add tests.
16067         (rint): Likewise.
16069 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16071         * nptl/sysdeps/powerpc/Makefile: Moved ...
16072         * sysdeps/powerpc/nptl/Makefile: ... here.
16073         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16074         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16075         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16076         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16077         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16078         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16079         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16080         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16081         * nptl/sysdeps/powerpc/tls.h: Moved ...
16082         * sysdeps/powerpc/nptl/tls.h: ... here.
16084 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16086         [BZ #16681]
16087         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16088         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16089         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16090         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16091         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16092         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16093         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16094         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16095         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16097 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16099         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16101 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16103         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16104         defined operator.
16106         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16107         $TIMEOUTFACTOR.
16109 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16111         [BZ #17058]
16112         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16113         non-executed part of the test.
16115 2014-06-16  Andreas Schwab  <schwab@suse.de>
16117         * string/bits/string2.h (strdup, strndup): Update feature guard.
16119 2014-06-14  David S. Miller  <davem@davemloft.net>
16121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16123 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16125         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16126         that was previously under [RESET_PID].
16127         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16129         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16130         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16131         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16132         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16133         (__libc_vfork): New strong alias.
16134         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16136 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16138         * sysdeps/generic/elide.h: New file.
16140 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16142         * Makefile (installed-headers): Adjust path of pthread.h header.
16144 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16146         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16147         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16148         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16149         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16151         * nptl/sysdeps/s390/Makefile: Moved ...
16152         * sysdeps/s390/nptl/Makefile: ... here.
16153         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16154         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16155         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16156         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16157         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16158         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16159         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16160         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16161         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16162         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16163         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16164         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16165         * nptl/sysdeps/s390/tls.h: Moved ...
16166         * sysdeps/s390/nptl/tls.h: ... here.
16168         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16169         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16171 2014-06-13  David S. Miller  <davem@davemloft.net>
16173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16176         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16180         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16181         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16182         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16183         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16184         Remove RESET_PID cpp guards.
16185         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16186         Remove RESET_PID cpp guards.
16187         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16189 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16191         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16192         __sp to uintptr_t.
16194 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16198         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16199         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16200         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16204         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16206         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16208         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16209         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16212         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16213         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16215         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16217         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16218         (pthread_rwlock_rdlock): Add elision.
16219         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16220         (pthread_rwlock_wrlock): Add elision.
16221         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16222         (pthread_rwlock_trywrlock): Add elision.
16223         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16224         (pthread_rwlock_tryrdlock): Add elision.
16225         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16226         (pthread_rwlock_tryrdlock): Add elision unlock.
16227         * nptl/sysdeps/pthread/pthread.h:
16228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16229         (PTHREAD_RWLOCK_INITIALIZER,
16230         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16231         Handle new elision field.
16232         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16233         * sysdeps/arm/nptl/bits/pthreadtypes.h
16234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16235         * sysdeps/sh/nptl/bits/pthreadtypes.h
16236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16237         * sysdeps/tile/nptl/bits/pthreadtypes.h
16238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16239         * sysdeps/a/nptl/bits/pthreadtypes.h
16240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16241         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16243         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16245         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16247         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16249         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16251         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16253         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16255         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16257         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16258         (elision_init): Set try_xbegin to zero when no RTM.
16259         * sysdeps/x86/nptl/bits/pthreadtypes.h
16260         (pthread_rwlock_t): Change __pad1 to __rwelision.
16261         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16263 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16265         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16266         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16267         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16268         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16270 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16272         [BZ #16996]
16273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16274         that the cached result has been set before returning it.
16276 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16278         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16279         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16280         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16281         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16282         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16283         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16285         * nptl/sysdeps/sparc/Makefile: Moved ...
16286         * sysdeps/sparc/nptl/Makefile: ... here.
16287         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16288         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16289         * nptl/sysdeps/sparc/tls.h: Moved ...
16290         * sysdeps/sparc/nptl/tls.h: ... here.
16291         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16292         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16293         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16294         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16295         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16296         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16297         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16298         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16299         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16300         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16301         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16302         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16303         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16304         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16305         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16306         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16307         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16309         Update #include.
16310         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16311         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16312         Update #include.
16313         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16315         Update #include.
16316         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16318         Update #include.
16320         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16322         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16323         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16325         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16326         (struct list_links): Type removed.
16327         (struct thread_node, struct timer_node): Replace struct list_links
16328         with struct list_head.
16329         (list_unlink_ip): Likewise.
16330         * sysdeps/pthread/timer_routines.c
16331         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16332         (list_append, list_insbefore): Likewise.
16333         (list_init): Function removed.
16334         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16335         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16336         * sysdeps/pthread/Makefile: ... here, new file.
16338         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16339         * sysdeps/nptl/Implies: ... here.
16340         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16341         * nptl/sysdeps/pthread/list.h: Moved ...
16342         * include/list.h: ... here.
16343         * nptl/sysdeps/pthread/createthread.c: Moved ...
16344         * nptl/createthread.c: ... here.
16345         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16346         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16347         * nptl/pt-longjmp.c: ... here.
16348         * nptl/sysdeps/pthread/Makefile: Moved ...
16349         * sysdeps/nptl/Makefile: ... here.
16350         * nptl/sysdeps/pthread/Subdirs: Moved ...
16351         * sysdeps/nptl/Subdirs: ... here.
16352         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16353         * sysdeps/nptl/aio_misc.h: ... here.
16354         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16355         * sysdeps/nptl/bits/libc-lock.h: ... here.
16356         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16357         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16358         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16359         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16360         * nptl/sysdeps/pthread/configure: Moved ...
16361         * sysdeps/nptl/configure: ... here.
16362         * nptl/sysdeps/pthread/configure.ac: Moved ...
16363         * sysdeps/nptl/configure.ac: ... here.
16364         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16365         * sysdeps/nptl/gai_misc.h: ... here.
16366         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16367         * sysdeps/nptl/librt-cancellation.c: ... here.
16368         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16369         * sysdeps/nptl/malloc-machine.h: ... here.
16370         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16371         * sysdeps/nptl/pthread-functions.h: ... here.
16372         * nptl/sysdeps/pthread/pthread.h: Moved ...
16373         * sysdeps/nptl/pthread.h: ... here.
16374         * nptl/sysdeps/pthread/setxid.h: Moved ...
16375         * sysdeps/nptl/setxid.h: ... here.
16376         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16377         * sysdeps/nptl/sigfillset.c: ... here.
16378         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16379         * sysdeps/nptl/tcb-offsets.h: ... here.
16380         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16381         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16382         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16383         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16384         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16385         * sysdeps/pthread/allocalim.h: ... here.
16386         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16387         * sysdeps/pthread/bits/sigthread.h: ... here.
16388         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16389         * sysdeps/pthread/flockfile.c: ... here.
16390         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16391         * sysdeps/pthread/ftrylockfile.c: ... here.
16392         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16393         * sysdeps/pthread/funlockfile.c: ... here.
16394         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16395         * sysdeps/pthread/posix-timer.h: ... here.
16396         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16397         * sysdeps/pthread/timer_create.c: ... here.
16398         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16399         * sysdeps/pthread/timer_delete.c: ... here.
16400         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16401         * sysdeps/pthread/timer_getoverr.c: ... here.
16402         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16403         * sysdeps/pthread/timer_gettime.c: ... here.
16404         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16405         * sysdeps/pthread/timer_routines.c: ... here.
16406         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16407         * sysdeps/pthread/timer_settime.c: ... here.
16408         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16409         * sysdeps/pthread/tst-timer.c: ... here.
16410         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16411         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16413         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16414         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16416         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16417         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16418         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16419         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16420         Update #include target.
16421         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16422         * sysdeps/i386/i686/nptl/Makefile: ... here.
16423         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16424         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16425         Update #include target.
16426         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16427         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16428         * nptl/sysdeps/i386/Makefile: Moved ...
16429         * sysdeps/i386/nptl/Makefile: ... here.
16430         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16431         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16432         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16433         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16434         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16435         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16436         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16437         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16438         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16439         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16440         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16441         * nptl/sysdeps/i386/tls.h: Moved ...
16442         * sysdeps/i386/nptl/tls.h: ... here.
16444         * sysdeps/sh/Makefile [$(subdir) = csu]
16445         (gen-as-const-headers): Add tcb-offsets.sym.
16446         * nptl/sysdeps/sh/Makefile: File removed.
16447         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16448         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16449         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16450         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16451         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16452         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16453         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16454         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16455         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16456         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16457         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16458         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16459         * nptl/sysdeps/sh/tls.h: Moved ...
16460         * sysdeps/sh/nptl/tls.h: ... here.
16461         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16462         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16463         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16464         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16465         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16466         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16467         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16468         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16469         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16470         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16472         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16474         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16476         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16478         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16480         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16482         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16484         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16486         Moved ...
16487         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16488         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16489         Moved ...
16490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16492         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16493         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16494         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16495         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16496         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16497         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16498         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16499         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16500         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16501         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16502         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16503         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16504         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16505         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16506         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16507         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16508         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16510 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16512         * posix/spawn_faction_addopen.c: Include string.h.
16514 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16516         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16517         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16518         * nptl/sysdeps/x86_64/Makefile: Moved ...
16519         * sysdeps/x86_64/nptl/Makefile: ... here.
16520         * nptl/sysdeps/x86_64/configure: Moved ...
16521         * sysdeps/x86_64/nptl/configure: ... here.
16522         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16523         * sysdeps/x86_64/nptl/configure.ac: ... here.
16524         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16525         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16526         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16527         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16528         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16529         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16530         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16531         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16532         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16533         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16534         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16535         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16536         * nptl/sysdeps/x86_64/tls.h: Moved ...
16537         * sysdeps/x86_64/nptl/tls.h: ... here.
16538         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16539         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16540         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16541         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16543         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16545 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16549 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16551         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16552         type.
16553         [POSIX] (off_t): Likewise.
16554         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16555         [POSIX] (S_ISBLK): Require macro.
16556         [POSIX] (S_ISCHR): Likewise.
16557         [POSIX] (S_ISDIR): Likewise.
16558         [POSIX] (S_ISFIFO): Likewise.
16559         [POSIX] (S_ISREG): Likewise.
16560         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16561         optional-macro.
16562         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16563         type.
16564         [POSIX] (time_t): Likewise.
16565         [POSIX] (timer_t): Likewise.
16567 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16569         [BZ #17048]
16570         * posix/spawn_int.h (struct __spawn_action): Make the path string
16571         non-const to support deallocation.
16572         * posix/spawn_faction_addopen.c
16573         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16574         * posix/spawn_faction_destroy.c
16575         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16576         path in all spawn_do_open actions.
16577         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16578         posix_spawn_file_actions_addopen.
16580 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16582         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16583         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16584         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16585         conditional code always true.
16586         (__libc_vfork): New alias.
16588 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16590         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16591         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16593         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16595         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16596         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16598         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16599         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16601         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16602         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16604 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16606         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16607         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16608         multiarch strcmp for PPC64.
16609         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16610         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16612         multiarch optimizations.
16613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16614         (__libc_ifunc_impl_list): Likewise.
16616 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16618         * benchtests/scripts/validate_benchout.py: New script.
16619         * benchtests/Makefile (bench-func): Call it.
16620         * benchtests/scripts/benchout.schema.json: New file.
16622 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16624         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16625         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16626         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16627         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16628         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16629         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16630         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16631         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16632         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16633         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16634         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16635         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16636         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16637         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16638         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16639         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16641         Moved ...
16642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16643         ... here.
16644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16645         Moved ...
16646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16648         Moved ...
16649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16650         ... here.
16651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16652         Moved ...
16653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16654         ... here.
16655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16656         Moved ...
16657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16659         Moved ...
16660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16661         ... here.
16662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16663         Moved ...
16664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16665         ... here.
16666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16667         Moved ...
16668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16670         Moved ...
16671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16672         ... here.
16673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16674         Moved ...
16675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16676         ... here.
16677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16678         Moved ...
16679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16680         ... here.
16681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16682         Moved ...
16683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16685         Moved ...
16686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16687         ... here.
16688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16689         Moved ...
16690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16691         ... here.
16692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16693         Moved ...
16694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16695         ... here.
16696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16697         Moved ...
16698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16700         Moved ...
16701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16702         ... here.
16703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16704         Moved ...
16705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16706         ... here.
16707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16708         Moved ...
16709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16713         ... here.
16714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16715         Moved ...
16716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16718         Moved ...
16719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16721         Moved ...
16722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16723         ... here.
16724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16725         Moved ...
16726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16727         ... here.
16728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16729         Moved ...
16730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16731         ... here.
16732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16733         Moved ...
16734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16736         Moved ...
16737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16738         ... here.
16739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16740         Moved ...
16741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16742         ... here.
16743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16744         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16746         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16748         Moved ...
16749         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16750         ... here.
16751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16752         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16754         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16756         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16758         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16760         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16762         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16764         Moved ...
16765         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16766         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16767         Moved ...
16768         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16770         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16772         Moved ...
16773         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16774         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16775         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16776         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16777         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16778         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16779         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16781 2014-06-10  Wilco  <wdijkstr@arm.com>
16783         * math/test-fenv-return.c: New file.
16784         * math/Makefile: Add new test test-fenv-return.
16786 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16788         [BZ #17042]
16789         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16790         when x - 1 is zero.
16791         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16792         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16793         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16794         0.0L for an argument of 1.0L.
16795         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16796         Likewise.
16797         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16798         value when x - 1 is zero.
16799         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16800         * sysdeps/i386/fpu/libm-test-ulps: Update.
16801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16803 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16805         [BZ #15119]
16806         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16808 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16810         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16811         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16813 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16815         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16816         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16818         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16819         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16821         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16822         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16824         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16825         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16827         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16828         if not already defined.
16829         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16830         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16831         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16832         (TLS_INIT_TP): Use it.
16833         (TLS_DEFINE_INIT_TP): New macro.
16834         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16836 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16838         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16839         constant.
16840         [POSIX] (IXANY): Likewise.
16841         [POSIX] (OLCUC): Likewise.
16842         [POSIX || POSIX2008] (CBAUD): Do not allow.
16843         [POSIX || POSIX2008] (DEFECHO): Likewise.
16844         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16845         [POSIX || POSIX2008] (ECHOKE): Likewise.
16846         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16847         [POSIX || POSIX2008] (EXTA): Likewise.
16848         [POSIX || POSIX2008] (EXTB): Likewise.
16849         [POSIX || POSIX2008] (FLUSHO): Likewise.
16850         [POSIX || POSIX2008] (LOBLK): Likewise.
16851         [POSIX || POSIX2008] (PENDIN): Likewise.
16852         [POSIX || POSIX2008] (SWTCH): Likewise.
16853         [POSIX || POSIX2008] (VDISCARD): Likewise.
16854         [POSIX || POSIX2008] (VDSUSP): Likewise.
16855         [POSIX || POSIX2008] (VLNEXT): Likewise.
16856         [POSIX || POSIX2008] (VREPRINT): Likewise.
16857         [POSIX || POSIX2008] (VSTATUS): Likewise.
16858         [POSIX || POSIX2008] (VWERASE): Likewise.
16859         (B*): Change to B[0123456789]*.
16860         * conform/data/time.h-data [POSIX || UNIX98]
16861         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16862         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16863         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16864         [POSIX] (tm_*): Do not allow.
16866 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16868         * Makefile (install): Don't set LANGUAGE.
16869         * Makefile.in (install): Likewise.
16870         * assert/Makefile (test-assert-ENV): Remove variable.
16871         (test-assert-perr-ENV): Likewise.
16872         * elf/Makefile (neededtest4-ENV): Likewise.
16873         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16874         [$(cross-compiling) = no]: Don't set LANGUAGE.
16875         * io/ftwtest-sh (LANG): Remove variable.
16876         * libio/Makefile (tst-widetext-ENV): Likewise.
16877         * manual/install.texi (Running make install): Don't refer to
16878         environment settings for make install.
16879         * INSTALL: Regenerated.
16880         * nptl/tst-tls6.sh: Don't set LANG.
16881         * posix/globtest.sh (LANG): Remove variable.
16882         * string/Makefile (tester-ENV): Likewise.
16883         (inl-tester-ENV): Likewise.
16884         (noinl-tester-ENV): Likewise.
16885         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16886         [$(cross-compiling) = no]: Don't set LANGUAGE.
16887         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16888         without explicit environment settings.
16890 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16892         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16893         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16894         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16895         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16897 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16899         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16900         other files in the crypt directory.
16901         * crypt/crypt.c: Remove duplicate includes.
16902         * crypt/crypt-entry.c: Likewise.
16903         * crypt/crypt_util.c: Likewise.
16905 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16907         * Makeconfig (run-program-env): New variable.
16908         (run-program-prefix-before-env): Likewise.
16909         (run-program-prefix-after-env): Likewise.
16910         (run-program-prefix): Define in terms of new variables.
16911         (built-program-cmd-before-env): New variable.
16912         (built-program-cmd-after-env): Likewise.
16913         (built-program-cmd): Define in terms of new variables.
16914         (test-program-prefix-before-env): New variable.
16915         (test-program-prefix-after-env): Likewise.
16916         (test-program-prefix): Define in terms of new variables.
16917         (test-program-cmd-before-env): New variable.
16918         (test-program-cmd-after-env): Likewise.
16919         (test-program-cmd): Define in terms of new variables.
16920         * Rules (make-test-out): Use $(run-program-env).
16921         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16922         (help): Do not mention environment variables.  Mention
16923         --timeoutfactor option.
16924         (timeoutfactor): New variable.
16925         (blacklist_exports): Remove function.
16926         (exports): Remove variable.
16927         (command): Do not include ${exports}.
16928         * manual/install.texi (Configuring and compiling): Do not mention
16929         test wrappers preserving environment variables.  Mention that last
16930         assignment to a variable must take precedence.
16931         * INSTALL: Regenerated.
16932         * benchtests/Makefile (run-bench): Use $(run-program-env).
16933         * catgets/Makefile ($(objpfx)test1.cat): Use
16934         $(built-program-cmd-before-env), $(run-program-env) and
16935         $(built-program-cmd-after-env).
16936         ($(objpfx)test2.cat): Do not specify environment variables
16937         explicitly.
16938         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16939         $(run-program-env) and $(built-program-cmd-after-env).
16940         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16941         $(run-program-env) and $(test-program-cmd-after-env).
16942         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16943         explicitly.
16944         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16945         run_program_env and test_program_cmd_after_env arguments.
16946         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16947         * elf/tst-pathopt.sh: Use run_program_env argument.
16948         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16949         $(test-wrapper-env) and $(run-program-env).
16950         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16951         run_program_env arguments.
16952         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16953         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16954         $(test-program-prefix-before-env), $(run-program-env) and
16955         $(test-program-prefix-after-env).
16956         ($(objpfx)tst-gettext2.out): Likewise.
16957         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16958         run_program_env and test_program_prefix_after_env arguments.
16959         * intl/tst-gettext2.sh: Likewise.
16960         * intl/tst-gettext4.sh: Do not set environment variables
16961         explicitly.
16962         * intl/tst-gettext6.sh: Likewise.
16963         * intl/tst-translit.sh: Likewise.
16964         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16965         $(test-program-prefix-before-env), $(run-program-env) and
16966         $(test-program-prefix-after-env).
16967         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16968         run_program_env and test_program_prefix_after_env arguments.
16969         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16970         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16971         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16972         explicitly with each use of ${test_wrapper_env}.
16973         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16974         $(test-program-prefix-before-env), $(run-program-env) and
16975         $(test-program-prefix-after-env).
16976         * posix/tst-getconf.sh: Do not set environment variables
16977         explicitly.
16978         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16979         run_program_env and test_program_prefix_after_env arguments.
16980         * stdio-common/tst-printf.sh: Do not set environment variables
16981         explicitly.
16982         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16983         $(test-program-prefix-before-env), $(run-program-env) and
16984         $(test-program-prefix-after-env).
16985         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16986         run_program_env and test_program_prefix_after_env arguments.
16987         Split $test calls into $test_pre and $test.
16988         * timezone/Makefile (build-testdata): Use
16989         $(built-program-cmd-before-env), $(run-program-env) and
16990         $(built-program-cmd-after-env).
16992 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16994         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16995         strlen for non SHARED builds.
16997 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16999         * nptl/allocatestack.c (check_list): Inlined function...
17000         (__reclaim_stacks): ... here.
17002 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17004         [BZ #15698]
17005         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17006         memory overrun.
17008 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17010         * Rules (make-test-out): Include
17011         LOCPATH=$(common-objpfx)localedata in default environment.
17012         * debug/Makefile (tst-chk1-ENV): Remove variable.
17013         (tst-chk2-ENV): Likewise.
17014         (tst-chk3-ENV): Likewise.
17015         (tst-chk4-ENV): Likewise.
17016         (tst-chk5-ENV): Likewise.
17017         (tst-chk6-ENV): Likewise.
17018         (tst-lfschk1-ENV): Likewise.
17019         (tst-lfschk2-ENV): Likewise.
17020         (tst-lfschk3-ENV): Likewise.
17021         (tst-lfschk4-ENV): Likewise.
17022         (tst-lfschk5-ENV): Likewise.
17023         (tst-lfschk6-ENV): Likewise.
17024         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17025         (tst-iconv7-ENV): Likewise.
17026         * intl/Makefile (LOCPATH-ENV): Likewise.
17027         (tst-codeset-ENV): Likewise.
17028         (tst-gettext3-ENV): Likewise.
17029         (tst-gettext5-ENV): Likewise.
17030         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17031         (tst-fopenloc-ENV): Likewise.
17032         (tst-fgetws-ENV): Remove variable.
17033         (tst-ungetwc1-ENV): Likewise.
17034         (tst-ungetwc2-ENV): Likewise.
17035         (bug-ungetwc2-ENV): Likewise.
17036         (tst-swscanf-ENV): Likewise.
17037         (bug-ftell-ENV): Likewise.
17038         (tst-fgetwc-ENV): Likewise.
17039         (tst-fseek-ENV): Likewise.
17040         (tst-ftell-partial-wide-ENV): Likewise.
17041         (tst-ftell-active-handler-ENV): Likewise.
17042         (tst-ftell-append-ENV): Likewise.
17043         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17044         (tst-regexloc-ENV): Likewise.
17045         (bug-regex1-ENV): Likewise.
17046         (tst-regex-ENV): Likewise.
17047         (tst-regex2-ENV): Likewise.
17048         (bug-regex5-ENV): Likewise.
17049         (bug-regex6-ENV): Likewise.
17050         (bug-regex17-ENV): Likewise.
17051         (bug-regex18-ENV): Likewise.
17052         (bug-regex19-ENV): Likewise.
17053         (bug-regex20-ENV): Likewise.
17054         (bug-regex22-ENV): Likewise.
17055         (bug-regex23-ENV): Likewise.
17056         (bug-regex25-ENV): Likewise.
17057         (bug-regex26-ENV): Likewise.
17058         (bug-regex30-ENV): Likewise.
17059         (bug-regex32-ENV): Likewise.
17060         (bug-regex33-ENV): Likewise.
17061         (bug-regex34-ENV): Likewise.
17062         (bug-regex35-ENV): Likewise.
17063         (tst-rxspencer-ENV): Likewise.
17064         (tst-rxspencer-no-utf8-ENV): Likewise.
17065         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17066         (tst-sscanf-ENV): Likewise.
17067         (tst-swprintf-ENV): Likewise.
17068         (tst-swscanf-ENV): Likewise.
17069         (test-vfprintf-ENV): Likewise.
17070         (scanf13-ENV): Likewise.
17071         (bug14-ENV): Likewise.
17072         (tst-grouping-ENV): Likewise.
17073         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17074         (tst-strtod3-ENV): Likewise.
17075         (tst-strtod4-ENV): Likewise.
17076         (tst-strtod5-ENV): Likewise.
17077         (testmb2-ENV): Likewise./
17078         * string/Makefile (tst-strxfrm-ENV): Likewise.
17079         (tst-strxfrm2-ENV): Likewise.
17080         (bug-strcoll1-ENV): Likewise.
17081         (test-strcasecmp-ENV): Likewise.
17082         (test-strncasecmp-ENV): Likewise.
17083         * time/Makefile (tst-strptime-ENV): Likewise.
17084         (tst-ftime_l-ENV): Likewise.
17085         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17086         (tst-mbrtowc-ENV): Likewise.
17087         (tst-wcrtomb-ENV): Likewise.
17088         (tst-mbrtowc2-ENV): Likewise.
17089         (tst-c16c32-1-ENV): Likewise.
17090         (tst-mbsnrtowcs-ENV): Likewise.
17092 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17094         * manual/resource.texi (How to get information about the memory
17095         subsystem?): Fix typo.
17096         Reported by Peon de la Parra Ivan <peon@keba.com>
17098 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17100         [BZ #16882]
17101         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17102         (pthread_spin_lock): Branch out of spin loop to proper location.
17103         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17104         (pthread_spin_lock): Likewise.
17106         * nptl/tst-spin4.c: New test.
17107         * nptl/Makefile (tests): Add tst-spin4.
17109 2014-06-03  Andreas Schwab  <schwab@suse.de>
17111         [BZ #15946]
17112         * resolv/res_send.c (send_dg): Reload file descriptor after
17113         calling reopen.
17115 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17117         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17119 2014-06-03  Richard Henderson  <rth@redhat.com>
17121         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17122         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17123         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17124         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17125         in the SAVE_PID block.
17126         (__libc_vfork): New alias.
17127         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17129         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17130         child in registers, not on the stack.  Remove RESET_PID conditionals.
17131         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17133 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17135         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17137 2014-06-03  Wilco  <wdijkstr@arm.com>
17139         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17140         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17141         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17142         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17143         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17144         Likewise.
17146 2014-06-03  Wilco  <wdijkstr@arm.com>
17148         * sysdeps/aarch64/fpu/math_private.h
17149         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17150         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17151         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17152         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17153         Fix declarations.
17155 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17157         * crypt/crypt-private.h: Include ufc-crypt.h.
17158         (__b64_from_24bit): Declare extern.
17159         * crypt/crypt_util.c(__b64_from_24bit): New function.
17160         (b64t): New static const variable.
17161         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17162         (b64t): Remove variable.
17163         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17164         * crypt/sha256-crypt.c: Include crypt-private.h.
17165         (b64t): Remove variable.
17166         (__sha256_crypt_r): Remove b64_from_24bit and replace
17167         with __b64_from_24bit.
17168         * crypt/sha512-crypt.c: Likewise.
17170 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17172         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17173         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17174         Label the code __libc_vfork rather than __vfork.
17175         [!NOT_IN_libc] (vfork): Define as weak alias.
17176         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17177         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17178         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17180 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17182         * malloc/malloc.c (malloc_info): Fix format specifier for
17183         n_mmaps.
17185 2014-06-02  Wilco  <wdijkstr@arm.com>
17187         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17188         FPCR write.
17190 2014-06-02  Wilco  <wdijkstr@arm.com>
17192         [BZ #17009]
17193         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17194         Rewrite to reduce FPCR/FPSR accesses.
17196 2014-06-01  David S. Miller  <davem@davemloft.net>
17198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17200 2014-05-31  David S. Miller  <davem@davemloft.net>
17202         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17203         to occur in round to nearest mode when |x| >= 2.0
17205 2014-05-30  Richard Henderson  <rth@twiddle.net>
17207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17208         (PSEUDO_RET_NOERRNO): Remove.
17209         (ret): Don't redefine.
17210         (ret_NOERRNO): Define in terms of ret.
17211         (ret_ERRVAL): Likewise.
17213         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17214         use of PSEUDO_RET; perform the error check directly.
17216 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17218         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17219         with __int128_t.
17221 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17223         * malloc/malloc (malloc_info): Fix formatting.
17225 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17226             Roland McGrath  <roland@hack.frob.com>
17228         * malloc/malloc (malloc_info): Also print mmapped statistics.
17230 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17232         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17233         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17235 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17237         * malloc/malloc.c (malloc_info): Inline mi_arena.
17239 2014-05-29  Richard Henderson  <rth@twiddle.net>
17241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17242         Remove comma before expanding ASM_ARGS_##nr.
17243         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17244         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17245         of ASM_ARGS_##nr.
17246         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17247         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17248         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17249         (ASM_ARGS_1): Add leading comma.
17251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17252         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17253         to __errno_location.
17254         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17255         Remove the expected plt for __errno_location.
17257         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17258         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17259         call to __read_tp.
17261         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17262         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17263         it and break it down.
17264         (DOCARGS_0, DOCARGS_1): Do nothing.
17265         (DOCARGS_2): Update to store into the new stack frame.
17266         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17267         (UNDOCARGS_1): Update to restore from the new stack frame.
17268         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17269         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17271         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17272         (SINGLE_THREAD_P): New parameter for result regno.
17273         (PSEUDO): Update to match; use cbz instead of beq.
17275         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17276         Use ENTRY to define the _nocancel entry point.  Share the syscall
17277         and syscall error check paths with the cancel path.
17278         (PSEUDO_END): New.
17280         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17281         whitespace; tabs before and after asm mnemonics.
17283 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17285         [BZ #15132]
17286         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17287         Call fstat64 or stat64 internally, depending on arguments passed.
17288         Replace stat buffer argument with file descriptor argument.
17289         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17290         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17291         Pass fd to __internal_statvfs instead of calling fstat64.
17292         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17293         Pass fd to __internal_statvfs64 instead of calling fstat64.
17294         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17295         Pass -1 to __internal_statvfs instead of calling stat64.
17296         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17297         Pass -1 to __internal_statvfs64 instead of calling stat64.
17299 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17301         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17302         that was previously under [RESET_PID].
17303         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17305         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17306         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17308 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17310         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17312         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17313         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17315 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17317         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17319 2014-05-27  Andreas Schwab  <schwab@suse.de>
17321         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17322         TLS_INIT_TP macro.
17323         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17324         * elf/rtld.c (init_tls, dl_main): Likewise.
17325         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17326         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17327         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17328         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17329         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17330         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17331         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17332         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17333         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17334         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17335         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17336         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17337         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17338         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17339         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17340         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17341         * sysdeps/generic/tls.h: Update description.
17343 2014-05-27  Will Newton  <will.newton@linaro.org>
17345         [BZ #16990]
17346         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17347         and restore r2 rather than just restoring.
17349 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17351         [BZ #16724]
17352         * libio/tst-ftell-append.c: New test case.
17353         * libio/Makefile (tests): Add test case.
17354         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17355         append mode.
17356         * libio/wfileops.c (do_ftell_wide): Likewise.
17358 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17362         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17363         ...
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17366         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17367         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17368         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17369         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17370         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17373         Moved ...
17374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17376         Moved ...
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17378         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17379         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17380         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17381         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17382         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17383         ...
17384         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17385         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17386         Moved ...
17387         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17388         here.
17389         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17390         ...
17391         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17392         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17393         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17395         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17396         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17397         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17398         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17400         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17401         merge into ...
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17404         ...
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17407         ...
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17410         Moved ...
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17412         here.
17413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17414         Moved ...
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17417         Moved ...
17418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17421         conditional [RESET_PID].
17422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17424         removed.
17425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17426         removed.
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17429         <tcb-offsets.h>.
17430         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17431         (__libc_vfork): New strong alias.
17432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17433         removed.
17434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17435         Removed.
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17438         <tcb-offsets.h>.
17439         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17440         (__libc_vfork): New strong alias.
17441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17442         removed.
17443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17444         removed.
17446 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17448         * malloc/malloc.c (mi_arena): New function.
17449         (malloc_info): Remove nested function mi_arena. Call non-nosted
17450         function mi_arena.
17452 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17454         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17455         by insrwi.
17456         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17457         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17458         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17459         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17460         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17461         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17462         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17464 2014-05-26  Andreas Schwab  <schwab@suse.de>
17466         [BZ #16984]
17467         * locale/programs/repertoire.c (repertoire_read): Add slash
17468         between I18NPATH element and file name.
17469         * locale/programs/locfile.c (locfile_read): Likewise.
17471 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17473         * nptl/pthread_mutexattr_settype.c
17474         (__pthread_mutexattr_settype):
17475         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17477 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17479         * nptl/tst-mutex5 (do_test):
17480         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17482 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17484         * benchtests/README: Document 'init' directive.
17485         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17486         BENCH_INIT.
17487         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17488         (parse_file): Recognize 'init' directive.
17490 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17492         [BZ #16796]
17493         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17494         alignment of struct pthread.
17496 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17498         [BZ #16878]
17499         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17500         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17501         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17502         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17504 2014-05-25  Richard Henderson  <rth@twiddle.net>
17506         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17507         (SINGLE_THREAD_P_PIC): Remove.
17508         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17509         (SINGLE_THREAD_P_PIC): Remove.
17511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17512         branch to syscall error ...
17513         (PSEUDO): ... here.
17514         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17515         from __local_syscall_error to .Lsyscall_error.
17516         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17517         (SYSCALL_ERROR): Update label name.
17519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17520         Do not use DOARGS/UNDOARGS.
17521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17522         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17523         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17524         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17525         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17528         block comment.
17530         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17531         define if !NOT_IN_libc.
17532         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17533         define with non-default symbol versions.
17535 2014-05-23  Richard Henderson  <rth@twiddle.net>
17537         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17538         (vfork, __vfork): Define via compat_symbol.
17540         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17541         [!HAVE_IFUNC] (vfork_compat): Remove.
17542         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17544 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17546         [BZ #16978]
17547         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17548         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17549         variable.
17551 2014-05-23  Richard Henderson  <rth@twiddle.net>
17553         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17554         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17555         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17556         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17558         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17559         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17560         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17561         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17562         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17563         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17564         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17565         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17566         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17567         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17568         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17569         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17570         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17571         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17575         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17576         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17577         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17578         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17579         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17580         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17581         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17582         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17583         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17584         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17585         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17586         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17587         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17588         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17589         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17590         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17591         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17592         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17593         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17594         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17595         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17596         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17597         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17598         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17599         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17600         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17601         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17602         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17603         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17604         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17605         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17607         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17609         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17611         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17612         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17613         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17615         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17616         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17617         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17618         before exiting on error.
17619         (__libc_vfork): New strong alias.
17620         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17621         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17623         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17624         that was previously under [RESET_PID].
17625         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17627         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17629 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17631         [BZ #16977]
17632         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17633         value when x - 1 is zero.
17634         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17635         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17636         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17637         0.0L for an argument of 1.0L.
17638         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17639         Likewise.
17640         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17641         value when x - 1 is zero.
17642         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17643         * sysdeps/i386/fpu/libm-test-ulps: Update.
17644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17646 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17648         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17649         alphasort and versionsort.
17651 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17653         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17654         macro.
17655         [copysignf]: Likewise.
17657 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17659         * crypt/md5-crypt.c: Fix formatting.
17661 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17663         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17664         (b64_from_24bit): New function.
17666 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17668         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17669         libc_hidden_builtin_def to ifunc.
17670         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17671         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17673 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17675         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17676         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17678 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17680         * nscd/Depend (linuxthreads): Remove.
17681         (nptl): Add.
17682         * resolv/Depend (linuxthreads): Remove.
17683         * rt/Depend (linuxthreads): Remove.
17685         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17686         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17687         $(common-objpfx)elf/.
17688         (link-libc-before-gnulib): Likewise.
17689         (elfobjdir): Remove variable.
17690         * Makefile (install): Use $(elf-objpfx) instead of
17691         $(common-objpfx)elf/.
17692         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17693         $(elfobjdir)/.
17694         (link-libc-deps): Likewise.
17695         ($(common-objpfx)libc.so): Likewise.
17696         ($(common-objpfx)linkobj/libc.so): Likewise.
17697         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17698         instead of $(common-objpfx)elf/.
17699         (symbolic-link-list): Likewise.
17700         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17701         [$(cross-compiling) = no]: Likewise.
17702         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17703         $(elfobjdir)/.
17704         (static-gnulib-arch): Likewise.
17705         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17706         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17707         $(common-objpfx)elf/.
17709 2014-05-21  Richard Henderson  <rth@redhat.com>
17711         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17712         (SINGLE_THREAD_P): Use the correct width load.  Fold
17713         into the ldr offset.
17715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17716         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17718 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17720         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17721         (libgcc_s_resume): Use __attribute_used__.
17722         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17723         Likewise.
17725 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17727         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17728         optimization when used with float constants.
17730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17732 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17734         [BZ #16915]
17735         * locale/nl_langinfo_l.c: Make direct reference to every
17736         _nl_current_CATEGORY symbol.
17737         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17738         (tests-static): Add tst-langinfo-static.
17739         (tests-special): Add tst-langinfo-static.out.
17740         ($(objpfx)tst-langinfo.out): Redirect output.
17741         ($(objpfx)tst-langinfo-static.out): New.
17742         * localedata/tst-langinfo.sh: Send output to stdout.
17743         * localedata/tst-langinfo-static.c: New file.
17745         [BZ #16965]
17746         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17747         when the shift amount is modulo the limb size.
17749 2014-05-20  Richard Henderson  <rth@redhat.com>
17751         [BZ #16967]
17752         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17753         Change type of sa_flags from unsigned int to int.
17755         [BZ #16966]
17756         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17758         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17760 2014-05-20  Will Newton  <will.newton@linaro.org>
17762         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17763         Test the return value of the system call in the nocancel case.
17765 2014-05-20  Will Newton  <will.newton@linaro.org>
17766             Yvan Roux  <yvan.roux@linaro.org>
17768         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17769         #include of asm/ptrace.h.
17770         (PTRACE_GET_THREAD_AREA): Remove #undef.
17771         (PTRACE_GETHBPREGS): Likewise.
17772         (PTRACE_SETHBPREGS): Likewise.
17773         (struct user_regs_struct): New structure.
17774         (struct user_fpsimd_struct): New structure.
17775         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17776         #include of asm/ptrace.h and second #include of sys/user.h.
17777         (PTRACE_GET_THREAD_AREA): Remove #undef.
17778         (PTRACE_GETHBPREGS): Likewise.
17779         (PTRACE_SETHBPREGS): Likewise.
17780         (ELF_NGREG): Use new struct user_regs_struct.
17781         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17783 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17788 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17790         [BZ #16958]
17791         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17792         membar to avoid block loads/stores to overlap previous stores.
17794 2014-05-17  Richard Henderson  <rth@redhat.com>
17796         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17797         Create the __##syscall_name##_nocancel entry point.
17798         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17799         Remove; let the sysdep-cancel.h code create it.
17801 2014-05-17  David S. Miller  <davem@davemloft.net>
17803         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17804         Protect with __USE_GNU.
17805         (TIOCSET_TEMPT): Likewise.
17806         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17807         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17808         these are already provided in bits/ioctl-types.h
17810 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17812         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17813         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17815         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17816         Use wait4 regardless of [__NR_waitpid].
17818 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17820         PR libgcc/60166
17821         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17822         (_FP_NANSIGN_Q): Set the quiet bit.
17824 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17826         * benchtests/Makefile
17827         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17828         not $(common-objpfx)math/libm.so.
17829         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17830         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17831         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17832         $(common-objpfx)dlfcn/libdl.so.
17833         ($(objpfx)tst-audit8): Depend on $(libm), not
17834         $(common-objpfx)math/libm.so.
17835         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17836         not $(common-objpfx)dlfcn/libdl.so.
17837         * math/Makefile
17838         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17839         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17840         [$(build-shared) = yes].
17841         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17842         $(common-objpfx)nptl/libpthread.so.
17843         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17844         $(common-objpfx)math/libm.so$(libm.so-version) or
17845         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17846         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17847         $(common-objpfx)dlfcn/libdl.so.
17848         * setjmp/Makefile (link-libm): Remove variable.
17849         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17850         * stdio-common/Makefile (link-libm): Remove variable.
17851         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17852         * stdlib/Makefile (link-libm): Remove variable.
17853         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17854         ($(objpfx)tst-strtod-round): Likewise.
17855         ($(objpfx)tst-tininess): Likewise.
17856         ($(objpfx)tst-strtod-underflow): Likewise.
17857         ($(objpfx)tst-strtod6): Likewise.
17858         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17859         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17860         $(common-objpfx)dlfcn/libdl.so.
17862 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17864         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17865         BSD terminal modes definitions.
17867 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17869         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17870         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17872         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17873         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17874         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17875         Don't do #include_next.
17876         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17877         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17878         Don't do #include_next.
17879         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17880         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17881         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17882         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17884 2014-05-16  Allan McRae  <allan@archlinux.org>
17886         * po/sv.po: Update Swedish translation from translation project.
17888         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17889         in sed expression.
17891 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17893         [BZ #16917]
17894         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17895         errno if the TIOCGPTN ioctl fails with an error different than
17896         EINVAL.
17897         * login/tst-ptsname.c: New file.
17898         * login/Makefile (tests): Add tst-ptsname.
17900         [BZ #16943]
17901         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17902         and prlimit64.
17904 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17906         [BZ #16849]
17907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17908         herrno to return EAI_AGAIN.
17910 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17912         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17913         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17914         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17915         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17916         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17917         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17918         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17919         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17920         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17921         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17922         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17923         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17924         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17925         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17926         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17927         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17928         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17929         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17930         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17931         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17932         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17933         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17934         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17935         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17936         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17937         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17938         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17939         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17940         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17941         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17943         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17945         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17947         Moved ...
17948         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17950         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17952         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17954         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17956         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17958         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17960         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17962         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17964         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17966         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17968         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17970         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17972         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17974         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17976         Moved ...
17977         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17979         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17981         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17983         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17985         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17987         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17989         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17991         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17993         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17995         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17997         Moved ...
17998         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18000         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18002         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18003         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18004         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18005         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18006         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18007         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18008         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18009         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18010         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18011         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18012         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18014         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18015         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18016         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18017         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18018         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18019         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18020         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18021         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18022         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18023         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18024         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18025         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18026         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18027         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18028         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18029         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18030         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18031         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18032         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18034         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18035         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18037         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18038         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18039         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18040         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18041         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18042         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18043         Moved ...
18044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18045         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18046         Moved ...
18047         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18049         Moved ...
18050         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18052         Moved ...
18053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18054         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18055         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18056         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18057         Moved ...
18058         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18059         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18060         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18061         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18062         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18063         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18064         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18065         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18066         Moved ...
18067         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18069         Moved ...
18070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18071         ... here.
18072         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18073         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18074         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18075         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18076         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18077         Moved ...
18078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18079         ... here.
18080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18081         Moved ...
18082         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18083         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18084         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18085         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18086         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18087         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18088         Moved ...
18089         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18090         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18091         Moved ...
18092         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18094         Moved ...
18095         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18097         Moved ...
18098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18099         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18100         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18101         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18102         Moved ...
18103         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18104         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18105         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18106         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18107         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18108         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18109         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18110         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18111         Moved ...
18112         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18114         Moved ...
18115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18116         ... here.
18117         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18118         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18119         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18120         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18121         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18122         Moved ...
18123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18124         ... here.
18125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18126         Moved ...
18127         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18128         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18129         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18130         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18131         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18132         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18134         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18135         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18136         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18137         Moved ...
18138         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18139         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18140         Moved ...
18141         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18143         Moved ...
18144         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18146         Moved ...
18147         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18148         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18149         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18150         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18151         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18152         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18153         Moved ...
18154         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18155         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18156         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18159         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18160         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18161         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18162         Moved ...
18163         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18164         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18165         Moved ...
18166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18167         ... here.
18168         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18169         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18171         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18172         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18173         Moved ...
18174         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18175         ... here.
18176         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18177         Moved ...
18178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18179         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18180         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18182         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18183         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18184         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18185         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18186         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18187         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18188         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18190         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18191         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18193         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18194         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18196         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18197         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18198         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18199         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18200         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18201         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18202         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18203         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18204         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18205         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18206         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18207         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18208         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18209         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18210         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18212         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18214         Moved ...
18215         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18216         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18217         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18218         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18219         Moved ...
18220         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18222         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18224         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18226         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18228         Moved ...
18229         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18230         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18231         Moved ...
18232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18234         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18235         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18236         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18237         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18238         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18239         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18240         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18241         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18242         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18243         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18244         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18245         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18246         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18247         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18248         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18250         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18251         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18252         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18253         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18254         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18256         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18257         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18258         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18259         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18260         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18261         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18262         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18263         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18264         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18265         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18270         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18271         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18272         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18273         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18274         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18275         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18276         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18277         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18278         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18279         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18280         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18281         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18282         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18283         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18285         Update #include.
18286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18287         Likewise.
18288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18289         Likewise.
18290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18291         Likewise.
18292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18293         Likewise.
18294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18295         Likewise.
18296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18297         Likewise.
18298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18299         Likewise.
18300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18301         Likewise.
18302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18303         Likewise.
18304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18310         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18311         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18312         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18313         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18314         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18315         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18316         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18317         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18320         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18321         that was previously under [RESET_PID].
18322         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18323         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18324         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18326         * sysdeps/i386/nptl/Implies: New file.
18327         * sysdeps/x86_64/nptl/Implies: New file.
18328         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18329         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18330         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18331         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18333         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18334         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18335         (__libc_vfork): New strong alias.
18336         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18337         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18339         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18340         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18341         (__libc_vfork): New strong alias.
18342         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18343         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18345         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18346         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18347         (__libc_vfork): New strong alias.
18348         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18349         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18350         * nptl/pt-vfork.c: New file.
18351         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18352         (libpthread: GLIBC_2.20): New version set (empty).
18354 2014-05-14  Will Newton  <will.newton@linaro.org>
18356         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18357         rather than #if.
18359 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18361         [BZ #16564]
18362         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18363         arguments with exponent 65 or above.
18364         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18365         arguments 0x1p113L or above.
18366         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18367         to arguments 0x1p107L or above.
18368         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18369         positive arguments with exponent 65 or above.
18370         * math/auto-libm-test-in: Add more tests of log1p.
18371         * math/auto-libm-test-out: Regenerated.
18373         [BZ #16928]
18374         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18375         non-finite arguments is +0.
18376         * math/s_cacosf.c (__cacosf): Likewise.
18377         * math/s_cacosl.c (__cacosl): Likewise.
18378         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18379         * sysdeps/i386/fpu/libm-test-ulps: Update.
18380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18382         [BZ #16927]
18383         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18384         value.
18385         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18386         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18387         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18388         for explicit high bit of mantissa when testing for argument equal
18389         to 1.
18390         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18391         * sysdeps/i386/fpu/libm-test-ulps: Update.
18392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18394         [BZ #16516]
18395         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18396         (__erf): Scale by 16 instead of 8 in potentially underflowing
18397         case.  Ensure exception if result actually underflows.
18398         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18399         (__erff): Scale by 16 instead of 8 in potentially underflowing
18400         case.  Ensure exception if result actually underflows.
18401         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18402         (efx8): Remove variable.
18403         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18404         case.  Ensure exception if result actually underflows.
18405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18406         (efx8): Remove variable.
18407         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18408         case.  Ensure exception if result actually underflows.
18409         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18410         (efx8): Remove variable.
18411         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18412         case.  Ensure exception if result actually underflows.
18413         * math/auto-libm-test-in: Add more tests of erf.
18414         * math/auto-libm-test-out: Regenerated.
18416 2014-05-14  Andreas Schwab  <schwab@suse.de>
18418         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18419         Remove code conditionalized on USE___THREAD.
18421         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18422         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18423         not definedness.
18425 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18427         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18428         Define unconditionally.
18429         (__ASSUME_O_CLOEXEC): Likewise.
18430         (__ASSUME_SOCK_CLOEXEC): Likewise.
18431         (__ASSUME_IN_NONBLOCK): Likewise.
18432         (__ASSUME_PIPE2): Likewise.
18433         (__ASSUME_EVENTFD2): Likewise.
18434         (__ASSUME_SIGNALFD4): Likewise.
18435         (__ASSUME_DUP3): Likewise.
18436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18437         (__ASSUME_DUP3): Do not define.
18438         (__ASSUME_EVENTFD2): Likewise.
18439         (__ASSUME_IN_NONBLOCK): Likewise.
18440         (__ASSUME_O_CLOEXEC): Likewise.
18441         (__ASSUME_PIPE2): Likewise.
18442         (__ASSUME_SIGNALFD4): Likewise.
18443         (__ASSUME_SOCK_CLOEXEC): Likewise.
18444         (__ASSUME_UTIMES): Undefine.
18445         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18446         (__ASSUME_UTIMES): Do not define.
18447         (__ASSUME_O_CLOEXEC): Likewise.
18448         (__ASSUME_SOCK_CLOEXEC): Likewise.
18449         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18450         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18451         0x020621].
18452         (__ASSUME_PIPE2): Likewise.
18453         (__ASSUME_EVENTFD2): Likewise.
18454         (__ASSUME_SIGNALFD4): Likewise.
18455         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18456         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18457         Do not define.
18458         (__ASSUME_EVENTFD2): Likewise.
18459         (__ASSUME_SIGNALFD4): Likewise.
18460         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18461         (__ASSUME_32BITUIDS): Likewise.
18462         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18463         (__ASSUME_IPC64): Likewise.
18464         (__ASSUME_ST_INO_64_BIT): Likewise.
18465         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18466         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18468         (__ASSUME_UTIMES): Do not define.
18469         (__ASSUME_PSELECT): Likewise.
18470         (__ASSUME_PPOLL): Likewise.
18471         (__ASSUME_O_CLOEXEC): Likewise.
18472         (__ASSUME_SOCK_CLOEXEC): Likewise.
18473         (__ASSUME_IN_NONBLOCK): Likewise.
18474         (__ASSUME_PIPE2): Likewise.
18475         (__ASSUME_EVENTFD2): Likewise.
18476         (__ASSUME_SIGNALFD4): Likewise.
18477         (__ASSUME_DUP3): Likewise.
18478         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18479         (__ASSUME_UTIMES): Likewise.
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         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18488         (__ASSUME_UTIMES): Likewise.
18489         (__ASSUME_O_CLOEXEC): Likewise.
18490         (__ASSUME_SOCK_CLOEXEC): Likewise.
18491         (__ASSUME_IN_NONBLOCK): Likewise.
18492         (__ASSUME_PIPE2): Likewise.
18493         (__ASSUME_EVENTFD2): Likewise.
18494         (__ASSUME_SIGNALFD4): Likewise.
18495         (__ASSUME_DUP3): Likewise.
18496         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18497         Likewise.
18498         (__ASSUME_UTIMES): Likewise.
18499         (__ASSUME_EVENTFD2): Likewise.
18500         (__ASSUME_SIGNALFD4): Likewise.
18501         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18502         (__ASSUME_O_CLOEXEC): Likewise.
18503         (__ASSUME_SOCK_CLOEXEC): Likewise.
18504         (__ASSUME_IN_NONBLOCK): Likewise.
18505         (__ASSUME_PIPE2): Likewise.
18506         (__ASSUME_EVENTFD2): Likewise.
18507         (__ASSUME_SIGNALFD4): Likewise.
18508         (__ASSUME_DUP3): Likewise.
18509         (__ASSUME_UTIMES): Undefine.
18511         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18512         feclearexcept.  Remove symbol versioning code.
18513         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18514         symbol versioning code.
18515         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18516         symbol versioning code.
18517         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18518         feupdateenv.  Remove symbol versioning code.
18519         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18520         fegetexceptflag.  Remove symbol versioning code.
18521         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18522         fesetexceptflag.  Remove symbol versioning code.
18523         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18524         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18525         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18526         (__posix_fadvise64_l32): Remove prototype.
18527         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18528         code.
18530 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18532         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18533         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18534         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18535         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18537 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18539         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18540         current working directory
18542 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18544         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18545         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18546         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18547         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18548         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18549         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18550         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18551         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18552         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18553         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18554         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18555         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18556         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18557         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18558         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18559         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18560         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18561         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18562         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18563         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18564         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18565         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18566         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18567         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18568         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18569         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18570         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18571         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18572         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18573         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18574         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18575         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18576         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18577         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18578         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18579         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18580         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18581         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18582         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18583         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18584         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18585         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18587         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18588         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18590         * sysdeps/unix/sysv/linux/arm/Makefile
18591         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18592         Add rt-aeabi_unwind_cpp_pr1.
18593         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18594         Add nptl-aeabi_unwind_cpp_pr1.
18595         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18596         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18597         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18598         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18599         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18600         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18602         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18603         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18604         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18605         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18607         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18608         Deconditionalize the code that was previously under [RESET_PID].
18609         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18611         * sysdeps/generic/exit-thread.h: New file.
18612         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18613         * include/unistd.h (__exit_thread): Remove declaration.
18614         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18615         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18616         * csu/libc-start.c: Include <exit-thread.h>.
18617         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18618         * nptl/pthread_create.c: Include <exit-thread.h>.
18619         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18620         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18621         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18622         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18623         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18624         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18625         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18626         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18627         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18628         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18629         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18630         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18631         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18632         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18633         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18634         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18635         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18637 2014-05-13  Andreas Schwab  <schwab@suse.de>
18639         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18641 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18643         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18644         (__ASSUME_UTIMES): Do not condition on kernel version.
18645         (__ASSUME_PSELECT): Define unconditionally.
18646         (__ASSUME_PPOLL): Likewise.
18647         (__ASSUME_ATFCTS): Likewise.
18648         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18649         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18650         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18651         (__ASSUME_UTIMENSAT): Define unconditionally.
18652         (__ASSUME_PRIVATE_FUTEX): Likewise.
18653         (__ASSUME_FALLOCATE): Likewise.
18654         (__ASSUME_O_CLOEXEC): Likewise.
18655         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18656         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18657         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18658         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18659         (__ASSUME_IN_NONBLOCK): Likewise.
18660         (__ASSUME_PIPE2): Likewise.
18661         (__ASSUME_EVENTFD2): Likewise.
18662         (__ASSUME_SIGNALFD4): Likewise.
18663         (__ASSUME_DUP3): Likewise.
18664         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18665         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18666         (__ASSUME_AT_RANDOM): Likewise.
18667         (__ASSUME_PREADV): Likewise.
18668         (__ASSUME_PWRITEV): Likewise.
18669         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18670         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18671         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18672         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18673         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18674         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18675         (__ASSUME_O_CLOEXEC): Define unconditionally.
18676         (__ASSUME_PSELECT): Do not undefine conditionally.
18677         (__ASSUME_PPOLL): Likewise.
18678         (__ASSUME_ATFCTS): Likewise.
18679         (__ASSUME_SET_ROBUST_LIST): Likewise.
18680         (__ASSUME_UTIMENSAT): Likewise.
18681         (__ASSUME_FDATASYNC): Define unconditionally.
18682         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18683         (__ASSUME_SIGFRAME_V2): Likewise.
18684         )__ASSUME_EVENTFD2): Likewise.
18685         (__ASSUME_SIGNALFD4): Likewise.
18686         (__ASSUME_PSELECT): Do not undefine conditionally.
18687         (__ASSUME_PPOLL): Likewise.
18688         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18689         (__ASSUME_PSELECT): Define unconditionally.
18690         (__ASSUME_PPOLL): Likewise.
18691         (__ASSUME_O_CLOEXEC): Likewise.
18692         (__ASSUME_SOCK_CLOEXEC): Likewise.
18693         (__ASSUME_IN_NONBLOCK): Likewise.
18694         (__ASSUME_PIPE2): Likewise.
18695         (__ASSUME_EVENTFD2): Likewise.
18696         (__ASSUME_SIGNALFD4): Likewise.
18697         (__ASSUME_DUP3): Likewise.
18698         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18699         (__ASSUME_O_CLOEXEC): Likewise.
18700         (__ASSUME_SOCK_CLOEXEC): Likewise.
18701         (__ASSUME_IN_NONBLOCK): Likewise.
18702         (__ASSUME_PIPE2): Likewise.
18703         (__ASSUME_EVENTFD2): Likewise.
18704         (__ASSUME_SIGNALFD4): Likewise.
18705         (__ASSUME_DUP3): Likewise.
18706         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18707         (__ASSUME_EVENTFD2): Likewise.
18708         (__ASSUME_SIGNALFD4): Likewise.
18709         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18711 2014-05-12  Andreas Schwab  <schwab@suse.de>
18713         [BZ #16932]
18714         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18715         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18716         than maximum RPC packet size.
18717         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18718         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18719         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18720         (_nss_nis_getservbyport_r): Likewise.
18722 2014-05-12  Will Newton  <will.newton@linaro.org>
18724         * malloc/Makefile (tests): Add tst-mallopt.
18725         * malloc/tst-mallopt.c: New file.
18727 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18729         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18730         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18732 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18734         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18735         (tst-tlsmod6.so): Likewise.
18737 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18739         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18741 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18743         [BZ #16064]
18744         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18745         and <dl-procinfo.h>.
18746         (__fegetenv): Save SSE state in envp->__eip if supported.
18747         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18748         envp->__eip if supported.
18749         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18750         and <dl-procinfo.h>.
18751         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18752         __data_offset and __data_selector in environment to 0.  Set SSE
18753         state if supported.
18754         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18755         test-fenv-sse.
18756         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18757         -mfpmath=sse.
18758         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18760 2014-05-09  Will Newton  <will.newton@linaro.org>
18762         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18763         and libc_relro_required for ARM.
18764         * sysdeps/arm/preconfigure: Regenerate.
18766 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18767             Stefan Liebler  <stli@linux.vnet.ibm.com>
18769         * config.make.in (enable-lock-elision): New Makefile variable.
18770         * configure.ac: Likewise.
18771         * configure: Regenerate.
18772         * sysdeps/s390/configure.ac:
18773         Add check for gcc transactions support.
18774         * sysdeps/s390/configure: Regenerate.
18775         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18776         Build elision files if enabled.
18777         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18778         Add lock elision support for s390.
18779         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18780         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18781         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18782         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18783         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18784         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18785         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18786         Likewise.
18787         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18788         Likewise.
18789         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18790         Likewise.
18791         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18792         Likewise.
18793         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18794         (__lll_timedlock_elision, __lll_lock_elision)
18795         (__lll_unlock_elision, __lll_trylock_elision)
18796         (lll_timedlock_elision, lll_lock_elision)
18797         (lll_unlock_elision, lll_trylock_elision): Add.
18798         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18799         (pthread_mutex_t): Add lock elision support for s390.
18801 2014-05-14  Wilco  <wdijkstr@arm.com>
18803         * sysdeps/arm/fclrexcpt.c: Cleanup.
18804         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18805         * sysdeps/arm/feenablxcpt.c: Cleanup.
18806         * sysdeps/arm/fegetenv.c: Cleanup.
18807         * sysdeps/arm/fegetexcept.c: Cleanup.
18808         * sysdeps/arm/fegetround.c: Cleanup.
18809         * sysdeps/arm/feholdexcpt.c: Cleanup.
18810         * sysdeps/arm/fesetenv.c: Cleanup.
18811         * sysdeps/arm/fesetround.c: Cleanup.
18812         * sysdeps/arm/feupdateenv.c: Cleanup.
18813         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18814         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18815         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18816         * sysdeps/arm/ftestexcept.c: Cleanup.
18817         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18818         * sysdeps/arm/setfpucw.c: Cleanup.
18820 2014-05-09  Will Newton  <will.newton@linaro.org>
18822         * sysdeps/arm/armv7/strcmp.S: New file.
18823         * NEWS: Mention addition of ARMv7 optimized strcmp.
18825 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18827         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18828         look for %.ac rather than %.in.
18830         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18831         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18832         * sysdeps/mach/hurd/configure: Regenerated.
18833         * sysdeps/unix/sysv/linux/configure: Regenerated.
18835         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18837 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18839         [BZ# 16922]
18840         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18841         (LONG_SUB): Ditto.
18842         (PTR_SUB): Ditto.
18844 2014-05-07  Andreas Schwab  <schwab@suse.de>
18846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18847         when skipping over non-matching result from nscd.
18849 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18851         [BZ #16876]
18852         * nptl/sockperf.c (client): Check socket return value.
18854         [BZ #16877]
18855         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18856         nscd security class.
18858 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18860         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18861         * sysdeps/arm/unwind.h: ... here.
18863 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18865         [BZ# 16916]
18866         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18867         Define.
18869 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18871         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18872         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18873         multiarch strncpy for PPC64.
18874         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18875         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18877         multiarch optimizations.
18878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18879         (__libc_ifunc_impl_list): Likewise.
18880         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18881         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18882         multiarch stpncpy for PPC64.
18883         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18884         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18886 2014-05-06  Andreas Schwab  <schwab@suse.de>
18888         [BZ #16912]
18889         * gmon/mcount.c (_MCOUNT_DECL): Use
18890         atomic_compare_and_exchange_bool_acq instead of
18891         catomic_compare_and_exchange_bool_acq.
18893 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18895         * elf/Makefile (others, install-bin): Remove pldd.
18896         (pldd-modules): Variable removed.
18897         ($(objpfx)pldd): Target removed.
18898         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18899         (others, install-bin): Append pldd here.
18900         ($(objpfx)pldd): New target.
18902         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18903         to 0, so the first #if test emitted later doesn't see it undefined.
18904         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18905         * sysdeps/gnu/errlist.c: Regenerated.
18907 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18910         [libc_hidden_builtin_def]: Define to empty value.
18911         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18912         [libc_hidden_builtin_def]: Likewise.
18913         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18914         [libc_hidden_builtin_def]: Likewise.
18915         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18916         [libc_hidden_builtin_def]: Likewise.
18917         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18918         __redirect_memcpy and define ifunc as default hidden symbol.
18919         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18920         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18922 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18924         * locale/iso-4217.def: Reintroduce XDR currency.
18926 2014-05-04  Allan McRae  <allan@archlinux.org>
18928         * po/eo.po: Update Esperanto translation from translation project.
18930 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18932         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18933         and FEATURE_INDEX_MAX to 1.
18934         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18936 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18938         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18939         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18940         * iconvdata/big5.c (ONE_DIRECTION): Define.
18941         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18942         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18943         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18944         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18945         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18946         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18947         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18948         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18949         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18950         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18951         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18952         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18953         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18954         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18955         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18956         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18957         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18958         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18959         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18960         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18961         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18962         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18963         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18964         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18965         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18966         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18967         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18968         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18969         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18970         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18971         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18972         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18973         * iconvdata/johab.c (ONE_DIRECTION): Define.
18974         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18975         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18976         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18977         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18978         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18979         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18980         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18981         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18982         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18983         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18985 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18987         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18988         (_IO_JUMPS_OFFSET): Define to 0.
18990         * nptl/sysdeps/pthread/bits/libc-lock.h
18991         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18992         (__libc_lock_define_initialized_recursive): Always define using
18993         initializer.  Modern compilers treat uninitialized (implicit zero) and
18994         explicit zero initializers the same (i.e. put the datum in bss).
18996 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18998         * nscd/nscd-client.h: Include <string.h>.
19000 2014-05-01  David S. Miller  <davem@davemloft.net>
19002         [BZ #16885]
19003         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19004         multiple zero bytes exist at the end of a string.
19005         Reported by Aurelien Jarno <aurelien@aurel32.net>
19007         * string/test-strcmp.c (check): Add explicit test for situations where
19008         there are multiple zero bytes after the first.
19010 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19012         [BZ #16890]
19013         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19014         when compiling wprintf.
19015         * stdio-common/tstdiomisc.c (t3): New function.
19016         (main): Call it.
19018 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19020         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19021         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19022         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19023         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19025 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19027         * stdlib/longlong.h: Updated from GCC.
19029 2014-05-01  Will Newton  <will.newton@linaro.org>
19030             Bernard Ogden  <bernie.ogden@linaro.org>
19032         * NEWS: Update fixed bug list.
19034         [BZ #15119]
19035         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19037 2014-04-30  David S. Miller  <davem@davemloft.net>
19039         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19040         (libc_feholdexcept_setround_sparc_ctx): New function.
19041         (libc_fesetenv_sparc_ctx): Likewise.
19042         (libc_feupdateenv_sparc_ctx): Likewise.
19043         (libc_feholdsetround_sparc_ctx): Likewise.
19044         (libc_feholdexcept_setround_ctx): Define.
19045         (libc_feholdexcept_setroundf_ctx): Likewise.
19046         (libc_feholdexcept_setroundl_ctx): Likewise.
19047         (libc_fesetenv_ctx): Likewise.
19048         (libc_fesetenvf_ctx): Likewise.
19049         (libc_fesetenvl_ctx): Likewise.
19050         (libc_feupdateenv_ctx): Likewise.
19051         (libc_feupdateenvf_ctx): Likewise.
19052         (libc_feupdateenvl_ctx): Likewise.
19053         (libc_feresetround_ctx): Likewise.
19054         (libc_feresetroundf_ctx): Likewise.
19055         (libc_feresetroundl_ctx): Likewise.
19056         (libc_feholdsetround_ctx): Likewise.
19057         (libc_feholdsetroundf_ctx): Likewise.
19058         (libc_feholdsetroundl_ctx): Likewise.
19060         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19061         with __USE_GNU instead of XOPEN cpp guards.
19063         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19064         0.
19066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19067         with XOPEN cpp guards.
19069 2014-04-30  Julian Brown  <julian@codesourcery.com>
19071         [BZ #16888]
19072         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19073         handling.
19075 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19077         [BZ #9894]
19078         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19079         Change to 2.6.32.
19080         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19081         * sysdeps/unix/sysv/linux/configure: Regenerated.
19082         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19083         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19084         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19085         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19086         * README: Update reference to required Linux kernel version.
19087         * manual/install.texi (Linux): Update reference to required Linux
19088         kernel headers version.
19089         * INSTALL: Regenerated.
19091         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19092         header inclusion.
19093         [POSIX] (limits.h): Likewise.
19094         [POSIX] (math.h): Likewise.
19095         [POSIX] (sys/wait.h): Likewise.
19096         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19097         function.
19098         [POSIX] (stddef.h): Do not allow header inclusion.
19100 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19102         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19104 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19106         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19107         Return immediately after lll_futex_wake.
19109 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19111         [BZ #16791]
19112         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19113         structure.
19114         (datahead_init_pos): Call datahead_init_common early.
19115         (datahead_init_neg): Likewise.
19117         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19118         datahead_init_neg): New functions.
19119         * nscd/aicache.c (addhstaiX): Use them.
19120         * nscd/grpcache.c (cache_addgr): Likewise.
19121         * nscd/hstcache.c (cache_addhst): Likewise.
19122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19123         * nscd/netgroupcache.c (do_notfound): Likewise.
19124         (addgetnetgrentX): Likewise.
19125         (addinnetgrX): Likewise.
19126         * nscd/pwdcache.c (cache_addpw): Likewise.
19127         * nscd/servicescache.c (cache_addserv): Likewise.
19129 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19130             Atsushi Onoe  <atsushi@onoe.org>
19132         [BZ #14308]
19133         [BZ #12994]
19134         [BZ #13651]
19135         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19136         one response is valid.
19137         * resolv/res_send.c (send_dg): Check for validity of other
19138         response if the current response is a referral.
19140 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19142         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19144 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19146         [BZ #16823]
19147         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19148         Always divide by positive zero when computing -Inf result.
19149         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19150         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19152 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19154         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19155         FPSCR if value do not change.
19156         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19157         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19158         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19159         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19160         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19161         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19162         function.
19164 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19166         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19167         * sysdeps/unix/sysv/linux/hppa: Move directory from
19168         ports/systeps/unix/sysv/linux/hppa.
19169         * README: Update listing for hppa-*-linux-gnu.
19171 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19173         [BZ #16754]
19174         * manual/stdio.texi (Hook functions): Fix types of stream hook
19175         functions.
19176         [BZ #16854]
19177         * socket/sys/socket.h: Fix typo in comment.
19179 2014-04-28  Wilco  <wdijkstr@arm.com>
19181         * sysdeps/arm/fenv_private.h: New file.
19182         * sysdeps/arm/math_private.h: New file.
19183         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19185 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19187         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19188         with __int128_t.
19189         (La_x86_64_retval): Likewise.
19191 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19193         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19194         fpsr if value didn't change.
19195         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19196         to fpcr if value didn't change.
19197         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19198         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19199         fpsr or fpcr if value didn't change.
19200         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19201         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19202         fpcr if value didn't change.
19203         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19204         to fpsr if value didn't change.
19206 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19208         * nptl/tst-sem3.c: Use test-skeleton.c
19209         (main): Rename to do_test.  Use return instead of
19210         exit.
19211         * nptl/tst-sem4.c: Use test-skeleton.c
19212         (main): Rename to do_test.
19214 2014-04-22  David S. Miller  <davem@davemloft.net>
19216         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19217         (struct sigaction): New struct member __glibc_reserved0, change
19218         type of sa_flags to int.
19220 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19222         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19223         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19225 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19227         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19228         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19230 2014-04-22  Will Newton  <will.newton@linaro.org>
19231             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19233         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19234         (__longjmp): Add longjmp and longjmp_target SystemTap
19235         probes.
19236         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19237         (__sigsetjmp): Add setjmp SystemTap probe.
19239 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19241         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19242         match manual order.
19244 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19246         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19248         * sysdeps/powerpc/fpu/fenv_private.h
19249         (libc_feholdexcept_setroundl_ctx): Define to
19250         libc_feholdexcept_setround_ppc_ctx.
19251         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19252         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19253         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19254         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19256 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19258         * sysdeps/aarch64/math-tests.h: New file.
19260 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19262         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19263         New.
19264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19265         Check and set bit_AVX2_Usable.
19266         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19267         macro.
19268         (bit_AVX2): Likewise.
19269         (index_AVX2_Usable): Likewise.
19270         (CPUID_AVX2): Likewise.
19271         (HAS_AVX2): Likewise.
19273 2014-04-17  Will Newton  <will.newton@linaro.org>
19275         * manual/setjmp.texi (System V contexts): Add note that
19276         calling setcontext on a context created by a call to a
19277         signal handler is undefined.  Update text to note that
19278         setcontext from a signal handler is possible but not
19279         recommended.
19281         [BZ #16629]
19282         * stdlib/tst-setcontext.c: Include signal.h.
19283         (main): Check that the signal stack before and
19284         after swapcontext is the same.
19286         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19287         Re-implement to restore registers in user code and avoid
19288         rt_sigreturn system call.
19290 2014-04-17  Wilco  <wdijkstr@arm.com>
19292         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19293         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19294         * math/test-fenv.c: Skip exception trap tests on targets which only
19295         support non-stop mode.
19297 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19298             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19300         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19301         (libc_feholdsetround_aarch64_ctx)
19302         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19303         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19304         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19305         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19306         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19307         (libc_feresetround_noexl_ctx): Define.
19309 2014-04-16  Richard Henderson  <rth@redhat.com>
19311         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19313         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19314         unwind tables.
19316         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19317         const from the non-libc, non-ldso copy.
19319         * sysdeps/alpha/libm-test-ulps: Regenerate.
19321 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19322             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19324         * sysdeps/aarch64/fpu/math_private.h: New file.
19326 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19328         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19330 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19332         [BZ #16275]
19333         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19334         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19335         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19336         Intel MPX bound registers before _dl_profile_fixup.
19337         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19338         registers after _dl_profile_fixup.  Save and restore bound
19339         registers bnd0/bnd1 when calling _dl_call_pltexit.
19340         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19341         (LR_BND_OFFSET): Likewise.
19342         (LRV_BND0_OFFSET): Likewise.
19343         (LRV_BND1_OFFSET): Likewise.
19345 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19347         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19348         to...
19349         * sysdeps/mach/hurd/i386/tls.h: ... here.
19350         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19351         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19352         fields.
19354 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19356         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19358 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19360         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19362 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19364         [BZ #14770]
19365         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19366         * sysdeps/s390/configure: Regenerate.
19368         [BZ #16824]
19369         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19370         Set round-to-nearest internally to reduce error accumulation.
19372 2014-04-16  Alan Modra  <amodra@gmail.com>
19374         [BZ #16740]
19375         [BZ #16619]
19376         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19377         * math/libm-test.inc (frexp_test_data): Add tests.
19378         * NEWS: Update fixed bug list.
19380 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19382         * benchtests/Makefile: Depend on libraries in build directory.
19383         (bench-math): Separate out math tests.
19384         (bench-pthread): Separate out pthread tests.
19385         (bench): Include math and pthread tests.
19387 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19389         [BZ #16831]
19390         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19391         _dl_debug_initialize.
19393         * configure.ac: Remove SELinux header check.
19394         * configure: Regenerate.
19395         * nscd/selinux.c (perms): Array of const char* to permission names.
19396         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19397         default policy. Call string_to_security_class and string_to_av_perm to
19398         translate strings. Enforce default policy and call avs_has_perm with
19399         results of translated strings.
19401 2014-04-13  David S. Miller  <davem@davemloft.net>
19403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19405 2014-04-12  Allan McRae  <allan@archlinux.org>
19407         [BZ #16838]
19408         * manual/string.texi (Collation Functions): Fix qsort argument
19409         order in example.
19410         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19412 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19414         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19415         Make the test a no-op if there are no exceptions defined.
19417 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19419         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19420         enable-hardcoded-path-in-tests
19422 2014-04-11  Will Newton  <will.newton@linaro.org>
19424         * benchtests/Makefile (extra-objs): Add json-lib.o.
19425         (bench-func): Tidy up JSON output.
19426         * benchtests/bench-skeleton.c: Include json-lib.h.
19427         (main): Use JSON library functions to do output of
19428         benchmark results.
19429         * benchtests/bench-timing-type.c (main): Output the
19430         timing type simply, leaving formatting to the user.
19431         * benchtests/json-lib.c: New file.
19432         * benchtests/json-lib.h: Likewise.
19434 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19436         [BZ #15215]
19437         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19438         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19439         memory barriers.  Add comments.
19440         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19441         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19442         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19443         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19444         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19445         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19447 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19449         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19450         * sysdeps/s390/s390-64/configure.ac: ... this ...
19451         * sysdeps/s390/configure.ac: ... to here.
19452         * sysdeps/s390/s390-32/configure: Delete file.
19453         * sysdeps/s390/s390-64/configure: Delete file.
19454         * sysdeps/s390/configure: Regenerate.
19456 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19458         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19460 2014-04-11  Will Newton  <will.newton@linaro.org>
19462         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19463         to zero if it is not defined elsewhere.  (mtrim): Test
19464         the value of MALLOC_DEBUG with #if rather than #ifdef.
19466 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19468         * benchtests/pthread_once-inputs: New file.
19469         * benchtests/pthread_once-source.c: New file.
19470         * benchtests/README: Update documentation.
19472 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19473             H.J. Lu  <hongjiu.lu@intel.com>
19475         [BZ #16275]
19476         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19477         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19478         * sysdeps/x86_64/configure: Regenerated.
19479         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19480         macro.
19481         (REGISTER_SAVE_RAX): Likewise.
19482         (REGISTER_SAVE_RCX): Likewise.
19483         (REGISTER_SAVE_RDX): Likewise.
19484         (REGISTER_SAVE_RSI): Likewise.
19485         (REGISTER_SAVE_RDI): Likewise.
19486         (REGISTER_SAVE_R8): Likewise.
19487         (REGISTER_SAVE_R9): Likewise.
19488         (REGISTER_SAVE_BND0): Likewise.
19489         (REGISTER_SAVE_BND1): Likewise.
19490         (REGISTER_SAVE_BND2): Likewise.
19491         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19492         bound registers when calling _dl_fixup.
19494 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19496         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19497         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19498         of its definition.
19499         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19500         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19501         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19502         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19503         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19504         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19505         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19507 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19509         [BZ #15514]
19510         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19511         pathconf(_PC_NAME_MAX).
19513 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19515         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19516         Remove macro usage.
19517         (__PTHREAD_SPINS): Move definition to ...
19518         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19519         (__PTHREAD_SPINS): ... here.
19520         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19521         (__PTHREAD_SPIN): Likewise.
19522         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19523         (__PTHREAD_SPIN): Likewise.
19524         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19525         (__PTHREAD_SPIN): Likewise.
19526         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19527         (__PTHREAD_SPIN): Likewise.
19528         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19529         (__PTHREAD_SPIN): Likewise.
19530         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19531         (__PTHREAD_SPIN): Likewise.
19532         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19533         (__PTHREAD_SPIN): Likewise.
19534         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19535         (__PTHREAD_SPIN): Likewise.
19536         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19537         (__PTHREAD_SPIN): Likewise.
19538         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19539         (__PTHREAD_SPIN): Likewise.
19540         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19541         (__PTHREAD_SPIN): Likewise.
19542         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19543         (__PTHREAD_SPIN): Likewise.
19545         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19546         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19547         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19548         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19549         imply folder.
19550         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19551         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19552         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19553         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19554         correct imply path.
19555         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19556         strlen symbol for non multi-arch builds.
19557         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19558         missing hidden_def and weak_alias.
19560 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19562         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19564 2014-04-07  Will Newton  <will.newton@linaro.org>
19566         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19567         and contents.  [!_LIBC] Remove #ifndef and contents.
19568         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19569         * string/memccpy.c (__memccpy): Use ANSI prototype.
19570         * string/memfrob.c (memfrob): Likewise.
19571         * string/strcoll.c (STRCOLL): Likewise.
19572         * string/strlen.c (strlen): Likewise.
19573         * string/strtok.c (STRTOK): Likewise.
19574         * string/strcat.c: Remove unused #include of memcopy.h.
19575         (strcat): Use ANSI prototype.
19576         * string/strchr.c: Remove unused #include of memcopy.h.
19577         (strchr): Use ANSI prototype.
19578         * string/strcmp.c: Remove unused #include of memcopy.h.
19579         (strcmp): Use ANSI prototype.
19580         * string/strcpy.c: Remove unused #include of memcopy.h.
19581         (strcpy): Use ANSI prototype.
19583 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19585         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19586         * config.make.in (config-extra-cppflags): Set it from
19587         libc_extra_cppflags.
19588         * configure.ac (libc_extra_cflags): Make it accumulate over
19589         configure fragments.
19590         (libc_extra_cppflags): New flag.
19591         * configure. Regenerate.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19593         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19594         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19597         [BZ #16815]
19598         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19599         result for FE_DOWNWARD rounding mode.
19600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19601         Likewise.
19602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19604 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19606         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19607         in function argument name.
19609 2014-04-03  David Svoboda  <svoboda@cert.org>
19611         [BZ #5666]
19612         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19613         explicitly.
19615 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19617         * elf/dl-unmap-segments.h: New file.
19618         * sysdeps/generic/ldsodefs.h
19619         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19620         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19621         * elf/dl-fptr.c: Likewise.
19622         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19623         * sysdeps/aarch64/tlsdesc.c: Likewise.
19624         * sysdeps/arm/tlsdesc.c: Likewise.
19625         * sysdeps/i386/tlsdesc.c: Likewise.
19626         * sysdeps/tile/dl-runtime.c: Likewise.
19627         * sysdeps/x86_64/tlsdesc.c: Likewise.
19628         * elf/dl-load.h: New file.
19629         * elf/dl-load.c: Include it.
19630         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19631         Macros moved to dl-load.h.
19632         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19633         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19634         Use _dl_unmap_segments in place of __munmap.
19635         Break out segment-mapping loop into ...
19636         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19638 2014-04-03  Will Newton  <will.newton@linaro.org>
19640         * elf/dl-lookup.c (do_lookup_x): Remove comment
19641         referring to nested function and move variable
19642         declarations down to before first use.
19644 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19646         [BZ #16799]
19647         [BZ #16800]
19648         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19649         with 0 numerator.
19650         * math/s_catanf.c (__catanf): Likewise.
19651         * math/s_catanh.c (__catanh): Likewise.
19652         * math/s_catanhf.c (__catanhf): Likewise.
19653         * math/s_catanhl.c (__catanhl): Likewise.
19654         * math/s_catanl.c (__catanl): Likewise.
19655         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19656         by positive zero when computing -Inf result.
19657         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19658         (catanh_test): Likewise.
19659         * sysdeps/i386/fpu/libm-test-ulps: Update.
19660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19662         [BZ #16789]
19663         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19664         instead of using underflowing value in computing result.
19665         * math/s_clog10.c (__clog10): Likewise.
19666         * math/s_clog10f.c (__clog10f): Likewise.
19667         * math/s_clog10l.c (__clog10l): Likewise.
19668         * math/s_clogf.c (__clogf): Likewise.
19669         * math/s_clogl.c (__clogl): Likewise.
19670         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19671         (clog10_test): Likewise.
19672         * sysdeps/i386/fpu/libm-test-ulps: Update.
19673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19675 2014-04-02  Alan Modra  <amodra@gmail.com>
19677         [BZ #16739]
19678         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19679         output when value is near a power of two.  Use int64_t for lx and
19680         remove casts.  Use decimal rather than hex exponent constants.
19681         Don't use long double multiplication when double will suffice.
19682         * math/libm-test.inc (nextafter_test_data): Add tests.
19683         * NEWS: Add 16739 and 16786 to bug list.
19685         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19687         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19689 2014-04-01  Will Newton  <will.newton@linaro.org>
19691         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19692         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19694 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19696         [BZ #13347]
19697         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19698         * nptl/tst-setuid2.c: New file.
19699         * nptl/Makefile (xtests): Add tst-setuid2.
19701 2014-04-01  Alan Modra  <amodra@gmail.com>
19703         [BZ #16786]
19704         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19706 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19708         [BZ #6803]
19709         [BZ #6804]
19710         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19711         set errno as appropriate.
19712         * math/w_scalbf.c (__scalbf): Likewise.
19713         * math/w_scalbl.c (__scalbl): Likewise.
19714         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19715         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19716         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19717         Add more NaN tests.
19719         [BZ #16349]
19720         * math/w_atan2.c: Include <errno.h>.
19721         (__atan2): Set errno for result underflowing to zero.
19722         * math/w_atan2f.c: Include <errno.h>.
19723         (__atan2f): Set errno for result underflowing to zero.
19724         * math/w_atan2l.c: Include <errno.h>.
19725         (__atan2l): Set errno for result underflowing to zero.
19726         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19727         tests.
19728         * math/auto-libm-test-out: Regenerated.
19730 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19732         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19733         Encode instruction correctly in little endian.
19734         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19735         Likewise.
19736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19737         Likewise.
19738         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19739         Likewise.
19740         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19741         Likewise.
19743 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19745         [BZ #9894]
19746         * sysdeps/unix/sysv/linux/kernel-features.h
19747         [__sparc__ && !__arch64__ && !__sparc_v9__]
19748         (__ASSUME_SET_ROBUST_LIST): Do not define.
19749         [__sparc__ && !__arch64__ && !__sparc_v9__]
19750         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19751         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19752         Likewise.
19753         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19754         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19755         (__ASSUME_REQUEUE_PI): Likewise.
19756         (__ASSUME_SET_ROBUST_LIST): Likewise.
19757         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19758         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19759         Undefine.
19760         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19761         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19762         Likewise.
19763         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19764         Likewise.
19765         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19766         Likewise.
19767         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19768         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19769         Undefine.
19770         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19771         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19772         Likewise.
19774         [BZ #16648]
19775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19777         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19779 2014-03-31  Will Newton  <will.newton@linaro.org>
19781         * benchtests/Makefile (bench): Add ffs and ffsll to list
19782         of tests.
19783         * benchtests/ffs-inputs: New file.
19784         * benchtests/ffsll-inputs: Likewise.
19786 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19788         [BZ #16770]
19789         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19790         too large before casting to int.
19791         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19792         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19793         * math/libm-test.inc (scalb_test_data): Add more tests.
19795 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19797         * benchtests/Makefile (DETAILED_OPT): New make option.
19798         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19799         set.
19800         * benchtests/bench-skeleton.c: Include stdbool.h.
19801         (main): Store and print timings per input.
19802         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19803         member to each argument value.
19804         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19805         (_print_arg_data): Initialize per-input timing to 0.
19807         * benchtests/Makefile (timing-type): New binary.
19808         (bench-clean): Also remove bench-timing-type.
19809         (bench): New target for timing-type.
19810         (bench-func): Print output in JSON format.
19811         * benchtests/bench-skeleton.c (main): Print output in JSON
19812         format.
19813         * benchtests/bench-timing-type.c: New file.
19814         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19815         (TIMING_PRINT_STATS): Remove.
19816         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19817         name separately.
19819         * benchtests/bench-modf.c: Remove.
19820         * benchtests/modf-inputs: New inputs file.
19822 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19824         [BZ #16362]
19825         * math/s_clog10.c (M_PI_LOG10E): New macro.
19826         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19827         imaginary parts are 0.
19828         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19829         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19830         imaginary parts are 0.
19831         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19832         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19833         imaginary parts are 0.
19834         * math/libm-test.inc (clog10_test_data): Update expected results
19835         for when real and imaginary parts are 0.
19837 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19839         * elf/dl-load.c: Finish conversion of __builtin_expect into
19840         __glibc_{un}likely.
19842 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19844         [BZ #16348]
19845         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19846         1+x for argument with exponent below -67.
19847         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19848         Likewise.
19849         * math/auto-libm-test-in: Add more tests of exp.
19850         * math/auto-libm-test-out: Regenerated.
19852 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19854         [BZ #16759]
19855         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19856         (nscd_getnetgrent): Use it.
19858         [BZ #16760]
19859         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19860         of stpcpy.
19862 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19864         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19865         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19866         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19867         (lll_robust_unlock): Remove out of line section. Use cfi
19868         intrinsics.
19869         (LLL_STUB_UNWIND_INFO*): Remove.
19870         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19871         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19872         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19873         (lll_robust_unlock): Remove out of line section. Use cfi
19874         intrinsics.
19875         (LLL_STUB_UNWIND_INFO*): Remove.
19877 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19879         [BZ #16758]
19880         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19881         blank values.
19883 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19885         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19887 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19889         [BZ #16198]
19890         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19891         fnstenv.
19892         * math/test-fenv-preserve.c: New file.
19893         * math/Makefile (tests): Add test-fenv-preserve.
19895 2014-03-26  Will Newton <will.newton@linaro.org>
19897         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19899 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19901         * scripts/versionlist.awk: Partition the version sets and emit all
19902         GLIBC_* (sorted) before all others (sorted).
19904 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19906         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19907         GLIBC_2.2.5 version.
19909 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19911         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19912         calls.
19914         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19915         previous change.
19917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19919 2014-03-25  Andreas Schwab  <schwab@suse.de>
19921         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19922         label to be used after in6ailist is initialized.
19924 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19926         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19927         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19929 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19931         [BZ #16357]
19932         [BZ #16599]
19933         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19934         min_plus_half.
19935         (fp_formats): Update initializers.
19936         (init_fp_formats): Initialize new field.
19937         (output_for_one_input_case): Allow underflow for results up to
19938         min_plus_half.
19939         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19940         * math/auto-libm-test-in: Don't mark some underflows from asin and
19941         atanh as spurious.
19942         * math/auto-libm-test-out: Regenerated.
19943         * sysdeps/i386/fpu/libm-test-ulps: Update.
19944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19946 2014-03-25  Andreas Schwab  <schwab@suse.de>
19948         * libio/Makefile (tst-ftell-partial-wide-ENV)
19949         (tst-ftell-active-handler-ENV): Define.
19951 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19953         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19955 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19957         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19959 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19961         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19962         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19963         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19965 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19967         [BZ #16634]
19968         * elf/dl-load.c (open_verify): Add mode parameter.
19969         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19970         (open_path): Change from boolean 'secure' to complete flag 'mode'
19971         (_dl_map_object): Adjust.
19972         * elf/Makefile (tests): Add tst-dlopen-aout.
19973         * elf/tst-dlopen-aout.c: New test.
19975 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19977         [BZ #16714]
19978         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19979         (struct stat): Rename member pad0 to __glibc_reserved0.
19981         [BZ #16712]
19982         * sysdeps/s390/s390-32/bits/wordsize.h
19983         (__WORDSIZE32_SIZE_ULONG): New define.
19984         * sysdeps/s390/s390-64/bits/wordsize.h
19985         (__WORDSIZE32_SIZE_ULONG): Likewise.
19986         * sysdeps/generic/stdint.h (SIZE_MAX):
19987         Define as UL if __WORDSIZE32_SIZE_ULONG.
19989         [BZ #16713]
19990         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19991         (__glibc_reserved0): New variable.
19992         (sa_flags): Change type to int.
19994         * posix/Makefile (before-compile): Use += before-compile instead
19995         of a :=.
19997         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19998         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20000 2014-03-20  Andreas Schwab  <schwab@suse.de>
20002         [BZ #16743]
20003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20004         non-matching result from nscd.
20006 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20008         * scripts/bench.py: Moved to ...
20009         * benchtests/scripts/bench.py: ... here.
20010         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20012 2014-03-24  Andreas Schwab  <schwab@suse.de>
20014         [BZ #16002]
20015         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20016         alloca_account and account alloca use for struct in6ailist.
20018 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #16284]
20021         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20022         rounding mode to recompute results that overflow to infinity or
20023         underflow to zero.
20024         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20025         bug 16284.
20026         * math/auto-libm-test-out: Regenerated.
20027         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20028         (ccosh_test): Likewise.
20029         (csin_test_data): Use plus_oflow.
20030         (csin_test): Use ALL_RM_TEST.
20031         (csinh_test_data): Use plus_oflow.
20032         (csinh_test): Use ALL_RM_TEST.
20033         * sysdeps/i386/fpu/libm-test-ulps: Update.
20034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20036 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20038         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20039         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20040         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20042         [BZ #16731]
20043         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20044         when x - 1 is zero.
20045         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20046         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20047         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20048         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20049         argument is 1.
20050         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20051         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20052         zero.
20053         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20054         * sysdeps/i386/fpu/libm-test-ulps: Update.
20055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20057 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20059         * scripts/bench.pl: Remove file.
20060         * scripts/bench.py: New benchmark script.
20061         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20062         * benchtests/README: Mention python dependency.
20063         * scripts/pylintrc: New file.
20064         * scripts/pylint: New file.
20066         * bits/mathdef.h: Use #ifdef instead of #if.
20067         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20068         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20069         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20070         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20071         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20072         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20074 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20077         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20079         and strpbrk-ppc64 objects.
20080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20081         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20082         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20083         multiarch strpbrk for POWER7.
20084         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20085         multiarch strpbrk for PPC64.
20086         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20087         ifunc selector.
20088         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20089         strpbrk for POWER7.
20091 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20093         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20094         (atan_test): Likewise.
20095         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20096         (atanh_test): Use ALL_RM_TEST.
20097         (atan2_test_data): Likewise.
20098         (cabs_test): Likewise.
20099         (cacosh_test): Likewise.
20100         (carg_test): Likewise.
20101         (casin_test): Likewise.
20102         (casinh_test): Likewise.
20103         (cbrt_test): Likewise.
20104         (csqrt_test): Likewise.
20105         (erf_test): Likewise.
20106         (erfc_test): Likewise.
20107         (pow10_test): Likewise.
20108         (exp2_test): Likewise.
20109         (hypot_test): Likewise.
20110         (j0_test): Likewise.
20111         (j1_test): Likewise.
20112         (lgamma_test): Likewise.
20113         (gamma_test): Likewise.
20114         (sincos_test): Likewise.
20115         (tanh_test): Likewise.
20116         (y0_test): Likewise.
20117         (y1_test): Likewise.
20118         * sysdeps/i386/fpu/libm-test-ulps: Update.
20119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20121 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20123         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20125         and strcspn-ppc64 objects.
20126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20127         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20128         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20129         multiarch strcspn for POWER7.
20130         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20131         multiarch strcspn for PPC64.
20132         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20133         ifunc selector.
20134         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20135         strcspn for POWER7.
20137 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20139         * math/gen-libm-test.pl (generate_testfile): Expect only function
20140         name as argument to AUTO_TESTS_* and pass results for all rounding
20141         modes to parse_args.
20142         (parse_auto_input): Separate inputs of automatic tests from
20143         outputs before storing in %auto_tests.
20144         * math/libm-test.inc (acos_test_data): Update call to
20145         AUTO_TESTS_f_f.
20146         (acos_test): Use ALL_RM_TEST.
20147         (acos_tonearest_test_data): Remove.
20148         (acos_test_tonearest): Likewise.
20149         (acos_towardzero_test_data): Likewise.
20150         (acos_test_towardzero): Likewise.
20151         (acos_downward_test_data): Likewise.
20152         (acos_test_downward): Likewise.
20153         (acos_upward_test_data): Likewise.
20154         (acos_test_upward): Likewise.
20155         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20156         (asin_test_data): Likewise.
20157         (asin_test): Use ALL_RM_TEST.
20158         (asin_tonearest_test_data): Remove.
20159         (asin_test_tonearest): Likewise.
20160         (asin_towardzero_test_data): Likewise.
20161         (asin_test_towardzero): Likewise.
20162         (asin_downward_test_data): Likewise.
20163         (asin_test_downward): Likewise.
20164         (asin_upward_test_data): Likewise.
20165         (asin_test_upward): Likewise.
20166         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20167         (atan_test_data): Likewise.
20168         (atanh_test_data): Likewise.
20169         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20170         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20171         (carg_test_data): Likewise.
20172         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20173         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20174         (ccosh_test_data): Likewise.
20175         (cexp_test_data): Likewise.
20176         (clog_test_data): Likewise.
20177         (clog10_test_data): Likewise.
20178         (cos_test_data): Update call to AUTO_TESTS_f_f.
20179         (cos_test): Use ALL_RM_TEST.
20180         (cos_tonearest_test_data): Remove.
20181         (cos_test_tonearest): Likewise.
20182         (cos_towardzero_test_data): Likewise.
20183         (cos_test_towardzero): Likewise.
20184         (cos_downward_test_data): Likewise.
20185         (cos_test_downward): Likewise.
20186         (cos_upward_test_data): Likewise.
20187         (cos_test_upward): Likewise.
20188         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20189         (cosh_test): Use ALL_RM_TEST.
20190         (cosh_tonearest_test_data): Remove.
20191         (cosh_test_tonearest): Likewise.
20192         (cosh_towardzero_test_data): Likewise.
20193         (cosh_test_towardzero): Likewise.
20194         (cosh_downward_test_data): Likewise.
20195         (cosh_test_downward): Likewise.
20196         (cosh_upward_test_data): Likewise.
20197         (cosh_test_upward): Likewise.
20198         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20199         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20200         (ctan_test_data): Likewise.
20201         (ctan_test): Use ALL_RM_TEST.
20202         (ctan_tonearest_test_data): Remove.
20203         (ctan_test_tonearest): Likewise.
20204         (ctan_towardzero_test_data): Likewise.
20205         (ctan_test_towardzero): Likewise.
20206         (ctan_downward_test_data): Likewise.
20207         (ctan_test_downward): Likewise.
20208         (ctan_upward_test_data): Likewise.
20209         (ctan_test_upward): Likewise.
20210         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20211         (ctanh_test): Use ALL_RM_TEST.
20212         (ctanh_tonearest_test_data): Remove.
20213         (ctanh_test_tonearest): Likewise.
20214         (ctanh_towardzero_test_data): Likewise.
20215         (ctanh_test_towardzero): Likewise.
20216         (ctanh_downward_test_data): Likewise.
20217         (ctanh_test_downward): Likewise.
20218         (ctanh_upward_test_data): Likewise.
20219         (ctanh_test_upward): Likewise.
20220         (erf_test_data): Update call to AUTO_TESTS_f_f.
20221         (erfc_test_data): Likewise.
20222         (exp_test_data): Likewise.
20223         (exp_test): Use ALL_RM_TEST.
20224         (exp_tonearest_test_data): Remove.
20225         (exp_test_tonearest): Likewise.
20226         (exp_towardzero_test_data): Likewise.
20227         (exp_test_towardzero): Likewise.
20228         (exp_downward_test_data): Likewise.
20229         (exp_test_downward): Likewise.
20230         (exp_upward_test_data): Likewise.
20231         (exp_test_upward): Likewise.
20232         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20233         (exp10_test): Use ALL_RM_TEST.
20234         (exp10_tonearest_test_data): Remove.
20235         (exp10_test_tonearest): Likewise.
20236         (exp10_towardzero_test_data): Likewise.
20237         (exp10_test_towardzero): Likewise.
20238         (exp10_downward_test_data): Likewise.
20239         (exp10_test_downward): Likewise.
20240         (exp10_upward_test_data): Likewise.
20241         (exp10_test_upward): Likewise.
20242         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20243         (expm1_test_data): Likewise.
20244         (expm1_test): Use ALL_RM_TEST.
20245         (expm1_tonearest_test_data): Remove.
20246         (expm1_test_tonearest): Likewise.
20247         (expm1_towardzero_test_data): Likewise.
20248         (expm1_test_towardzero): Likewise.
20249         (expm1_downward_test_data): Likewise.
20250         (expm1_test_downward): Likewise.
20251         (expm1_upward_test_data): Likewise.
20252         (expm1_test_upward): Likewise.
20253         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20254         (fma_test): Use ALL_RM_TEST.
20255         (fma_towardzero_test_data): Remove.
20256         (fma_test_towardzero): Likewise.
20257         (fma_downward_test_data): Likewise.
20258         (fma_test_downward): Likewise.
20259         (fma_upward_test_data): Likewise.
20260         (fma_test_upward): Likewise.
20261         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20262         (j0_test_data): Update call to AUTO_TESTS_f_f.
20263         (j1_test_data): Likewise.
20264         (jn_test_data): Update call to AUTO_TESTS_if_f.
20265         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20266         (log_test_data): Update call to AUTO_TESTS_f_f.
20267         (log10_test_data): Likewise.
20268         (log1p_test_data): Likewise.
20269         (log2_test_data): Likewise.
20270         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20271         (pow_tonearest_test_data): Likewise.
20272         (sin_test_data): Update call to AUTO_TESTS_f_f.
20273         (sin_test): Use ALL_RM_TEST.
20274         (sin_tonearest_test_data): Remove.
20275         (sin_test_tonearest): Likewise.
20276         (sin_towardzero_test_data): Likewise.
20277         (sin_test_towardzero): Likewise.
20278         (sin_downward_test_data): Likewise.
20279         (sin_test_downward): Likewise.
20280         (sin_upward_test_data): Likewise.
20281         (sin_test_upward): Likewise.
20282         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20283         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20284         (sinh_test): Use ALL_RM_TEST.
20285         (sinh_tonearest_test_data): Remove.
20286         (sinh_test_tonearest): Likewise.
20287         (sinh_towardzero_test_data): Likewise.
20288         (sinh_test_towardzero): Likewise.
20289         (sinh_downward_test_data): Likewise.
20290         (sinh_test_downward): Likewise.
20291         (sinh_upward_test_data): Likewise.
20292         (sinh_test_upward): Likewise.
20293         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20294         (sqrt_test): Use ALL_RM_TEST.
20295         (sqrt_tonearest_test_data): Remove.
20296         (sqrt_test_tonearest): Likewise.
20297         (sqrt_towardzero_test_data): Likewise.
20298         (sqrt_test_towardzero): Likewise.
20299         (sqrt_downward_test_data): Likewise.
20300         (sqrt_test_downward): Likewise.
20301         (sqrt_upward_test_data): Likewise.
20302         (sqrt_test_upward): Likewise.
20303         (tan_test_data): Update call to AUTO_TESTS_f_f.
20304         (tan_test): Use ALL_RM_TEST.
20305         (tan_tonearest_test_data): Remove.
20306         (tan_test_tonearest): Likewise.
20307         (tan_towardzero_test_data): Likewise.
20308         (tan_test_towardzero): Likewise.
20309         (tan_downward_test_data): Likewise.
20310         (tan_test_downward): Likewise.
20311         (tan_upward_test_data): Likewise.
20312         (tan_test_upward): Likewise.
20313         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20314         (tgamma_test_data): Likewise.
20315         (y0_test_data): Likewise.
20316         (y1_test_data): Likewise.
20317         (yn_test_data): Update call to AUTO_TESTS_if_f.
20318         (main): Do not call removed functions.
20320 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20322         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20323         (ldexp_test_data): Remove.
20324         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20325         scalbn_test_data.
20326         (scalb_test): Use ALL_RM_TEST.
20328 2014-03-19  Andreas Schwab  <schwab@suse.de>
20330         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20332 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20334         [BZ #16649]
20335         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20336         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20337         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20339         (__ASSUME_PREADV): Undefine.
20340         (__ASSUME_PWRITEV): Likewise.
20342 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20344         * bits/mman-linux.h: Add comment about non-Linux use.
20345         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20346         bits/mman-linux.h resting place.
20348         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20349         * bits/mman-linux.h: ... here.
20351 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20353         * conform/conformtest.pl: Add standard definition when calling C
20354         preprocessor on data files.
20355         (checknamespace): Remove unused variable.
20357 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20359         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20360         minus_oflow, plus_uflow and minus_uflow in expected results.
20361         * math/libm-test.inc (scalbn_test_data): Add more tests of
20362         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20363         minus_uflow.
20364         (scalbn_test): Use ALL_RM_TEST.
20365         (scalbln_test_data): Add more tests of negative arguments.  Use
20366         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20367         (scalbln_test): Use ALL_RM_TEST.
20369 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20371         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20373 2014-03-18  Will Newton  <will.newton@linaro.org>
20375         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20376         inaccurate comment.
20378 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20380         * Makerules [!subdir] (check-abi): Exit with error status if a
20381         test failed.
20383 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20385         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20386         for rint.  Include results for all rounding modes.
20387         (nearbyint_test): Use ALL_RM_TEST.
20388         (rint_test_data): Include all tests used for nearbyint.
20390 2014-03-17  Will Newton  <will.newton@linaro.org>
20392         * nptl/sysdeps/pthread/pthread.h: Revert previous
20393         change.
20395         * sysdeps/generic/ldsodefs.h: Revert previous
20396         change.
20398         * libio/genops.c: Revert previous change.
20399         * libio/libioP.h: Likewise.
20400         * stdio-common/vfprintf.c: Likewise.
20402         * sysdeps/generic/math_private.h: Revert previous
20403         change.
20405         * sysdeps/generic/math_private.h: Check whether
20406         HAVE_RM_CTX is defined with #ifdef rather
20407         than #if.
20409         * argp/argp-fmtstream.h: Check whether
20410         __STRICT_ANSI__ is defined with #ifdef rather
20411         than #if.
20412         * argp/argp.h: Likewise.
20414         * libio/genops.c: Check whether
20415         _IO_JUMPS_OFFSET is defined with #ifdef rather
20416         than #if.
20417         * libio/libioP.h: Likewise.
20418         * stdio-common/vfprintf.c: Likewise.
20420         * sysdeps/generic/ldsodefs.h: Check whether
20421         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20422         than #if.
20424         * nptl/sysdeps/pthread/pthread.h: Check
20425         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20426         its value.
20428 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20430         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20431         setting O_APPEND.
20432         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20433         test case.
20435         [BZ #16680]
20436         * libio/fileops.c (_IO_file_open): Seek to end of file but
20437         don't cache the offset.
20438         (get_file_offset): Remove function.
20439         (do_ftell): Use cached offset when available.
20440         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20441         don't cache the offset.
20442         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20443         case.
20444         (do_one_test): Call it.
20445         (do_ftell_test): Fix up expected old offset for a+ mode.
20446         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20447         available.
20449         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20450         up test status with function return status.
20451         (do_write_test): Likewise.
20452         (do_append_test): Likewise.
20454         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20455         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20456         Remove.
20458 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20460         * math/gen-libm-test.pl (parse_args): Handle results specified for
20461         each rounding mode separately.
20462         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20463         tests and results from lrint_tonearest_test_data,
20464         lrint_towardzero_test_data, lrint_downward_test_data and
20465         lrint_upward_test_data.
20466         (lrint_test): Use ALL_RM_TEST.
20467         (lrint_tonearest_test_data): Remove.
20468         (lrint_test_tonearest): Likewise.
20469         (lrint_towardzero_test_data): Likewise.
20470         (lrint_test_towardzero): Likewise.
20471         (lrint_downward_test_data): Likewise.
20472         (lrint_test_downward): Likewise.
20473         (lrint_upward_test_data): Likewise.
20474         (lrint_test_upward): Likewise.
20475         (llrint_test_data): Merge in per-rounding-mode tests and results
20476         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20477         llrint_downward_test_data and llrint_upward_test_data.
20478         (llrint_test): Use ALL_RM_TEST.
20479         (llrint_tonearest_test_data): Remove.
20480         (llrint_test_tonearest): Likewise.
20481         (llrint_towardzero_test_data): Likewise.
20482         (llrint_test_towardzero): Likewise.
20483         (llrint_downward_test_data): Likewise.
20484         (llrint_test_downward): Likewise.
20485         (llrint_upward_test_data): Likewise.
20486         (llrint_test_upward): Likewise.
20487         (rint_test_data): Merge in per-rounding-mode tests and results
20488         from rint_tonearest_test_data, rint_towardzero_test_data,
20489         rint_downward_test_data and rint_upward_test_data.  Add
20490         per-rounding-mode results for tests not in those arrays.
20491         (rint_test): Use ALL_RM_TEST.
20492         (rint_tonearest_test_data): Remove.
20493         (rint_test_tonearest): Likewise.
20494         (rint_towardzero_test_data): Likewise.
20495         (rint_test_towardzero): Likewise.
20496         (rint_downward_test_data): Likewise.
20497         (rint_test_downward): Likewise.
20498         (rint_upward_test_data): Likewise.
20499         (rint_test_upward): Likewise.
20500         (main): Don't call removed functions.
20502 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20504         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20505         "Compiled on ..." crapola.  It is anti-useful.
20507 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20509         * scripts/evaluate-test.sh: Handle fourth argument to determine
20510         whether test run should stop on failure.
20511         * Makeconfig (stop-on-test-failure): New variable.
20512         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20513         $(stop-on-test-failure).
20514         * Makefile (tests): Give a summary of results from testing and
20515         exit with failure status if they include an ERROR or FAIL.
20516         (xtests): Likewise.
20517         * manual/install.texi (Configuring and compiling): Mention
20518         stop-on-test-failure=y.
20519         * INSTALL: Regenerated.
20521 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20523         * scripts/versionlist.awk: New file.
20524         * Makerules [$(build-shared) = yes]
20525         (postclean-generated): Add Versions.def, not Versions.def.v and
20526         Versions.def.v.i.
20527         ($(common-objpfx)Versions.def.v.i): Target removed.
20528         ($(common-objpfx)Versions.def): New target.
20529         ($(common-objpfx)Versions.all): Depend on that rather that
20530         $(common-objpfx)Versions.def.v.
20531         * Versions.def: File removed.
20533         * Makeconfig (+gccwarn): Add -Wundef.
20534         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20535         a dl-sysdep.h breaking its contract.
20536         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20537         * include/stackinfo.h: New file.
20538         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20539         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20540         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20541         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20542         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20543         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20544         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20545         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20546         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20547         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20548         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20549         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20550         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20551         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20552         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20554 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20556         [BZ #16707]
20557         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20558         implementation.
20559         * math/libm-test.inc (round_test_data): Add more tests.
20561         [BZ #16706]
20562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20563         implementation.
20564         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20566         [BZ #16701]
20567         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20568         implementation.
20569         * math/libm-test.inc (ceil_test_data): Add more tests.
20571         * math/libm-test.inc (trunc_test_data): Add more tests related to
20572         BZ#16414.
20574 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20576         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20577         with #if rather than #ifdef.
20578         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20580 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20582         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20583         first.  Disable AVX-512 GCC support if assembler doesn't support
20584         it.
20585         * sysdeps/x86_64/configure: Regenerated.
20587 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20589         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20590         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20591         (__old_pthread_attr_setstack): Likewise.
20592         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20593         [!_STACK_GROWS_DOWN]: Likewise.
20595 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20597         * config.make.in (have-bash2): Delete.
20598         * configure.ac (libc_cv_have_bash2): Delete.
20599         * configure: Regenerate.
20600         * elf/Makefile (common-ldd-rewrite): Rename to ...
20601         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20602         (sh-ldd-rewrite): Delete.
20603         (bash-ldd-rewrite): Delete.
20604         (have-bash2): Delete checks.
20605         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20606         ldd-rewrite.
20608         * config.make.in (have-ksh): Delete.
20609         (KSH): Delete.
20610         * configure.ac (libc_cv_have_ksh): Delete.
20611         * configure: Regenerate.
20613         * elf/Makefile: Delete $(have-ksh) check.
20614         ($(objpfx)sotruss): Change KSH to BASH.
20615         * elf/sotruss.ksh: Rename to ...
20616         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20617         function style to match POSIX.  Drop ksh vim mode setting.
20619         * manual/time.texi (Specifying the Time Zone with TZ): Change
20620         Tuesday to Thursday.
20622         * debug/tst-longjmp_chk2.c: Update header comment.
20623         (stackoverflow_handler): Add comment.  Call assert on pass value.
20625 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20627         [BZ #16194]
20628         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20629         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20630         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20631         (La_x86_64_vector): Add zmm.
20632         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20633         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20634         ($(objpfx)tst-audit10): New target.
20635         ($(objpfx)tst-audit10.out): Likewise.
20636         (tst-audit10-ENV): New.
20637         (AVX512-CFLAGS): Likewise.
20638         (CFLAGS-tst-audit10.c): Likewise.
20639         (CFLAGS-tst-auditmod10a.c): Likewise.
20640         (CFLAGS-tst-auditmod10b.c): Likewise.
20641         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20642         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20643         * sysdeps/x86_64/configure: Regenerated.
20644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20645         AVX-512 zmm register support.
20646         (_dl_x86_64_save_sse): Likewise.
20647         (_dl_x86_64_restore_sse): Likewise.
20648         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20649         size vector registers.
20650         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20651         (ZMM_SIZE): Likewise.
20652         * sysdeps/x86_64/tst-audit10.c: New file.
20653         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20654         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20656 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20658         * configure.ac (HAVE_EHDR_START): New check.
20659         * configure: Regenerated.
20660         * config.h.in (HAVE_EHDR_START): New #undef.
20661         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20662         assuming the lowest-addressed segment maps the start of the file.
20664 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20666         * INSTALL: Regenerated.
20668 2014-03-13  Will Newton  <will.newton@linaro.org>
20670         * manual/setjmp.texi (System V contexts): Improve
20671         clarity and grammar of documentation.
20673 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20675         [BZ #16381]
20676         * elf/Makefile (tests): Add tst-pie2.
20677         (tests-pie): Add tst-pie2.
20678         * elf/tst-pie2.c: New file.
20679         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20680         for ET_EXEC.
20681         * elf/rtld.c (map_doit): Load executable as lt_executable.
20682         (dl_main): Likewise.
20684 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20686         [BZ #16642]
20687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20688         (__ASSUME_PSELECT): Undefine.
20690 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20692         [BZ #16689]
20693         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20694         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20695         static build.
20696         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20697         selector for static builds.
20699 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         [BZ #16695]
20702         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20703         key in the buffer.
20705 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20707         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20708         IFUNC selector for static builds.
20710 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20712         * sysdeps/mips/math_private.h [__mips_hard_float]
20713         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20714         libc_feresetround_mips_ctx.
20715         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20716         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20717         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20719         [BZ #16677]
20720         * math/s_nextafter.c (__nextafter): Do not return value from
20721         overflowing computation.
20722         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20723         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20724         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20725         Likewise.
20726         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20727         Likewise.
20728         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20729         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20731 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20733         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20734         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20735         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20736         the new mov targetting sp.
20738 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20740         [BZ #16683]
20741         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20742         Define it for static builds as well.
20743         (NO_BZERO_IMPL): Likewise.
20745 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20747         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20748         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20749         multiarch strspn for PPC64.
20750         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20751         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20753         (__libc_ifunc_impl_list): Likewise.
20754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20755         multiarch optimizations
20756         * string/strspn.c (strspn): Using macro to redefine symbol name.
20758 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20759             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20761         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20762         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20763         multiarch strncat for PPC64.
20764         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20765         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20767         (__libc_ifunc_impl_list): Likewise.
20768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20769         multiarch optimizations
20771 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20773         [BZ #16639]
20774         * nscd/nscd.service: Make service type forking.
20776 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20778         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20779         sign in non default rounding modes.
20780         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20782 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20784         * math/libm-test.inc (ALL_RM_TEST): New macro.
20785         (ceil_test): Use ALL_RM_TEST.
20786         (cimag_test): Likewise.
20787         (conj_test): Likewise.
20788         (copysign_test): Likewise.
20789         (cproj_test): Likewise.
20790         (creal_test): Likewise.
20791         (fabs_test): Likewise.
20792         (floor_test): Likewise.
20793         (fmax_test): Likewise.
20794         (fmin_test): Likewise.
20795         (fmod_test): Likewise.
20796         (fpclassify_test): Likewise.
20797         (frexp_test): Likewise.
20798         (ilogb_test): Likewise.
20799         (isfinite_test): Likewise.
20800         (finite_test): Likewise.
20801         (isgreater_test): Likewise.
20802         (isgreaterequal_test): Likewise.
20803         (isinf_test): Likewise.
20804         (isless_test): Likewise.
20805         (islessequal_test): Likewise.
20806         (islessgreater_test): Likewise.
20807         (isnan_test): Likewise.
20808         (isnormal_test): Likewise.
20809         (issignaling_test): Likewise.
20810         (isunordered_test): Likewise.
20811         (logb_test): Likewise.
20812         (logb_downward_test_data): Remove.
20813         (logb_test_downward): Likewise.
20814         (lround_test): Use ALL_RM_TEST.
20815         (llround_test): Likewise.
20816         (modf_test): Likewise.
20817         (nexttoward_test): Likewise.
20818         (remainder_test): Likewise.
20819         (drem_test): Likewise.
20820         (remainder_tonearest_test_data): Likewise.
20821         (remainder_test_tonearest): Likewise.
20822         (drem_test_tonearest): Likewise.
20823         (remainder_towardzero_test_data): Likewise.
20824         (remainder_test_towardzero): Likewise.
20825         (drem_test_towardzero): Likewise.
20826         (remainder_downward_test_data): Likewise.
20827         (remainder_test_downward): Likewise.
20828         (drem_test_downward): Likewise.
20829         (remainder_upward_test_data): Likewise.
20830         (remainder_test_upward): Likewise.
20831         (drem_test_upward): Likewise.
20832         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20833         (round_test): Use ALL_RM_TEST.
20834         (signbit_test): Likewise.
20835         (trunc_test): Likewise.
20836         (significand_test): Likewise.
20837         (main): Don't call removed functions.
20839 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20841         [BZ #16674]
20842         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20843         || __USE_XOPEN2K8].
20844         (ILL_ILLOPN): Likewise.
20845         (ILL_ILLADR): Likewise.
20846         (ILL_ILLTRP): Likewise.
20847         (ILL_PRVOPC): Likewise.
20848         (ILL_PRVREG): Likewise.
20849         (ILL_COPROC): Likewise.
20850         (ILL_BADSTK): Likewise.
20851         (FPE_INTDIV): Likewise.
20852         (FPE_INTOVF): Likewise.
20853         (FPE_FLTDIV): Likewise.
20854         (FPE_FLTOVF): Likewise.
20855         (FPE_FLTUND): Likewise.
20856         (FPE_FLTRES): Likewise.
20857         (FPE_FLTINV): Likewise.
20858         (FPE_FLTSUB): Likewise.
20859         (SEGV_MAPERR): Likewise.
20860         (SEGV_ACCERR): Likewise.
20861         (BUS_ADRALN): Likewise.
20862         (BUS_ADRERR): Likewise.
20863         (BUS_OBJERR): Likewise.
20864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20865         (TRAP_TRACE): Likewise.
20866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20867         __USE_XOPEN2K8].
20868         (CLD_KILLED): Likewise.
20869         (CLD_DUMPED): Likewise.
20870         (CLD_TRAPPED): Likewise.
20871         (CLD_STOPPED): Likewise.
20872         (CLD_CONTINUED): Likewise.
20873         (POLL_IN): Likewise.
20874         (POLL_OUT): Likewise.
20875         (POLL_MSG): Likewise.
20876         (POLL_ERR): Likewise.
20877         (POLL_PRI): Likewise.
20878         (POLL_HUP): Likewise.
20879         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20880         Likewise.
20881         (ILL_ILLOPN): Likewise.
20882         (ILL_ILLADR): Likewise.
20883         (ILL_ILLTRP): Likewise.
20884         (ILL_PRVOPC): Likewise.
20885         (ILL_PRVREG): Likewise.
20886         (ILL_COPROC): Likewise.
20887         (ILL_BADSTK): Likewise.
20888         (FPE_INTDIV): Likewise.
20889         (FPE_INTOVF): Likewise.
20890         (FPE_FLTDIV): Likewise.
20891         (FPE_FLTOVF): Likewise.
20892         (FPE_FLTUND): Likewise.
20893         (FPE_FLTRES): Likewise.
20894         (FPE_FLTINV): Likewise.
20895         (FPE_FLTSUB): Likewise.
20896         (SEGV_MAPERR): Likewise.
20897         (SEGV_ACCERR): Likewise.
20898         (BUS_ADRALN): Likewise.
20899         (BUS_ADRERR): Likewise.
20900         (BUS_OBJERR): Likewise.
20901         (BUS_MCEERR_AR): Likewise.
20902         (BUS_MCEERR_AO): Likewise.
20903         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20904         (TRAP_TRACE): Likewise.
20905         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20906         __USE_XOPEN2K8].
20907         (CLD_KILLED): Likewise.
20908         (CLD_DUMPED): Likewise.
20909         (CLD_TRAPPED): Likewise.
20910         (CLD_STOPPED): Likewise.
20911         (CLD_CONTINUED): Likewise.
20912         (POLL_IN): Likewise.
20913         (POLL_OUT): Likewise.
20914         (POLL_MSG): Likewise.
20915         (POLL_ERR): Likewise.
20916         (POLL_PRI): Likewise.
20917         (POLL_HUP): Likewise.
20918         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20919         (ILL_ILLOPN): Likewise.
20920         (ILL_ILLADR): Likewise.
20921         (ILL_ILLTRP): Likewise.
20922         (ILL_PRVOPC): Likewise.
20923         (ILL_PRVREG): Likewise.
20924         (ILL_COPROC): Likewise.
20925         (ILL_BADSTK): Likewise.
20926         (FPE_INTDIV): Likewise.
20927         (FPE_INTOVF): Likewise.
20928         (FPE_FLTDIV): Likewise.
20929         (FPE_FLTOVF): Likewise.
20930         (FPE_FLTUND): Likewise.
20931         (FPE_FLTRES): Likewise.
20932         (FPE_FLTINV): Likewise.
20933         (FPE_FLTSUB): Likewise.
20934         (SEGV_MAPERR): Likewise.
20935         (SEGV_ACCERR): Likewise.
20936         (BUS_ADRALN): Likewise.
20937         (BUS_ADRERR): Likewise.
20938         (BUS_OBJERR): Likewise.
20939         (BUS_MCEERR_AR): Likewise.
20940         (BUS_MCEERR_AO): Likewise.
20941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20942         (TRAP_TRACE): Likewise.
20943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20944         __USE_XOPEN2K8].
20945         (CLD_KILLED): Likewise.
20946         (CLD_DUMPED): Likewise.
20947         (CLD_TRAPPED): Likewise.
20948         (CLD_STOPPED): Likewise.
20949         (CLD_CONTINUED): Likewise.
20950         (POLL_IN): Likewise.
20951         (POLL_OUT): Likewise.
20952         (POLL_MSG): Likewise.
20953         (POLL_ERR): Likewise.
20954         (POLL_PRI): Likewise.
20955         (POLL_HUP): Likewise.
20956         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20957         Likewise.
20958         (ILL_ILLOPN): Likewise.
20959         (ILL_ILLADR): Likewise.
20960         (ILL_ILLTRP): Likewise.
20961         (ILL_PRVOPC): Likewise.
20962         (ILL_PRVREG): Likewise.
20963         (ILL_COPROC): Likewise.
20964         (ILL_BADSTK): Likewise.
20965         (ILL_BADIADDR): Likewise.
20966         (ILL_BREAK): Likewise.
20967         (FPE_INTDIV): Likewise.
20968         (FPE_INTOVF): Likewise.
20969         (FPE_FLTDIV): Likewise.
20970         (FPE_FLTOVF): Likewise.
20971         (FPE_FLTUND): Likewise.
20972         (FPE_FLTRES): Likewise.
20973         (FPE_FLTINV): Likewise.
20974         (FPE_FLTSUB): Likewise.
20975         (FPE_DECOVF): Likewise.
20976         (FPE_DECDIV): Likewise.
20977         (FPE_DECERR): Likewise.
20978         (FPE_INVASC): Likewise.
20979         (FPE_INVDEC): Likewise.
20980         (SEGV_MAPERR): Likewise.
20981         (SEGV_ACCERR): Likewise.
20982         (SEGV_PSTKOVF): Likewise.
20983         (BUS_ADRALN): Likewise.
20984         (BUS_ADRERR): Likewise.
20985         (BUS_OBJERR): Likewise.
20986         (BUS_MCEERR_AR): Likewise.
20987         (BUS_MCEERR_AO): Likewise.
20988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20989         (TRAP_TRACE): Likewise.
20990         (TRAP_BRANCH): Likewise.
20991         (TRAP_HWBKPT): Likewise.
20992         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20993         __USE_XOPEN2K8].
20994         (CLD_KILLED): Likewise.
20995         (CLD_DUMPED): Likewise.
20996         (CLD_TRAPPED): Likewise.
20997         (CLD_STOPPED): Likewise.
20998         (CLD_CONTINUED): Likewise.
20999         (POLL_IN): Likewise.
21000         (POLL_OUT): Likewise.
21001         (POLL_MSG): Likewise.
21002         (POLL_ERR): Likewise.
21003         (POLL_PRI): Likewise.
21004         (POLL_HUP): Likewise.
21005         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21006         (ILL_ILLOPN): Likewise.
21007         (ILL_ILLADR): Likewise.
21008         (ILL_ILLTRP): Likewise.
21009         (ILL_PRVOPC): Likewise.
21010         (ILL_PRVREG): Likewise.
21011         (ILL_COPROC): Likewise.
21012         (ILL_BADSTK): Likewise.
21013         (FPE_INTDIV): Likewise.
21014         (FPE_INTOVF): Likewise.
21015         (FPE_FLTDIV): Likewise.
21016         (FPE_FLTOVF): Likewise.
21017         (FPE_FLTUND): Likewise.
21018         (FPE_FLTRES): Likewise.
21019         (FPE_FLTINV): Likewise.
21020         (FPE_FLTSUB): Likewise.
21021         (SEGV_MAPERR): Likewise.
21022         (SEGV_ACCERR): Likewise.
21023         (BUS_ADRALN): Likewise.
21024         (BUS_ADRERR): Likewise.
21025         (BUS_OBJERR): Likewise.
21026         (BUS_MCEERR_AR): Likewise.
21027         (BUS_MCEERR_AO): Likewise.
21028         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21029         (TRAP_TRACE): Likewise.
21030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21031         __USE_XOPEN2K8].
21032         (CLD_KILLED): Likewise.
21033         (CLD_DUMPED): Likewise.
21034         (CLD_TRAPPED): Likewise.
21035         (CLD_STOPPED): Likewise.
21036         (CLD_CONTINUED): Likewise.
21037         (POLL_IN): Likewise.
21038         (POLL_OUT): Likewise.
21039         (POLL_MSG): Likewise.
21040         (POLL_ERR): Likewise.
21041         (POLL_PRI): Likewise.
21042         (POLL_HUP): Likewise.
21043         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21044         (ILL_ILLOPN): Likewise.
21045         (ILL_ILLADR): Likewise.
21046         (ILL_ILLTRP): Likewise.
21047         (ILL_PRVOPC): Likewise.
21048         (ILL_PRVREG): Likewise.
21049         (ILL_COPROC): Likewise.
21050         (ILL_BADSTK): Likewise.
21051         (FPE_INTDIV): Likewise.
21052         (FPE_INTOVF): Likewise.
21053         (FPE_FLTDIV): Likewise.
21054         (FPE_FLTOVF): Likewise.
21055         (FPE_FLTUND): Likewise.
21056         (FPE_FLTRES): Likewise.
21057         (FPE_FLTINV): Likewise.
21058         (FPE_FLTSUB): Likewise.
21059         (SEGV_MAPERR): Likewise.
21060         (SEGV_ACCERR): Likewise.
21061         (BUS_ADRALN): Likewise.
21062         (BUS_ADRERR): Likewise.
21063         (BUS_OBJERR): Likewise.
21064         (BUS_MCEERR_AR): Likewise.
21065         (BUS_MCEERR_AO): Likewise.
21066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21067         (TRAP_TRACE): Likewise.
21068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21069         __USE_XOPEN2K8].
21070         (CLD_KILLED): Likewise.
21071         (CLD_DUMPED): Likewise.
21072         (CLD_TRAPPED): Likewise.
21073         (CLD_STOPPED): Likewise.
21074         (CLD_CONTINUED): Likewise.
21075         (POLL_IN): Likewise.
21076         (POLL_OUT): Likewise.
21077         (POLL_MSG): Likewise.
21078         (POLL_ERR): Likewise.
21079         (POLL_PRI): Likewise.
21080         (POLL_HUP): Likewise.
21081         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21082         (ILL_ILLOPN): Likewise.
21083         (ILL_ILLADR): Likewise.
21084         (ILL_ILLTRP): Likewise.
21085         (ILL_PRVOPC): Likewise.
21086         (ILL_PRVREG): Likewise.
21087         (ILL_COPROC): Likewise.
21088         (ILL_BADSTK): Likewise.
21089         (FPE_INTDIV): Likewise.
21090         (FPE_INTOVF): Likewise.
21091         (FPE_FLTDIV): Likewise.
21092         (FPE_FLTOVF): Likewise.
21093         (FPE_FLTUND): Likewise.
21094         (FPE_FLTRES): Likewise.
21095         (FPE_FLTINV): Likewise.
21096         (FPE_FLTSUB): Likewise.
21097         (SEGV_MAPERR): Likewise.
21098         (SEGV_ACCERR): Likewise.
21099         (BUS_ADRALN): Likewise.
21100         (BUS_ADRERR): Likewise.
21101         (BUS_OBJERR): Likewise.
21102         (BUS_MCEERR_AR): Likewise.
21103         (BUS_MCEERR_AO): Likewise.
21104         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21105         (TRAP_TRACE): Likewise.
21106         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21107         __USE_XOPEN2K8].
21108         (CLD_KILLED): Likewise.
21109         (CLD_DUMPED): Likewise.
21110         (CLD_TRAPPED): Likewise.
21111         (CLD_STOPPED): Likewise.
21112         (CLD_CONTINUED): Likewise.
21113         (POLL_IN): Likewise.
21114         (POLL_OUT): Likewise.
21115         (POLL_MSG): Likewise.
21116         (POLL_ERR): Likewise.
21117         (POLL_PRI): Likewise.
21118         (POLL_HUP): Likewise.
21119         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21120         (ILL_ILLOPN): Likewise.
21121         (ILL_ILLADR): Likewise.
21122         (ILL_ILLTRP): Likewise.
21123         (ILL_PRVOPC): Likewise.
21124         (ILL_PRVREG): Likewise.
21125         (ILL_COPROC): Likewise.
21126         (ILL_BADSTK): Likewise.
21127         (ILL_DBLFLT): Likewise.
21128         (ILL_HARDWALL): Likewise.
21129         (FPE_INTDIV): Likewise.
21130         (FPE_INTOVF): Likewise.
21131         (FPE_FLTDIV): Likewise.
21132         (FPE_FLTOVF): Likewise.
21133         (FPE_FLTUND): Likewise.
21134         (FPE_FLTRES): Likewise.
21135         (FPE_FLTINV): Likewise.
21136         (FPE_FLTSUB): Likewise.
21137         (SEGV_MAPERR): Likewise.
21138         (SEGV_ACCERR): Likewise.
21139         (BUS_ADRALN): Likewise.
21140         (BUS_ADRERR): Likewise.
21141         (BUS_OBJERR): Likewise.
21142         (BUS_MCEERR_AR): Likewise.
21143         (BUS_MCEERR_AO): Likewise.
21144         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21145         (TRAP_TRACE): Likewise.
21146         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21147         __USE_XOPEN2K8].
21148         (CLD_KILLED): Likewise.
21149         (CLD_DUMPED): Likewise.
21150         (CLD_TRAPPED): Likewise.
21151         (CLD_STOPPED): Likewise.
21152         (CLD_CONTINUED): Likewise.
21153         (POLL_IN): Likewise.
21154         (POLL_OUT): Likewise.
21155         (POLL_MSG): Likewise.
21156         (POLL_ERR): Likewise.
21157         (POLL_PRI): Likewise.
21158         (POLL_HUP): Likewise.
21159         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21160         (ILL_ILLOPN): Likewise.
21161         (ILL_ILLADR): Likewise.
21162         (ILL_ILLTRP): Likewise.
21163         (ILL_PRVOPC): Likewise.
21164         (ILL_PRVREG): Likewise.
21165         (ILL_COPROC): Likewise.
21166         (ILL_BADSTK): Likewise.
21167         (FPE_INTDIV): Likewise.
21168         (FPE_INTOVF): Likewise.
21169         (FPE_FLTDIV): Likewise.
21170         (FPE_FLTOVF): Likewise.
21171         (FPE_FLTUND): Likewise.
21172         (FPE_FLTRES): Likewise.
21173         (FPE_FLTINV): Likewise.
21174         (FPE_FLTSUB): Likewise.
21175         (SEGV_MAPERR): Likewise.
21176         (SEGV_ACCERR): Likewise.
21177         (BUS_ADRALN): Likewise.
21178         (BUS_ADRERR): Likewise.
21179         (BUS_OBJERR): Likewise.
21180         (BUS_MCEERR_AR): Likewise.
21181         (BUS_MCEERR_AO): Likewise.
21182         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21183         (TRAP_TRACE): Likewise.
21184         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21185         __USE_XOPEN2K8].
21186         (CLD_KILLED): Likewise.
21187         (CLD_DUMPED): Likewise.
21188         (CLD_TRAPPED): Likewise.
21189         (CLD_STOPPED): Likewise.
21190         (CLD_CONTINUED): Likewise.
21191         (POLL_IN): Likewise.
21192         (POLL_OUT): Likewise.
21193         (POLL_MSG): Likewise.
21194         (POLL_ERR): Likewise.
21195         (POLL_PRI): Likewise.
21196         (POLL_HUP): Likewise.
21197         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21198         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21200         [BZ #16670]
21201         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21202         before #include of <time.h>.
21203         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21204         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21205         (test-xfail-UNIX98/sched.h/conform): Likewise.
21207 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21209         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21210         error absence of trapping exception support.
21211         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21213 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21215         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21216         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21217         * timezone/Makefile (testdata): Move definition above include of
21218         Rules.
21219         (test-zones): New variable.
21220         (tests-special): Add zone files.
21221         (build-testdata): Use $(evaluate-test).
21223         * elf/Makefile (tests-special): Rename tests to end with .out.
21224         ($(objpfx)noload-mem): Likewise.
21225         ($(objpfx)tst-leaks1-mem): Likewise.
21226         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21227         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21228         $(objpfx)test-iconvconfig.out.
21229         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21230         set -e inside subshell and redirect output to file.
21231         * iconvdata/Makefile (generated): Rename tests to end with .out.
21232         Correct type.
21233         (tests-special): Rename tests to end with .out.
21234         ($(objpfx)mtrace-tst-loading): Likewise.
21235         * intl/Makefile (generated): Likewise.
21236         (tests-special): Likewise.
21237         ($(objpfx)mtrace-tst-gettext): Likewise.
21238         * misc/Makefile (generated): Likewise.
21239         (tests-special): Likewise.
21240         ($(objpfx)tst-error1-mem): Likewise.
21241         * nptl/Makefile (tests-special): Likewise.
21242         ($(objpfx)tst-stack3-mem): Likewise.
21243         (generated): Likewise.
21244         * posix/Makefile (generated): Likewise.
21245         (tests-special): Likewise.
21246         (xtests-special): Likewise.
21247         ($(objpfx)tst-fnmatch-mem): Likewise.
21248         ($(objpfx)bug-regex2-mem): Likewise.
21249         ($(objpfx)bug-regex14-mem): Likewise.
21250         ($(objpfx)bug-regex21-mem): Likewise.
21251         ($(objpfx)bug-regex31-mem): Likewise.
21252         ($(objpfx)tst-vfork3-mem): Likewise.
21253         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21254         ($(objpfx)tst-pcre-mem): Likewise.
21255         ($(objpfx)tst-boost-mem): Likewise.
21256         ($(objpfx)bug-ga2-mem): Likewise.
21257         ($(objpfx)bug-glob2-mem): Likewise.
21258         * resolv/Makefile (generate): Likewise.
21259         (tests-special): Likewise.
21260         (xtests-special): Likewise.
21261         (generated): Likewise.
21262         ($(objpfx)mtrace-tst-leaks): Likewise.
21263         ($(objpfx)mtrace-tst-leaks2): Likewise.
21265         * scripts/merge-test-results.sh: New file.
21266         * Makefile (tests-special-notdir): New variable.
21267         (tests): Run merge-test-results.sh.
21268         (xtests): Likewise.
21269         * Rules (tests-special-notdir): New variable.
21270         (xtests-special-notdir): Likewise.
21271         (tests): Run merge-test-results.sh
21272         (xtests): Likewise.
21274         * Makeconfig (test-xfail-name): New variable.
21275         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21276         compute variable name for expected failures.
21277         * conform/Makefile (conformtest-headers-data): New variable.
21278         (conformtest-standards): Likewise.
21279         (conformtest-headers-ISO): Likewise.
21280         (conformtest-headers-ISO99): Likewise.
21281         (conformtest-headers-ISO11): Likewise.
21282         (conformtest-headers-POSIX): Likewise.
21283         (conformtest-headers-XPG3): Likewise.
21284         (conformtest-headers-XPG4): Likewise.
21285         (conformtest-headers-UNIX98): Likewise.
21286         (conformtest-headers-XOPEN2K): Likewise.
21287         (conformtest-headers-POSIX2008): Likewise.
21288         (conformtest-headers-XOPEN2K8): Likewise.
21289         (conformtest-header-list-base): Likewise.
21290         (conformtest-header-list-tests): Likewise.
21291         (conformtest-header-base): Likewise.
21292         (conformtest-header-tests): Likewise.
21293         (tests-special): Add $(conformtest-header-list-tests).  If
21294         [$(fast-check) && !$(cross-compiling)], add
21295         $(conformtest-header-tests) instead of
21296         $(objpfx)run-conformtest.out.
21297         (generated): Add $(conformtest-header-list-base).  If
21298         [$(fast-check) && !$(cross-compiling)], add
21299         $(conformtest-header-base).  Remove previous setting.
21300         ($(conformtest-header-list-tests)): New target.
21301         (test-xfail-run-conformtest): Remove variable.
21302         ($(objpfx)run-conformtest.out): Remove target.
21303         (test-xfail-ISO11/complex.h/conform): New variable.
21304         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21305         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21306         (test-xfail-XPG3/varargs.h/conform): Likewise.
21307         (test-xfail-XPG4/varargs.h/conform): Likewise.
21308         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21309         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21310         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21311         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21312         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21313         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21314         (test-xfail-XPG3/ftw.h/conform): Likewise.
21315         (test-xfail-XPG3/grp.h/conform): Likewise.
21316         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21317         (test-xfail-XPG3/limits.h/conform): Likewise.
21318         (test-xfail-XPG3/pwd.h/conform): Likewise.
21319         (test-xfail-XPG3/search.h/conform): Likewise.
21320         (test-xfail-XPG3/signal.h/conform): Likewise.
21321         (test-xfail-XPG3/stdio.h/conform): Likewise.
21322         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21323         (test-xfail-XPG3/string.h/conform): Likewise.
21324         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21325         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21326         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21327         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21328         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21329         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21330         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21331         (test-xfail-XPG3/termios.h/conform): Likewise.
21332         (test-xfail-XPG3/time.h/conform): Likewise.
21333         (test-xfail-XPG3/unistd.h/conform): Likewise.
21334         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21335         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21336         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21337         (test-xfail-XPG4/netdb.h/conform): Likewise.
21338         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21339         (test-xfail-XPG4/signal.h/conform): Likewise.
21340         (test-xfail-XPG4/stdio.h/conform): Likewise.
21341         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21342         (test-xfail-XPG4/stropts.h/conform): Likewise.
21343         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21344         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21345         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21346         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21347         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21348         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21349         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21350         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21351         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21352         (test-xfail-XPG4/termios.h/conform): Likewise.
21353         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21354         (test-xfail-XPG4/unistd.h/conform): Likewise.
21355         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21356         (test-xfail-POSIX/sched.h/conform): Likewise.
21357         (test-xfail-POSIX/signal.h/conform): Likewise.
21358         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21359         (test-xfail-POSIX/tar.h/conform): Likewise.
21360         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21361         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21362         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21363         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21364         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21365         (test-xfail-UNIX98/sched.h/conform): Likewise.
21366         (test-xfail-UNIX98/signal.h/conform): Likewise.
21367         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21368         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21369         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21370         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21371         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21372         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21373         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21374         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21375         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21376         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21377         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21378         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21379         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21380         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21381         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21382         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21383         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21384         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21385         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21386         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21387         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21388         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21389         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21390         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21391         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21392         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21393         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21394         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21395         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21396         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21397         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21398         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21399         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21400         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21401         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21402         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21403         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21404         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21405         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21406         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21407         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21408         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21409         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21410         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21411         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21412         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21413         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21414         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21415         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21416         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21417         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21418         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21419         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21420         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21421         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21422         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21423         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21424         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21425         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21426         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21427         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21428         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21429         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21430         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21431         (conformtest-cc-flags): Likewise.
21432         ($(conformtest-header-tests): New target.
21433         * conform/check-header-lists.sh: New file.
21434         * conform/run-conformtest.sh: Remove.
21436         * conform/conformtest.pl: Allow ' and \ in values given for
21437         constants.
21438         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21439         inclusion.
21440         [POSIX] (sys/types.h): Likewise.
21441         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21442         inclusion.
21443         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21444         inclusion.
21445         * conform/data/signal.h-data (SIGIO): Remove expectation.
21446         [XPG3] (SIGBUS): Do not expect.
21447         [POSIX || XPG3] (SIGPOLL): Likewise.
21448         [POSIX || XPG3] (SIGPROF): Likewise.
21449         [POSIX || XPG3] (SIGSYS): Likewise.
21450         [XPG3] (SIGTRAP): Likewise.
21451         [POSIX || XPG3] (SIGURG): Likewise.
21452         [POSIX || XPG3] (SIGVTALRM): Likewise.
21453         [POSIX || XPG3] (SIGXCPU): Likewise.
21454         [POSIX || XPG3] (SIGXFSZ): Likewise.
21455         [POSIX] (SA_SIGINFO): Expect.
21456         [XPG3] (siginfo_t): Do not expect type or contents.
21457         [POSIX] (si_pid): Do not expect element.
21458         [POSIX] (si_uid): Likewise.
21459         [POSIX] (si_addr): Likewise.
21460         [POSIX] (si_status): Likewise.
21461         [POSIX] (si_band): Likewise.
21462         [XPG4] (si_value): Likewise.
21463         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21464         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21465         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21466         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21467         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21468         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21469         [POSIX || XPG3] (ILL_COPROC): Likewise.
21470         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21471         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21472         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21473         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21474         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21475         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21476         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21477         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21478         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21479         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21480         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21481         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21482         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21483         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21484         [POSIX || XPG3] (CLD_EXITED): Likewise.
21485         [POSIX || XPG3] (CLD_KILLED): Likewise.
21486         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21487         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21488         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21489         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21490         [POSIX || XPG3] (POLL_IN): Likewise.
21491         [POSIX || XPG3] (POLL_OUT): Likewise.
21492         [POSIX || XPG3] (POLL_MSG): Likewise.
21493         [POSIX || XPG3] (POLL_ERR): Likewise.
21494         [POSIX || XPG3] (POLL_PRI): Likewise.
21495         [POSIX || XPG3] (POLL_HUP): Likewise.
21496         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21497         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21498         (SIG*): Do not allow.
21499         [XPG3] (si_*): Likewise.
21500         [XPG3] (SI_*): Likewise.
21501         [XPG3 || XPG4] (sigev_*): Likewise.
21502         [XPG3 || XPG4] (SIGEV_*): Likewise.
21503         [XPG3 || XPG4] (sival_*): Likewise.
21504         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21505         [POSIX || XPG3] (BUS_*): Likewise.
21506         [POSIX || XPG3] (CLD_*): Likewise.
21507         [POSIX || XPG3] (FPE_*): Likewise.
21508         [POSIX || XPG3] (ILL_*): Likewise.
21509         [POSIX || XPG3] (POLL_*): Likewise.
21510         [POSIX || XPG3] (SEGV_*): Likewise.
21511         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21512         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21513         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21514         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21515         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21516         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21517         Specify type and value.
21518         (TVERSLEN): Likewise.
21519         (REGTYPE): Likewise.
21520         (AREGTYPE): Likewise.
21521         (LNKTYPE): Likewise.
21522         (SYMTYPE): Likewise.
21523         (CHRTYPE): Likewise.
21524         (BLKTYPE): Likewise.
21525         (DIRTYPE): Likewise.
21526         (FIFOTYPE): Likewise.
21527         (CONTTYPE): Likewise.
21528         (TSUID): Likewise.
21529         (TSGID): Likewise.
21530         (TSVTX): Likewise.
21531         (TUREAD): Likewise.
21532         (TUWRITE): Likewise.
21533         (TUEXEC): Likewise.
21534         (TGREAD): Likewise.
21535         (TGWRITE): Likewise.
21536         (TGEXEC): Likewise.
21537         (TOREAD): Likewise.
21538         (TOWRITE): Likewise.
21539         (TOEXEC): Likewise.
21540         [POSIX] (TSVTX): Expect constant.
21542 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21544         * Makefile (tests): Change dependencies to ....
21545         (tests-special): ... additions to this variable.
21546         (tests): Depend on $(tests-special).
21547         * Makerules (check-abi-list): New variable.
21548         (check-abi): Depend on $(check-abi-list).
21549         [$(subdir) = elf] (tests-special): Add
21550         $(objpfx)check-abi-libc.out.
21551         [$(build-shared) = yes && subdir] (tests-special): Add
21552         $(check-abi-list).
21553         [$(build-shared) = yes && subdir] (tests): Do not depend on
21554         check-abi.
21555         * Rules (tests): Depend on $(tests-special).
21556         (xtests): Depend on $(xtests-special).
21557         * catgets/Makefile (tests): Change dependencies to ....
21558         (tests-special): ... additions to this variable.
21559         * conform/Makefile (tests): Change dependencies to ....
21560         (tests-special): ... additions to this variable.
21561         * elf/Makefile (tests): Change dependencies to ....
21562         (tests-special): ... additions to this variable.
21563         * grp/Makefile (tests): Change dependencies to ....
21564         (tests-special): ... additions to this variable.
21565         * iconv/Makefile (xtests): Change dependencies to ....
21566         (xtests-special): ... additions to this variable.
21567         * iconvdata/Makefile (tests): Change dependencies to ....
21568         (tests-special): ... additions to this variable.
21569         * intl/Makefile (tests): Change dependencies to ....
21570         (tests-special): ... additions to this variable.  Also add
21571         $(objpfx)tst-gettext.out.
21572         * io/Makefile (tests): Change dependencies to ....
21573         (tests-special): ... additions to this variable.
21574         * libio/Makefile (tests): Change dependencies to ....
21575         (tests-special): ... additions to this variable.
21576         * malloc/Makefile (tests): Change dependencies to ....
21577         (tests-special): ... additions to this variable.
21578         * misc/Makefile (tests): Change dependencies to ....
21579         (tests-special): ... additions to this variable.
21580         * nptl/Makefile (tests): Change dependencies to ....
21581         (tests-special): ... additions to this variable.
21582         * nptl_db/Makefile (tests): Change dependencies to ....
21583         (tests-special): ... additions to this variable.
21584         * posix/Makefile (tests): Change dependencies to ....
21585         (tests-special): ... additions to this variable.
21586         (xtests): Change dependencies to ....
21587         (xtests-special): ... additions to this variable.
21588         * resolv/Makefile (tests): Change dependencies to ....
21589         (tests-special): ... additions to this variable.
21590         (xtests): Change dependencies to ....
21591         (xtests-special): ... additions to this variable.
21592         * stdio-common/Makefile (tests): Change dependencies to ....
21593         (tests-special): ... additions to this variable.
21594         (do-tst-unbputc): Remove target.
21595         (do-tst-printf): Likewise.
21596         * stdlib/Makefile (tests): Change dependencies to ....
21597         (tests-special): ... additions to this variable.
21598         * string/Makefile (tests): Change dependencies to ....
21599         (tests-special): ... additions to this variable.
21600         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21601         (tests-special): ... additions to this variable.
21603         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21604         whole file.
21605         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21606         whole file.
21607         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21608         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21610         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21611         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21612         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21613         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21614         * conform/data/libgen.h-data [XPG3]: Likewise.
21615         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21616         * conform/data/ndbm.h-data [XPG3]: Likewise.
21617         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21618         * conform/data/netdb.h-data [XPG3]: Likewise.
21619         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21620         * conform/data/poll.h-data [XPG3]: Likewise.
21621         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21622         * conform/data/strings.h-data [XPG3]: Likewise.
21623         * conform/data/stropts.h-data [XPG3]: Likewise.
21624         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21625         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21626         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21627         Likewise.
21628         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21629         * conform/data/sys/time.h-data [XPG3]: Likewise.
21630         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21631         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21632         * conform/data/sys/un.h-data [XPG3]: Likewise.
21633         * conform/data/syslog.h-data [XPG3]: Likewise.
21634         * conform/data/ucontext.h-data [XPG3]: Likewise.
21635         * conform/data/utmpx.h-data [XPG3]: Likewise.
21636         * conform/data/varargs.h-data [UNIX98]: Enable file.
21638         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21640         * math/libm-test.inc (struct test_f_f_data): Move expected results
21641         into structure for each rounding mode.
21642         (struct test_ff_f_data): Likewise.
21643         (struct test_ff_f_data_nexttoward): Likewise.
21644         (struct test_fi_f_data): Likewise.
21645         (struct test_fl_f_data): Likewise.
21646         (struct test_if_f_data): Likewise.
21647         (struct test_fff_f_data): Likewise.
21648         (struct test_c_f_data): Likewise.
21649         (struct test_f_f1_data): Likewise.
21650         (struct test_fF_f1_data): Likewise.
21651         (struct test_ffI_f1_data): Likewise.
21652         (struct test_c_c_data): Likewise.
21653         (struct test_cc_c_data): Likewise.
21654         (struct test_f_i_data): Likewise.
21655         (struct test_ff_i_data): Likewise.
21656         (struct test_f_l_data): Likewise.
21657         (struct test_f_L_data): Likewise.
21658         (struct test_fFF_11_data): Likewise.
21659         (RM_): New macro.
21660         (RM_FE_DOWNWARD): Likewise.
21661         (RM_FE_TONEAREST): Likewise.
21662         (RM_FE_TOWARDZERO): Likewise.
21663         (RM_FE_UPWARD): Likewise.
21664         (RUN_TEST_LOOP_f_f): Update references to expected results.
21665         (RUN_TEST_LOOP_2_f): Likewise.
21666         (RUN_TEST_LOOP_fff_f): Likewise.
21667         (RUN_TEST_LOOP_c_f): Likewise.
21668         (RUN_TEST_LOOP_f_f1): Likewise.
21669         (RUN_TEST_LOOP_fF_f1): Likewise.
21670         (RUN_TEST_LOOP_fI_f1): Likewise.
21671         (RUN_TEST_LOOP_ffI_f1): Likewise.
21672         (RUN_TEST_LOOP_c_c): Likewise.
21673         (RUN_TEST_LOOP_cc_c): Likewise.
21674         (RUN_TEST_LOOP_f_i): Likewise.
21675         (RUN_TEST_LOOP_f_i_tg): Likewise.
21676         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21677         (RUN_TEST_LOOP_f_b): Likewise.
21678         (RUN_TEST_LOOP_f_b_tg): Likewise.
21679         (RUN_TEST_LOOP_f_l): Likewise.
21680         (RUN_TEST_LOOP_f_L): Likewise.
21681         (RUN_TEST_LOOP_fFF_11): Likewise.
21682         * math/gen-libm-test.pl (parse_args): Output four copies of
21683         expected results for each test.
21685         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21686         (__ASSUME_UTIMES): Remove.
21687         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21688         (__ASSUME_UTIMES): Likewise.
21690         * math/gen-auto-libm-tests.c: Update comment on output format.
21691         (output_for_one_input_case): Generate before-rounding and
21692         after-rounding information as conditions on output flags not
21693         floating-point format.
21694         * math/auto-libm-test-out: Regenerated.
21695         * math/gen-libm-test.pl (cond_value): New function.
21696         (or_cond_value): Use cond_value.
21697         (generate_testfile): Handle conditional exceptions.
21699 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21701         * math/libm-test.inc (max_valid_error): New variable.
21702         (init_max_error): Take new argument specifying whether function
21703         results are exactly determined.  Set max_valid_error and bound
21704         other variables for errors based on this argument.
21705         (set_max_error): Do not record results above max_valid_error.
21706         (check_float_internal): Only accept errors of up to 0.5ulps if
21707         also at most max_valid_error.
21708         (START): Take new argument EXACT and pass it to init_max_error.
21709         (acos_test): Update call to START.
21710         (acos_test_tonearest): Likewise.
21711         (acos_test_towardzero): Likewise.
21712         (acos_test_downward): Likewise.
21713         (acos_test_upward): Likewise.
21714         (acosh_test): Likewise.
21715         (asin_test): Likewise.
21716         (asin_test_tonearest): Likewise.
21717         (asin_test_towardzero): Likewise.
21718         (asin_test_downward): Likewise.
21719         (asin_test_upward): Likewise.
21720         (asinh_test): Likewise.
21721         (atan_test): Likewise.
21722         (atanh_test): Likewise.
21723         (atan2_test): Likewise.
21724         (cabs_test): Likewise.
21725         (cacos_test): Likewise.
21726         (cacosh_test): Likewise.
21727         (carg_test): Likewise.
21728         (casin_test): Likewise.
21729         (casinh_test): Likewise.
21730         (catan_test): Likewise.
21731         (catanh_test): Likewise.
21732         (cbrt_test): Likewise.
21733         (ccos_test): Likewise.
21734         (ccosh_test): Likewise.
21735         (ceil_test): Likewise.
21736         (cexp_test): Likewise.
21737         (cimag_test): Likewise.
21738         (clog_test): Likewise.
21739         (clog10_test): Likewise.
21740         (conj_test): Likewise.
21741         (copysign_test): Likewise.
21742         (cos_test): Likewise.
21743         (cos_test_tonearest): Likewise.
21744         (cos_test_towardzero): Likewise.
21745         (cos_test_downward): Likewise.
21746         (cos_test_upward): Likewise.
21747         (cosh_test): Likewise.
21748         (cosh_test_tonearest): Likewise.
21749         (cosh_test_towardzero): Likewise.
21750         (cosh_test_downward): Likewise.
21751         (cosh_test_upward): Likewise.
21752         (cpow_test): Likewise.
21753         (cproj_test): Likewise.
21754         (creal_test): Likewise.
21755         (csin_test): Likewise.
21756         (csinh_test): Likewise.
21757         (csqrt_test): Likewise.
21758         (ctan_test): Likewise.
21759         (ctan_test_tonearest): Likewise.
21760         (ctan_test_towardzero): Likewise.
21761         (ctan_test_downward): Likewise.
21762         (ctan_test_upward): Likewise.
21763         (ctanh_test): Likewise.
21764         (ctanh_test_tonearest): Likewise.
21765         (ctanh_test_towardzero): Likewise.
21766         (ctanh_test_downward): Likewise.
21767         (ctanh_test_upward): Likewise.
21768         (erf_test): Likewise.
21769         (erfc_test): Likewise.
21770         (exp_test): Likewise.
21771         (exp_test_tonearest): Likewise.
21772         (exp_test_towardzero): Likewise.
21773         (exp_test_downward): Likewise.
21774         (exp_test_upward): Likewise.
21775         (exp10_test): Likewise.
21776         (exp10_test_tonearest): Likewise.
21777         (exp10_test_towardzero): Likewise.
21778         (exp10_test_downward): Likewise.
21779         (exp10_test_upward): Likewise.
21780         (pow10_test): Likewise.
21781         (exp2_test): Likewise.
21782         (expm1_test): Likewise.
21783         (expm1_test_tonearest): Likewise.
21784         (expm1_test_towardzero): Likewise.
21785         (expm1_test_downward): Likewise.
21786         (expm1_test_upward): Likewise.
21787         (fabs_test): Likewise.
21788         (fdim_test): Likewise.
21789         (floor_test): Likewise.
21790         (fma_test): Likewise.
21791         (fma_test_towardzero): Likewise.
21792         (fma_test_downward): Likewise.
21793         (fma_test_upward): Likewise.
21794         (fmax_test): Likewise.
21795         (fmin_test): Likewise.
21796         (fmod_test): Likewise.
21797         (fpclassify_test): Likewise.
21798         (frexp_test): Likewise.
21799         (hypot_test): Likewise.
21800         (ilogb_test): Likewise.
21801         (isfinite_test): Likewise.
21802         (finite_test): Likewise.
21803         (isgreater_test): Likewise.
21804         (isgreaterequal_test): Likewise.
21805         (isinf_test): Likewise.
21806         (isless_test): Likewise.
21807         (islessequal_test): Likewise.
21808         (islessgreater_test): Likewise.
21809         (isnan_test): Likewise.
21810         (isnormal_test): Likewise.
21811         (issignaling_test): Likewise.
21812         (isunordered_test): Likewise.
21813         (j0_test): Likewise.
21814         (j1_test): Likewise.
21815         (jn_test): Likewise.
21816         (ldexp_test): Likewise.
21817         (lgamma_test): Likewise.
21818         (gamma_test): Likewise.
21819         (lrint_test): Likewise.
21820         (lrint_test_tonearest): Likewise.
21821         (lrint_test_towardzero): Likewise.
21822         (lrint_test_downward): Likewise.
21823         (lrint_test_upward): Likewise.
21824         (llrint_test): Likewise.
21825         (llrint_test_tonearest): Likewise.
21826         (llrint_test_towardzero): Likewise.
21827         (llrint_test_downward): Likewise.
21828         (llrint_test_upward): Likewise.
21829         (log_test): Likewise.
21830         (log10_test): Likewise.
21831         (log1p_test): Likewise.
21832         (log2_test): Likewise.
21833         (logb_test): Likewise.
21834         (logb_test_downward): Likewise.
21835         (lround_test): Likewise.
21836         (llround_test): Likewise.
21837         (modf_test): Likewise.
21838         (nearbyint_test): Likewise.
21839         (nextafter_test): Likewise.
21840         (nexttoward_test): Likewise.
21841         (pow_test): Likewise.
21842         (pow_test_tonearest): Likewise.
21843         (pow_test_towardzero): Likewise.
21844         (pow_test_downward): Likewise.
21845         (pow_test_upward): Likewise.
21846         (remainder_test): Likewise.
21847         (drem_test): Likewise.
21848         (remainder_test_tonearest): Likewise.
21849         (drem_test_tonearest): Likewise.
21850         (remainder_test_towardzero): Likewise.
21851         (drem_test_towardzero): Likewise.
21852         (remainder_test_downward): Likewise.
21853         (drem_test_downward): Likewise.
21854         (remainder_test_upward): Likewise.
21855         (drem_test_upward): Likewise.
21856         (remquo_test): Likewise.
21857         (rint_test): Likewise.
21858         (rint_test_tonearest): Likewise.
21859         (rint_test_towardzero): Likewise.
21860         (rint_test_downward): Likewise.
21861         (rint_test_upward): Likewise.
21862         (round_test): Likewise.
21863         (scalb_test): Likewise.
21864         (scalbn_test): Likewise.
21865         (scalbln_test): Likewise.
21866         (signbit_test): Likewise.
21867         (sin_test): Likewise.
21868         (sin_test_tonearest): Likewise.
21869         (sin_test_towardzero): Likewise.
21870         (sin_test_downward): Likewise.
21871         (sin_test_upward): Likewise.
21872         (sincos_test): Likewise.
21873         (sinh_test): Likewise.
21874         (sinh_test_tonearest): Likewise.
21875         (sinh_test_towardzero): Likewise.
21876         (sinh_test_downward): Likewise.
21877         (sinh_test_upward): Likewise.
21878         (sqrt_test): Likewise.
21879         (sqrt_test_tonearest): Likewise.
21880         (sqrt_test_towardzero): Likewise.
21881         (sqrt_test_downward): Likewise.
21882         (sqrt_test_upward): Likewise.
21883         (tan_test): Likewise.
21884         (tan_test_tonearest): Likewise.
21885         (tan_test_towardzero): Likewise.
21886         (tan_test_downward): Likewise.
21887         (tan_test_upward): Likewise.
21888         (tanh_test): Likewise.
21889         (tgamma_test): Likewise.
21890         (trunc_test): Likewise.
21891         (y0_test): Likewise.
21892         (y1_test): Likewise.
21893         (yn_test): Likewise.
21894         (significand_test): Likewise.
21896         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21897         individual tests in comment.
21898         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21899         (prev_max_error): New variable.
21900         (prev_real_max_error): Likewise.
21901         (prev_imag_max_error): Likewise.
21902         (compare_ulp_data): Don't refer to test names in comment.
21903         (find_test_ulps): Remove function.
21904         (find_function_ulps): Likewise.
21905         (find_complex_function_ulps): Likewise.
21906         (init_max_error): Take function name as argument.  Look up ulps
21907         for that function.
21908         (print_ulps): Remove function.
21909         (print_max_error): Use prev_max_error instead of calling
21910         find_function_ulps.
21911         (print_complex_max_error): Use prev_real_max_error and
21912         prev_imag_max_error instead of calling find_complex_function_ulps.
21913         (check_float_internal): Take max_ulp parameter instead of calling
21914         find_test_ulps.  Don't call print_ulps.
21915         (check_float): Update call to check_float_internal.
21916         (check_complex): Update calls to check_float_internal.
21917         (START): Pass argument to init_max_error.
21918         * math/gen-libm-test.pl (%results): Don't include "kind"
21919         information.
21920         (parse_ulps): Don't handle ulps of individual tests.
21921         (print_ulps_file): Likewise.
21922         (output_ulps): Likewise.
21923         * math/README.libm-test: Update.
21924         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21925         individual tests.
21926         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21927         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21928         * sysdeps/arm/libm-test-ulps: Likewise.
21929         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21930         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21931         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21932         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21933         * sysdeps/microblaze/libm-test-ulps: Likewise.
21934         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21935         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21936         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21937         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21938         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21939         * sysdeps/sh/libm-test-ulps: Likewise.
21940         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21941         * sysdeps/tile/libm-test-ulps: Likewise.
21942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21944 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21946         * math/libm-test.inc (print_complex_max_error): Check separately
21947         whether real and imaginary errors are within allowed range and
21948         pass 0 to print_complex_function_ulps instead of value within
21949         allowed range.
21951 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21953         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21954         formatting.
21955         (get_handles_fopen): Likewise.
21956         (do_write_test): Likewise.
21958         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21960         * libio/fileops.c (do_ftell): Use cached offset when
21961         available.
21962         * libio/iofwide.c (do_ftell_wide): Likewise.
21963         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21964         _IO_file_attach.
21965         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21967         [BZ #16532]
21968         * libio/libioP.h (get_file_offset): New function.
21969         * libio/fileops.c (get_file_offset): Likewise.
21970         (do_ftell): Likewise.
21971         (_IO_new_file_seekoff): Split out ftell logic.
21972         * libio/wfileops.c (do_ftell_wide): Likewise.
21973         (_IO_wfile_seekoff): Split out ftell logic.
21974         * libio/tst-ftell-active-handler.c: New test case.
21975         * libio/Makefile (tests): Add it.
21977 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21979         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21980         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21982 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21984         [BZ #16639]
21985         * nscd/connections.c (nscd_init): Call do_exit.
21986         (start_threads): Call do_exit and notify_parent.
21987         (begin_drop_privileges): Call do_exit.
21988         (finish_drop_privileges): Likewise.
21989         * nscd/selinux.c (preserve_capabilities): Likewise.
21990         (install_real_capabilities): Likewise.
21991         (nscd_selinux_enabled): Likewise.
21992         (avc_create_thread): Likewise.
21993         (avc_alloc_lock): Likewise.
21994         (nscd_avc_init): Likewise.
21995         * nscd/nscd.c (parent_fd): New static variable.
21996         (main): Create a pipe between parent and child processes.
21997         Skip closing parent_fd.
21998         (monitor_child): New function.
21999         (do_exit): Likewise.
22000         (notify_parent): Likewise.
22001         * nscd/nscd.h (notify_parent): Likewise.
22002         (do_exit): Likewise.
22004 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22006         * malloc/malloc.c (__libc_calloc): Revert last change.
22008 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22012 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22014         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22016         implementation.
22017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22018         (__libc_ifunc_impl_list): Likewise.
22019         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22020         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22021         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22022         * string/strrchr.c: Define STRRCHR.
22024 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22026         * benchtest/bench-strtok.c (simple_strtok): Delete.
22027         (strtok_string): Use as benchmark.
22028         * string/strtok (STRTOK): New macro.
22030 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22032         * manual/threads.texi: Add header and standard comments to all
22033         functions.
22035         * elf/dl-lookup.c (check_match): New function.
22036         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22037         (do_lookup_x): Remove nested function check_match. Use non-nested
22038         function check_match.
22040 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22042         * csu/Makefile (generated, before-compile): Use += rather than =.
22043         * catgets/Makefile (generated, generated-dirs): Likewise.
22044         * debug/Makefile (generated): Likewise.
22045         * dlfcn/Makefile (generated): Likewise.
22046         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22047         * iconvdata/Makefile (before-compile, generated): Likewise.
22048         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22049         * libio/Makefile (generated): Likewise.
22050         * malloc/Makefile (generated): Likewise.
22051         * manual/Makefile (generated, generated-dirs): Likewise.
22052         * misc/Makefile (generated): Likewise.
22053         * posix/Makefile (generated): Likewise.
22054         * resolv/Makefile (generated): Likewise.
22055         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22056         * timezone/Makefile (generated, generated-dirs): Likewise.
22058         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22060 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22063         power8 implementation.
22064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22065         file: POWER8 llround ifunc implementation.
22066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22067         (__lllround): Add POWER8 implementation.
22068         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22069         POWER8 llround implementation.
22071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22072         power8 implementation.
22073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22074         file: POWER8 llrint ifunc implementation.
22075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22076         Add POWER8 implementation.
22077         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22078         POWER8 llrint implementation.
22080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22081         power8 implementation.
22082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22083         file: POWER8 finite ifunc implementation.
22084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22085         Add POWER8 implementation.
22086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22087         Likewise.
22088         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22089         POWER8 finite implementation.
22090         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22093         power8 implementation.
22094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22095         file: POWER8 isinf ifunc implementation.
22096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22097         POWER8 implementation.
22098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22099         Likewise.
22100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22101         isinf implementation.
22102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22104         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22105         (INIT_ARCH): Add hwcap2 initialization.
22106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22107         power8 implementation.
22108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22109         file: POWER8 isnan ifunc implementation.
22110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22111         POWER8 implementation.
22112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22113         Likewise.
22114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22115         isnan implementation.
22116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22118 2014-02-27  Joey Ye  <joey.ye@arm.com>
22120         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22121         (_FP_NANFRAC_Q): Set to zero.
22123 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22125         [BZ #16623]
22126         * math/auto-libm-test-in: New test inputs.
22127         * math/auto-libm-test-out: Regenerate.
22128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22129         and DA.
22130         (__cos): Likewise.
22131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22133 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22135         * scripts/evaluate-test.sh: Take new argument indicating whether
22136         failure is expected.
22137         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22138         indicating whether failure is expected.
22139         * conform/Makefile (test-xfail-run-conformtest): New variable.
22140         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22141         level.
22142         * posix/Makefile (test-xfail-annexc): New variable.
22143         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22145 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22147         * argp/Makefile: Include Makeconfig immediately after defining
22148         subdir.
22149         * assert/Makefile: Likewise.
22150         * benchtests/Makefile: Likewise.
22151         * catgets/Makefile: Likewise.
22152         * conform/Makefile: Likewise.
22153         * crypt/Makefile: Likewise.
22154         * csu/Makefile: Likewise.
22155         (all): Remove target.
22156         * ctype/Makefile: Include Makeconfig immediately after defining
22157         subdir.
22158         * debug/Makefile: Likewise.
22159         * dirent/Makefile: Likewise.
22160         * dlfcn/Makefile: Likewise.
22161         * gmon/Makefile: Likewise.
22162         * gnulib/Makefile: Likewise.
22163         * grp/Makefile: Likewise.
22164         * gshadow/Makefile: Likewise.
22165         * hesiod/Makefile: Likewise.
22166         * hurd/Makefile: Likewise.
22167         (all): Remove target.
22168         * iconvdata/Makefile: Include Makeconfig immediately after
22169         defining subdir.
22170         * inet/Makefile: Likewise.
22171         * intl/Makefile: Likewise.
22172         * io/Makefile: Likewise.
22173         * libio/Makefile: Likewise.
22174         (all): Remove target.
22175         * locale/Makefile: Include Makeconfig immediately after defining
22176         subdir.
22177         * login/Makefile: Likewise.
22178         * mach/Makefile: Likewise.
22179         (all): Remove target.
22180         * malloc/Makefile: Include Makeconfig immediately after defining
22181         subdir.
22182         (all): Remove target.
22183         * manual/Makefile: Include Makeconfig immediately after defining
22184         subdir.
22185         * math/Makefile: Likewise.
22186         * misc/Makefile: Likewise.
22187         * nis/Makefile: Likewise.
22188         * nss/Makefile: Likewise.
22189         * po/Makefile: Likewise.
22190         (all): Remove target.
22191         * posix/Makefile: Include Makeconfig immediately after defining
22192         subdir.
22193         * pwd/Makefile: Likewise.
22194         * resolv/Makefile: Likewise.
22195         * resource/Makefile: Likewise.
22196         * rt/Makefile: Likewise.
22197         * setjmp/Makefile: Likewise.
22198         * shadow/Makefile: Likewise.
22199         * signal/Makefile: Likewise.
22200         * socket/Makefile: Likewise.
22201         * soft-fp/Makefile: Likewise.
22202         * stdio-common/Makefile: Likewise.
22203         * stdlib/Makefile: Likewise.
22204         * streams/Makefile: Likewise.
22205         * string/Makefile: Likewise.
22206         * sunrpc/Makefile: Likewise.
22207         (all): Remove target.
22208         * sysvipc/Makefile: Include Makeconfig immediately after defining
22209         subdir.
22210         * termios/Makefile: Likewise.
22211         * time/Makefile: Likewise.
22212         * timezone/Makefile: Likewise.
22213         (all): Remove target.
22214         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22215         subdir.
22216         * wctype/Makefile: Likewise.
22218 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22220         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22221         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22222         (libc_feholdexcept_setround_mips): Ditto.
22223         (libc_feholdsetround): New.
22224         (libc_feholdsetroundf): New.
22225         (libc_feholdsetroundl): New.
22226         (libc_feupdateenv_test_mips): New.
22227         (libc_feupdateenv_test): New.
22228         (libc_feupdateenv_testf): New.
22229         (libc_feupdateenv_testl): New.
22230         (libc_feresetround): New.
22231         (libc_feresetroundf): New.
22232         (libc_feresetroundl): New.
22233         (libc_fetestexcept_mips): New.
22234         (libc_fetestexcept): New.
22235         (libc_fetestexceptf): New.
22236         (libc_fetestexceptl): New.
22237         (HAVE_RM_CTX): New.
22238         (libc_feholdexcept_setround_mips_ctx): New.
22239         (libc_feholdexcept_setround_ctx): New.
22240         (libc_feholdexcept_setroundf_ctx): New.
22241         (libc_feholdexcept_setroundl_ctx): New.
22242         (libc_fesetenv_mips_ctx): New.
22243         (libc_fesetenv_ctx): New.
22244         (libc_fesetenv_ctxf): New.
22245         (libc_fesetenv_ctxl): New.
22246         (libc_feupdateenv_mips_ctx): New.
22247         (libc_feupdateenv_ctx): New.
22248         (libc_feupdateenvf_ctx): New.
22249         (libc_feupdateenvl_ctx): New.
22250         (libc_feholdsetround_mips_ctx): New.
22251         (libc_feholdsetround_ctx): New.
22252         (libc_feholdsetroundf_ctx): New.
22253         (libc_feholdsetroundl_ctx): New.
22254         (libc_feresetround_mips_ctx): New.
22255         (libc_feresetround_ctx): New.
22256         (libc_feresetroundf_ctx): New.
22257         (libc_feresetroundl_ctx): New.
22259 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22261         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22263         * manual/ipc.texi: New file.
22264         * manual/Makefile (chapters): Add ipc.
22265         * manual/job.texi: Add "Inter-Process Communication" to next.
22266         * manual/process.texi: Add "Inter-Process Communication" to prev.
22268 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22272 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22274         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22276         * manual/arith.texi: Fix spaces after sentences.
22277         * manual/charset.texi: Likewise.
22278         * manual/errno.texi: Likewise.
22279         * manual/install.texi: Likewise.
22280         * manual/llio.texi: Likewise.
22281         * manual/locale.texi: Likewise.
22282         * manual/maint.texi: Likewise.
22283         * manual/math.texi: Likewise.
22284         * manual/memory.texi: Likewise.
22285         * manual/message.texi: Likewise.
22286         * manual/probes.texi: Likewise.
22287         * manual/resource.texi: Likewise.
22288         * manual/signal.texi: Likewise.
22289         * manual/socket.texi: Likewise.
22290         * manual/stdio.texi: Likewise.
22291         * manual/string.texi: Likewise.
22292         * manual/time.texi: Likewise.
22293         * manual/users.texi: Likewise.
22295 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22297         [BZ #16632]
22298         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22299         _DEFAULT_SOURCE is defined.
22301 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22302             Carlos O'Donell  <carlos@redhat.com>
22304         [BZ #16613]
22305         * elf/dl-tls.c (_dl_count_modids): New function.
22306         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22307         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22308         audit library and increment generation counter.
22309         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22310         * elf/tst-audit9.c: New file.
22311         * elf/tst-auditmod9a.c: New file.
22312         * elf/tst-auditmod9b.c: New file.
22313         * elf/Makefile: Add rules to build and run tst-audit9.
22315 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22317         [BZ #15347]
22318         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22320 2014-02-25  Will Newton  <will.newton@linaro.org>
22322         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22323         (__longjmp): Restore sp and lr before restoring callee
22324         saved registers.  Add longjmp and longjmp_target
22325         SystemTap probe point.
22326         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22327         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22328         Define to zero to match jmpbuf layout.
22329         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22330         (__sigsetjmp): Save sp and lr before saving callee
22331         saved registers.  Add setjmp SystemTap probe point.
22333 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22335         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22337 2014-02-24  Andreas Schwab  <schwab@suse.de>
22339         [BZ #15804]
22340         * elf/pldd.c (wait_for_ptrace_stop): New function.
22341         (main): Call it after attaching.
22343 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22345         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22346         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22347         Versions files is now verboten.
22348         * hurd/Versions (libc: GLIBC_2.0):
22349         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22350         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22351         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22352         * mach/Versions: Likewise.
22354         * csu/Versions: Remove unused %include.
22355         * resolv/Versions: Likewise.
22357 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22359         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22360         ($(objpfx)check-local-headers.out): Likewise.
22361         ($(objpfx)begin-end-check.out): Likewise.
22362         * Makerules (check-abi-%.out): Likewise.
22363         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22364         ($(objpfx)test2.cat): Likewise.
22365         ($(objpfx)de/libc.cat): Likewise.
22366         ($(objpfx)test-gencat.out): Likewise.
22367         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22368         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22369         ($(objpfx)noload-mem): Likewise.
22370         ($(objpfx)tst-pathopt.out): Likewise.
22371         ($(objpfx)tst-rtld-load-self.out): Likewise.
22372         ($(objpfx)tst-array1-cmp.out): Likewise.
22373         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22374         ($(objpfx)tst-array2-cmp.out): Likewise.
22375         ($(objpfx)tst-array3-cmp.out): Likewise.
22376         ($(objpfx)tst-array4-cmp.out): Likewise.
22377         ($(objpfx)tst-array5-cmp.out): Likewise.
22378         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22379         ($(objpfx)check-textrel.out): Likewise.
22380         ($(objpfx)check-execstack.out): Likewise.
22381         ($(objpfx)check-localplt.out): Likewise.
22382         ($(objpfx)order2-cmp.out): Likewise.
22383         ($(objpfx)tst-leaks1-mem): Likewise.
22384         ($(objpfx)tst-leaks1-static-mem): Likewise.
22385         ($(objpfx)tst-initorder-cmp.out): Likewise.
22386         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22387         ($(objpfx)tst-unused-dep.out): Likewise.
22388         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22389         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22390         * iconv/Makefile (test-iconvconfig): Likewise.
22391         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22392         ($(objpfx)iconv-test.out): Likewise.
22393         ($(objpfx)tst-tables.out): Likewise.
22394         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22395         ($(objpfx)tst-gettext.out): Likewise.
22396         ($(objpfx)tst-translit.out): Likewise.
22397         ($(objpfx)tst-gettext2.out): Likewise.
22398         ($(objpfx)tst-gettext4.out): Likewise.
22399         ($(objpfx)tst-gettext6.out): Likewise.
22400         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22401         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22402         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22403         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22404         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22405         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22406         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22407         ($(objpfx)wordexp-tst.out): Likewise.
22408         ($(objpfx)annexc.out): Likewise.
22409         ($(objpfx)tst-fnmatch-mem): Likewise.
22410         ($(objpfx)bug-regex2-mem): Likewise.
22411         ($(objpfx)bug-regex14-mem): Likewise.
22412         ($(objpfx)bug-regex21-mem): Likewise.
22413         ($(objpfx)bug-regex31-mem): Likewise.
22414         ($(objpfx)tst-vfork3-mem): Likewise.
22415         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22416         ($(objpfx)tst-pcre-mem): Likewise.
22417         ($(objpfx)tst-boost-mem): Likewise.
22418         ($(objpfx)tst-getconf.out): Likewise.
22419         ($(objpfx)bug-ga2-mem): Likewise.
22420         ($(objpfx)bug-glob2-mem): Likewise.
22421         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22422         ($(objpfx)mtrace-tst-leaks2): Likewise.
22423         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22424         ($(objpfx)tst-printf.out): Likewise.
22425         ($(objpfx)tst-setvbuf1.out): Likewise.
22426         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22427         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22428         ($(objpfx)tst-fmtmsg.out): Likewise.
22429         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22430         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22432         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22433         * bits/sigaction.h [__USE_MISC]: Likewise.
22434         * bits/waitstatus.h: Update #endif comments.
22435         * ctype/ctype.h: Likewise.
22436         * dirent/dirent.h: Likewise.
22437         [__USE_MISC]: Remove redundant conditionals.
22438         * grp/grp.h: Update #endif comments.
22439         [__USE_GNU]: Remove redundant conditionals.
22440         [__USE_MISC]: Likewise.
22441         * inet/netinet/in.h [__USE_GNU]: Likewise.
22442         * io/sys/stat.h [__USE_MISC]: Likewise.
22443         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22444         * libio/bits/stdio.h: Update #endif comments.
22445         [__USE_MISC]: Remove redundant conditionals.
22446         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22447         * libio/stdio.h: Update #endif comments.
22448         [__USE_MISC]: Remove redundant conditionals.
22449         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22450         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22451         * math/math.h: Update #else and #endif comments.
22452         [__USE_MISC]: Remove redundant conditionals.
22453         * misc/sys/uio.h: Update #endif comments.
22454         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22455         * posix/glob.h [__USE_MISC]: Likewise.
22456         * posix/sys/types.h: Update #endif comments.
22457         [__USE_MISC]: Remove redundant conditionals.
22458         * posix/sys/wait.h: Update #endif comments.
22459         [__USE_MISC]: Remove redundant conditionals.
22460         * posix/unistd.h: Update #endif comments.
22461         [__USE_MISC]: Remove redundant conditionals.
22462         * pwd/pwd.h [__USE_GNU]: Likewise.
22463         [__USE_MISC]: Likewise.
22464         * resolv/netdb.h [__USE_GNU]: Likewise.
22465         * signal/signal.h: Update #endif comments.
22466         [__USE_MISC]: Remove redundant conditionals.
22467         * stdlib/stdlib.h: Update #else and #endif comments.
22468         [__USE_MISC]: Remove redundant conditionals.
22469         [__USE_GNU]: Likewise.
22470         * string/bits/string2.h [__USE_MISC]: Likewise.
22471         * string/string.h: Update #endif comments.
22472         [__USE_MISC]: Remove redundant conditionals.
22473         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22474         Likewise.
22475         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22476         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22477         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22478         Likewise.
22479         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22480         Likewise.
22481         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22482         comments.
22483         [__USE_MISC]: Remove redundant conditionals.
22484         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22485         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22486         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22487         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22488         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22489         Likewise.
22490         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22491         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22492         Likewise.
22493         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22494         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22495         Likewise.
22496         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22497         Likewise.
22498         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22499         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22500         Likewise.
22501         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22502         Likewise.
22503         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22504         * sysdeps/x86/bits/string.h: Update #endif comments.
22505         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22506         conditionals.
22507         * time/sys/time.h: Update #endif comments.
22508         * time/time.h: Likewise.
22509         [__USE_MISC]: Remove redundant conditionals.
22511 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22513         [BZ #16600]
22514         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22516 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22518         * Versions.def (librt): Add GLIBC_2.17.
22520 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22522         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22523         synonym for _SYS_AUXV_H to allow direct inclusion.
22524         * sysdeps/sparc/bits/hwcap.h: Likewise.
22525         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22526         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22527         * sysdeps/sparc/sysdep.h: Likewise.
22529 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22531         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22533 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22535         * benchtests/bench-strrchr.c: Print length instead of position.
22537 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22539         [BZ #16611]
22540         * sysdeps/unix/sysv/linux/kernel-features.h
22541         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22542         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22543         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22544         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22545         Likewise.
22546         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22547         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22548         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22549         (__ASSUME_SENDMMSG): Define instead of using previous
22550         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22551         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22552         (__ASSUME_SENDMMSG_SYSCALL): Define.
22553         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22554         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22555         Likewise.
22556         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22557         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22558         Likewise.
22559         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22560         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22561         Likewise.
22562         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22563         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22564         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22565         [__ASSUME_SENDMMSG]: Change conditionals to
22566         [__ASSUME_SENDMMSG_SOCKETCALL].
22567         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22568         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22569         Define.
22570         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22571         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22572         Likewise.
22573         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22574         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22575         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22576         [!__ASSUME_SENDMMSG]: Change conditional to
22577         [!__ASSUME_SENDMMSG_SOCKETCALL].
22578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22579         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22580         Define.
22582         [BZ #16610]
22583         * sysdeps/unix/sysv/linux/kernel-features.h
22584         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22585         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22586         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22587         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22588         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22589         [__i386__ || __sparc__]
22590         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22591         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22592         (__ASSUME_RECVMMSG): Define instead of using previous
22593         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22594         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22595         (__ASSUME_RECVMMSG_SYSCALL): Define.
22596         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22597         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22598         Likewise.
22599         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22600         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22601         Likewise.
22602         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22604         Likewise.
22605         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22606         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22607         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22608         [__ASSUME_RECVMMSG]: Change condition to
22609         [__ASSUME_RECVMMSG_SOCKETCALL].
22610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22612         Define.
22613         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22614         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22615         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22616         Likewise.
22617         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22618         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22619         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22620         [!__ASSUME_RECVMMSG]: Change condition to
22621         [!__ASSUME_RECVMMSG_SOCKETCALL].
22622         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22623         (__ASSUME_RECVMMSG_SYSCALL): Define.
22625         [BZ #16609]
22626         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22627         __powerpc__ || __s390__ || __sh__ || __sparc__]
22628         (__ASSUME_SOCKETCALL): Define.
22629         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22630         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22631         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22632         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22633         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22634         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22635         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22636         (__ASSUME_ACCEPT4): Define instead of using previous
22637         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22638         __powerpc__ || __sparc__ || __s390__)] condition.
22639         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22640         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22641         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22642         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22643         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22644         [!__ASSUME_ACCEPT4]: Change condition to
22645         [!__ASSUME_ACCEPT4_SOCKETCALL].
22646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22647         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22648         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22650         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22651         __ASSUME_ACCEPT4_SYSCALL.
22652         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22653         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22654         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22655         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22656         __ASSUME_ACCEPT4_SYSCALL.
22657         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22658         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22659         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22660         [__ASSUME_ACCEPT4]: Change condition to
22661         [__ASSUME_ACCEPT4_SOCKETCALL].
22662         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22663         (__ASSUME_SOCKETCALL): Define.
22664         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22666         (__ASSUME_SOCKETCALL): Define.
22667         (__ASSUME_ACCEPT4): Remove.
22668         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22669         Define.
22670         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22671         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22672         Likewise.
22673         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22674         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22676         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22677         macro.
22678         (HWCAP_ARM_LPAE): Likewise.
22679         (HWCAP_ARM_EVTSTRM): Likewise.
22680         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22681         Add vpfd32, lpae and evtstrm.
22682         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22683         Increase to 22.
22685 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22687         * math/auto-libm-test-in: Add tests of clog10.
22688         * math/auto-libm-test-out: Regenerated.
22689         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22690         * sysdeps/i386/fpu/libm-test-ulps: Update.
22691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22693 2014-02-18  Andreas Schwab  <schwab@suse.de>
22695         [BZ #16574]
22696         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22697         Store non-zero if the second buffer was newly allocated.
22698         (send_dg): Likewise.
22699         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22700         to send_vc and send_dg.
22701         (res_nsend): Pass NULL for ansp2_malloced.
22702         * resolv/res_query.c (__libc_res_nquery): Add parameter
22703         answerp2_malloced and pass it down to __libc_res_nsend.
22704         (res_nquery): Pass additional NULL to __libc_res_nquery.
22705         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22706         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22707         second answer buffer if answerp2_malloced was set.
22708         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22709         (__libc_res_nquerydomain): Add parameter
22710         answerp2_malloced and pass it down to __libc_res_nquery.
22711         (res_nquerydomain): Pass additional NULL to
22712         __libc_res_nquerydomain.
22713         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22714         additional NULL to __libc_res_nsend and __libc_res_nquery.
22715         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22716         additional NULL to __libc_res_nsearch.
22717         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22718         parameter of __libc_res_nsearch to check for separately allocated
22719         second buffer.
22720         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22721         __libc_res_nquery.
22722         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22723         additional NULL to __libc_res_nquery.
22724         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22725         __libc_res_nsearch.
22726         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22727         * include/resolv.h: Update prototypes of __libc_res_nquery,
22728         __libc_res_nsearch, __libc_res_nsend.
22730 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22732         * math/auto-libm-test-in: Add tests of fma.
22733         * math/auto-libm-test-out: Regenerated.
22734         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22735         (fma_towardzero_test_data): Likewise.
22736         (fma_downward_test_data): Likewise.
22737         (fma_upward_test_data): Likewise.
22738         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22739         mpc_mode.
22740         (rounding_modes): Add values for new field.
22741         (func_calc_method): Add value mpfr_fff_f.
22742         (func_calc_desc): Add mpfr_fff_f union field.
22743         (test_function): Add field exact_args.
22744         (FUNC): Add macro argument EXACT_ARGS.
22745         (FUNC_mpfr_f_f): Update call to FUNC.
22746         (FUNC_mpfr_f_f): Likewise.
22747         (FUNC_mpfr_ff_f): Likewise.
22748         (FUNC_mpfr_if_f): Likewise.
22749         (FUNC_mpc_c_f): Likewise.
22750         (FUNC_mpc_c_c): Likewise.
22751         (test_functions): Add fma.  Update calls to FUNC.
22752         (handle_input_arg): Add argument exact_args.
22753         (add_test): Update call to handle_input_arg.
22754         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22755         (output_for_one_input_case): Update call to calc_generic_results.
22756         Recalculate exact zero results in each rounding mode.
22758         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22759         non-negative before setting low bit.
22760         * math/auto-libm-test-in: Mark one asin test possibly having
22761         spurious underflow.
22762         * math/auto-libm-test-out: Regenerated.
22763         * sysdeps/i386/fpu/libm-test-ulps: Update.
22764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22768         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22769         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22770         ports/sysdeps/unix/sysv/linux/microblaze.
22771         * README: Add missing listing for microblaze*-*-linux-gnu.
22773 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22775         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22776         duplicate code
22778 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22780         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22781         * sysdeps/unix/sysv/linux/ia64: Move directory from
22782         ports/sysdeps/unix/sysv/linux/ia64.
22783         * README: Update listing for ia64-*-linux-gnu.
22785 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22786             Joseph Myers  <joseph@codesourcery.com>
22788         * Makeconfig (test-name): New variable.
22789         (evaluate-test): Likewise.
22790         * Makerules (do-test-clean): Remove .test-result files.
22791         (common-mostlyclean): Likewise.
22792         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22793         * scripts/evaluate-test.sh: New file.
22795 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22797         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22798         separate $(objpfx)tst-fopenloc-cmp.out and
22799         $(objpfx)tst-fopenloc-mem.out targets.
22800         (tests): Update dependencies.
22801         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22802         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22803         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22804         (tst-rxspencer-no-utf8-ARGS): New variable.
22805         (tst-rxspencer-no-utf8-ENV): Likewise.
22806         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22807         instead of $(objpfx)tst-rxspencer-mem.
22808         ($(objpfx)tst-rxspencer-mem): Change target to
22809         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22810         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22811         * posix/tst-rxspencer-no-utf8.c: New file.
22813         * elf/Makefile ($(objpfx)order.out): Remove rule.
22814         [$(run-built-tests) = yes] (tests): Depend on
22815         $(objpfx)order-cmp.out.
22816         ($(objpfx)order-cmp.out): New rule.
22817         [$(run-built-tests) = yes] (tests): Depend on
22818         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22819         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22820         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22821         $(objpfx)tst-array5-static-cmp.out.
22822         ($(objpfx)tst-array1.out): Remove rule.
22823         ($(objpfx)tst-array1-cmp.out): New rule.
22824         ($(objpfx)tst-array1-static.out): Remove rule.
22825         ($(objpfx)tst-array1-static-cmp.out): New rule.
22826         ($(objpfx)tst-array2.out): Remove rule.
22827         ($(objpfx)tst-array2-cmp.out): New rule.
22828         ($(objpfx)tst-array3.out): Remove rule.
22829         ($(objpfx)tst-array3-cmp.out): New rule.
22830         ($(objpfx)tst-array4.out): Remove rule.
22831         ($(objpfx)tst-array4-cmp.out): New rule.
22832         ($(objpfx)tst-array5.out): Remove rule.
22833         ($(objpfx)tst-array5-cmp.out): New rule.
22834         ($(objpfx)tst-array5-static.out): Remove rule.
22835         ($(objpfx)tst-array5-static-cmp.out): New rule.
22836         [$(run-built-tests) = yes] (tests): Depend on
22837         $(objpfx)order2-cmp.out.
22838         ($(objpfx)order2.out): Remove rule.
22839         ($(objpfx)order2-cmp.out): New rule.
22840         ($(objpfx)tst-initorder.out): Remove rule.
22841         [$(run-built-tests) = yes] (tests): Depend on
22842         $(objpfx)tst-initorder-cmp.out.
22843         ($(objpfx)tst-initorder-cmp.out): New rule.
22844         ($(objpfx)tst-initorder2.out): Remove rule.
22845         [$(run-built-tests) = yes] (tests): Depend on
22846         $(objpfx)tst-initorder2-cmp.out.
22847         ($(objpfx)tst-initorder2-cmp.out): New rule.
22848         [$(run-built-tests) = yes] (tests): Depend on
22849         $(objpfx)tst-unused-dep-cmp.out.
22850         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22851         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22852         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22853         on $(objpfx)tst-setvbuf1-cmp.out.
22854         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22855         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22856         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22857         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22858         ($(objpfx)tst-svc.out): Remove rule.
22859         ($(objpfx)tst-svc-cmp.out): New rule.
22861 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22863         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22864         * ctype/ctype.h [__USE_MISC]: Likewise.
22865         * dirent/dirent.h [__USE_MISC]: Likewise.
22866         * grp/grp.h [__USE_MISC]: Likewise.
22867         * io/fcntl.h [__USE_MISC]: Likewise.
22868         * io/sys/stat.h [__USE_MISC]: Likewise.
22869         * libio/stdio.h [__USE_MISC]: Likewise.
22870         * posix/unistd.h [__USE_MISC]: Likewise.
22871         * pwd/pwd.h [__USE_MISC]: Likewise.
22872         * stdlib.h [__USE_MISC]: Likewise.
22873         * string/bits/string2.h [__USE_MISC]: Likewise.
22874         * string/string.h [__USE_MISC]: Likewise.
22875         * time/time.h [__USE_MISC]: Likewise.
22877 2014-02-13  Andreas Schwab  <schwab@suse.de>
22879         [BZ #16574]
22880         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22881         second answer buffer if it was separately allocated.
22883 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22885         * sysdeps/mips/math-tests.h: Include <features.h>.
22886         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22887         (ROUNDING_TESTS_long_double): Do not define.
22888         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22889         (EXCEPTION_TESTS_long_double): Likewise.
22890         * sysdeps/mips/mips64/libm-test-ulps: Update.
22892         * include/features.h (__USE_BSD): Remove macro definitions.
22893         (__USE_SVID): Likewise.
22894         (_BSD_SOURCE): Likewise.
22895         (_SVID_SOURCE): Likewise.
22896         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22897         from definition of _DEFAULT_SOURCE.
22898         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22899         [_DEFAULT_SOURCE].
22900         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22901         * bits/mman.h [__USE_BSD]: Likewise.
22902         * bits/termios.h [__USE_BSD]: Likewise.
22903         * bits/waitstatus.h [__USE_BSD]: Likewise.
22904         * ctype/ctype.h [__USE_SVID]: Likewise.
22905         * dirent/dirent.h [__USE_BSD]: Likewise.
22906         * grp/grp.h [__USE_SVID]: Likewise.
22907         [__USE_BSD]: Likewise.
22908         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22909         * io/fcntl.h [__USE_BSD]: Likewise.
22910         * io/ftw.h [__USE_BSD]: Likewise.
22911         * io/sys/stat.h [__USE_BSD]: Likewise.
22912         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22913         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22914         * libio/stdio.h [__USE_SVID]: Likewise.
22915         [__USE_BSD]: Likewise.
22916         * math/math.h [__USE_SVID]: Likewise.
22917         [__USE_BSD]: Likewise.
22918         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22919         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22920         * misc/search.h [__USE_SVID]: Likewise.
22921         * misc/sys/mman.h [__USE_BSD]: Likewise.
22922         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22923         * misc/sys/uio.h [__USE_BSD]: Likewise.
22924         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22925         * posix/glob.h [__USE_BSD]: Likewise.
22926         * posix/regex.h [__USE_BSD]: Likewise.
22927         * posix/sys/types.h [__USE_BSD]: Likewise.
22928         [__USE_SVID]: Likewise.
22929         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22930         * posix/sys/wait.h [__USE_BSD]: Likewise.
22931         [__USE_SVID]: Likewise.
22932         * posix/unistd.h [__USE_BSD]: Likewise.
22933         [__USE_SVID]: Likewise.
22934         * pwd/pwd.h [__USE_SVID]: Likewise.
22935         * resolv/netdb.h [__USE_BSD]: Likewise.
22936         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22937         * signal/signal.h [__USE_BSD]: Likewise.
22938         [__USE_SVID]: Likewise.
22939         * socket/sys/socket.h [__USE_BSD]: Likewise.
22940         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22941         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22942         [__USE_SVID]: Likewise.
22943         * string/bits/string2.h [__USE_BSD]: Likewise.
22944         [__USE_SVID]: Likewise.
22945         * string/bits/string3.h [__USE_BSD]: Likewise.
22946         * string/endian.h [__USE_BSD]: Likewise.
22947         * string/string.h [__USE_SVID]: Likewise.
22948         [__USE_BSD]: Likewise.
22949         * string/strings.h [__USE_BSD]: Likewise.
22950         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22951         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22952         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22953         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22954         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22955         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22956         Likewise.
22957         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22958         Likewise.
22959         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22960         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22961         Likewise.
22962         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22963         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22964         Likewise.
22965         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22966         Likewise.
22967         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22968         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22969         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22970         Likewise.
22971         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22972         Likewise.
22973         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22974         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22975         * termios/termios.h [__USE_BSD]: Likewise.
22976         * time/sys/time.h [__USE_BSD]: Likewise.
22977         * time/time.h [__USE_BSD]: Likewise.
22978         [__USE_SVID]: Likewise.
22980         * Makefile (subdir_targets): Remove subdir_lint.out.
22982         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22983         (do-tst-printf): Likewise.
22984         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22985         $(objpfx)tst-printf.out.
22987         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22989         * Makerules (check-abi-%): Change target to
22990         $(objpfx)check-abi-%.out.
22991         (check-abi target): Update dependencies.
22992         (check-abi-pattern variable): Redirect output of diff to $@.
22993         (check-abi variable): Likewise.
22994         * elf/Makefile (check-abi): Update dependencies.
22996         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22997         unused.
22998         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22999         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23000         subnormal range.
23001         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23002         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23003         value has largest subnormal exponent.
23004         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23005         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23006         * sysdeps/aarch64/soft-fp/sfp-machine.h
23007         (_FP_TININESS_AFTER_ROUNDING): New macro.
23008         * sysdeps/alpha/soft-fp/sfp-machine.h
23009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23010         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23011         Likewise.
23012         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23013         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23014         * sysdeps/mips/soft-fp/sfp-machine.h
23015         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23016         * sysdeps/powerpc/soft-fp/sfp-machine.h
23017         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23018         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23019         Likewise.
23020         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23021         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23022         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23023         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23024         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23025         Likewise.
23027 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23029         [BZ #16545]
23030         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23031         model 1.
23033 2014-02-12  Richard Henderson  <rth@redhat.com>
23035         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23036         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23037         * sysdeps/unix/sysv/linux/alpha: Move directory from
23038         ports/sysdeps/unix/sysv/linux/alpha.
23039         * README: Update listing for alpha-*-linux-gnu.
23041 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23043         * include/features.h: Update comment documenting feature test
23044         macros.
23045         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23046         _DEFAULT_SOURCE.
23047         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23048         (_SVID_SOURCE): Likewise.
23049         (_DEFAULT_SOURCE): Update description of default features.
23050         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23051         with _GNU_SOURCE.
23052         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23053         (S_ISVTX): Likewise.
23054         * manual/math.texi (Mathematical Constants): Likewise.
23055         * manual/signal.texi (Interrupted Primitives): Likewise.
23056         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23057         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23058         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23059         Don't refer to _SVID_SOURCE in warning text.
23061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23063         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23064         already defined.
23065         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23066         * sysdeps/mips/dl-lookup.c: Remove.
23067         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23069 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23071         [BZ #16447]
23072         * math/auto-libm-test-in: Add testcase for expl.
23073         * math/auto-libm-test-out: Regenerate.
23074         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23075         calculation of unsafe.
23076         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23078 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23080         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23081         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23082         ports/sysdeps/unix/sysv/linux/aarch64.
23083         * README: Update listing for aarch64*-*-linux-gnu.
23085 2014-02-11  Will Newton  <will.newton@linaro.org>
23087         * manual/probes.texi (Mathematical Function Probes): Use
23088         "triggered" instead of "hit".
23090         * manual/probes.texi (Internal Probes): Add documentation
23091         of setjmp, longjmp and longjmp_target probes.
23093         * include/stap-probe.h: Add comment about probe argument
23094         format.
23096         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23097         definition.  (tr_where, tr_freehook, tr_mallochook,
23098         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23100 2014-02-11  David S. Miller  <davem@davemloft.net>
23102         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23103         processing int_tests.
23105 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23107         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23108         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23109         * sysdeps/unix/sysv/linux/mips: Move directory from
23110         ports/sysdeps/unix/sysv/linux/mips.
23111         * README: Update listing for mips-*-linux-gnu and
23112         mips64-*-linux-gnu.
23114 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23116         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23117         * sysdeps/unix/sysv/linux/m68k: Move directory from
23118         ports/sysdeps/unix/sysv/linux/m68k.
23119         * README: Update listing for m68k-*-linux-gnu.
23121 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23123         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23124         * sysdeps/unix/sysv/linux/generic: Move directory from
23125         ports/sysdeps/unix/sysv/linux/generic.
23126         * sysdeps/unix/sysv/linux/tile: Move directory from
23127         ports/sysdeps/unix/sysv/linux/tile.
23128         * README: Update listing for tile*-*-linux-gnu.
23130 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23132         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23133         __builtin_expect.
23134         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23135         * catgets/open_catalog.c (__open_catalog): Likewise.
23136         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23137         * debug/confstr_chk.c: Likewise.
23138         * debug/fread_chk.c (__fread_chk): Likewise.
23139         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23140         * debug/getgroups_chk.c: Likewise.
23141         * debug/mbsnrtowcs_chk.c: Likewise.
23142         * debug/mbsrtowcs_chk.c: Likewise.
23143         * debug/mbstowcs_chk.c: Likewise.
23144         * debug/memcpy_chk.c: Likewise.
23145         * debug/memmove_chk.c: Likewise.
23146         * debug/mempcpy_chk.c: Likewise.
23147         * debug/memset_chk.c: Likewise.
23148         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23149         * debug/strcat_chk.c (__strcat_chk): Likewise.
23150         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23151         * debug/strncat_chk.c (__strncat_chk): Likewise.
23152         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23153         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23154         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23155         * debug/wcpncpy_chk.c: Likewise.
23156         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23157         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23158         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23159         * debug/wcsncpy_chk.c: Likewise.
23160         * debug/wcsnrtombs_chk.c: Likewise.
23161         * debug/wcsrtombs_chk.c: Likewise.
23162         * debug/wcstombs_chk.c: Likewise.
23163         * debug/wmemcpy_chk.c: Likewise.
23164         * debug/wmemmove_chk.c: Likewise.
23165         * debug/wmempcpy_chk.c: Likewise.
23166         * debug/wmemset_chk.c: Likewise.
23167         * dirent/scandirat.c (SCANDIRAT): Likewise.
23168         * dlfcn/dladdr1.c (dladdr1): Likewise.
23169         * dlfcn/dladdr.c (dladdr): Likewise.
23170         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23171         * dlfcn/dlerror.c (__dlerror): Likewise.
23172         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23173         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23174         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23175         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23176         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23177         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23178         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23179         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23180         Likewise.
23181         * elf/dl-conflict.c: Likewise.
23182         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23183         * elf/dl-dst.h: Likewise.
23184         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23185         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23186         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23187         * elf/dl-init.c (call_init, _dl_init): Likewise.
23188         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23189         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23190         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23191         Likewise.
23192         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23193         Likewise.
23194         * elf/dl-minimal.c (__libc_memalign): Likewise.
23195         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23196         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23197         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23198         * elf/dl-sym.c (do_sym): Likewise.
23199         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23200         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23201         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23202         * elf/dl-writev.h (_dl_writev): Likewise.
23203         * elf/ldconfig.c (search_dir): Likewise.
23204         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23205         (dl_main): Likewise.
23206         * elf/setup-vdso.h (setup_vdso): Likewise.
23207         * grp/compat-initgroups.c (compat_call): Likewise.
23208         * grp/fgetgrent.c (fgetgrent): Likewise.
23209         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23210         * grp/putgrent.c (putgrent): Likewise.
23211         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23212         Likewise.
23213         * hurd/hurdinit.c: Likewise.
23214         * iconvdata/8bit-gap.c (struct): Likewise.
23215         * iconvdata/ansi_x3.110.c : Likewise.
23216         * iconvdata/big5.c : Likewise.
23217         * iconvdata/big5hkscs.c : Likewise.
23218         * iconvdata/cp1255.c: Likewise.
23219         * iconvdata/cp1258.c : Likewise.
23220         * iconvdata/cp932.c : Likewise.
23221         * iconvdata/euc-cn.c: Likewise.
23222         * iconvdata/euc-jisx0213.c : Likewise.
23223         * iconvdata/euc-jp.c: Likewise.
23224         * iconvdata/euc-jp-ms.c : Likewise.
23225         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23226         * iconvdata/gb18030.c : Likewise.
23227         * iconvdata/gbbig5.c (const): Likewise.
23228         * iconvdata/gbgbk.c: Likewise.
23229         * iconvdata/gbk.c : Likewise.
23230         * iconvdata/ibm1364.c : Likewise.
23231         * iconvdata/ibm930.c : Likewise.
23232         * iconvdata/ibm932.c: Likewise.
23233         * iconvdata/ibm933.c : Likewise.
23234         * iconvdata/ibm935.c : Likewise.
23235         * iconvdata/ibm937.c : Likewise.
23236         * iconvdata/ibm939.c : Likewise.
23237         * iconvdata/ibm943.c: Likewise.
23238         * iconvdata/iso_11548-1.c: Likewise.
23239         * iconvdata/iso-2022-cn.c : Likewise.
23240         * iconvdata/iso-2022-cn-ext.c : Likewise.
23241         * iconvdata/iso-2022-jp-3.c: Likewise.
23242         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23243         * iconvdata/iso-2022-kr.c : Likewise.
23244         * iconvdata/iso646.c (gconv_end): Likewise.
23245         * iconvdata/iso_6937-2.c : Likewise.
23246         * iconvdata/iso_6937.c : Likewise.
23247         * iconvdata/iso8859-1.c: Likewise.
23248         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23249         * iconvdata/shift_jisx0213.c : Likewise.
23250         * iconvdata/sjis.c : Likewise.
23251         * iconvdata/t.61.c : Likewise.
23252         * iconvdata/tcvn5712-1.c : Likewise.
23253         * iconvdata/tscii.c: Likewise.
23254         * iconvdata/uhc.c : Likewise.
23255         * iconvdata/unicode.c (gconv_end): Likewise.
23256         * iconvdata/utf-16.c (gconv_end): Likewise.
23257         * iconvdata/utf-32.c (gconv_end): Likewise.
23258         * iconvdata/utf-7.c (base64): Likewise.
23259         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23260         * iconv/gconv_close.c (__gconv_close): Likewise.
23261         * iconv/gconv_open.c (__gconv_open): Likewise.
23262         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23263         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23264         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23265         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23266         (ucs4le_internal_loop_single): Likewise.
23267         * iconv/iconv.c (iconv): Likewise.
23268         * iconv/iconv_close.c: Likewise.
23269         * iconv/loop.c (SINGLE): Likewise.
23270         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23271         * include/atomic.h: Likewise.
23272         * inet/inet6_option.c (option_alloc): Likewise.
23273         * intl/bindtextdom.c (set_binding_values): Likewise.
23274         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23275         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23276         * intl/localealias.c (read_alias_file): Likewise.
23277         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23278         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23279         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23280         * libio/fmemopen.c (fmemopen): Likewise.
23281         * libio/iofgets.c (_IO_fgets): Likewise.
23282         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23283         * libio/iofgetws.c (fgetws): Likewise.
23284         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23285         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23286         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23287         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23288         * locale/findlocale.c (_nl_find_locale): Likewise.
23289         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23290         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23291         Likewise.
23292         * locale/setlocale.c (setlocale): Likewise.
23293         * login/programs/pt_chown.c (main): Likewise.
23294         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23295         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23296         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23297         (mmap, mmap64, mremap, munmap): Likewise.
23298         * math/e_exp2l.c: Likewise.
23299         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23300         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23301         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23302         * math/s_catan.c (__catan): Likewise.
23303         * math/s_catanf.c (__catanf): Likewise.
23304         * math/s_catanh.c (__catanh): Likewise.
23305         * math/s_catanhf.c (__catanhf): Likewise.
23306         * math/s_catanhl.c (__catanhl): Likewise.
23307         * math/s_catanl.c (__catanl): Likewise.
23308         * math/s_ccosh.c (__ccosh): Likewise.
23309         * math/s_ccoshf.c (__ccoshf): Likewise.
23310         * math/s_ccoshl.c (__ccoshl): Likewise.
23311         * math/s_cexp.c (__cexp): Likewise.
23312         * math/s_cexpf.c (__cexpf): Likewise.
23313         * math/s_cexpl.c (__cexpl): Likewise.
23314         * math/s_clog10.c (__clog10): Likewise.
23315         * math/s_clog10f.c (__clog10f): Likewise.
23316         * math/s_clog10l.c (__clog10l): Likewise.
23317         * math/s_clog.c (__clog): Likewise.
23318         * math/s_clogf.c (__clogf): Likewise.
23319         * math/s_clogl.c (__clogl): Likewise.
23320         * math/s_csin.c (__csin): Likewise.
23321         * math/s_csinf.c (__csinf): Likewise.
23322         * math/s_csinh.c (__csinh): Likewise.
23323         * math/s_csinhf.c (__csinhf): Likewise.
23324         * math/s_csinhl.c (__csinhl): Likewise.
23325         * math/s_csinl.c (__csinl): Likewise.
23326         * math/s_csqrt.c (__csqrt): Likewise.
23327         * math/s_csqrtf.c (__csqrtf): Likewise.
23328         * math/s_csqrtl.c (__csqrtl): Likewise.
23329         * math/s_ctan.c (__ctan): Likewise.
23330         * math/s_ctanf.c (__ctanf): Likewise.
23331         * math/s_ctanh.c (__ctanh): Likewise.
23332         * math/s_ctanhf.c (__ctanhf): Likewise.
23333         * math/s_ctanhl.c (__ctanhl): Likewise.
23334         * math/s_ctanl.c (__ctanl): Likewise.
23335         * math/w_pow.c: Likewise.
23336         * math/w_powf.c: Likewise.
23337         * math/w_powl.c: Likewise.
23338         * math/w_scalb.c (sysv_scalb): Likewise.
23339         * math/w_scalbf.c (sysv_scalbf): Likewise.
23340         * math/w_scalbl.c (sysv_scalbl): Likewise.
23341         * misc/error.c (error_tail): Likewise.
23342         * misc/pselect.c (__pselect): Likewise.
23343         * nis/nis_callback.c (__nis_create_callback): Likewise.
23344         * nis/nis_call.c (__nisfind_server): Likewise.
23345         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23346         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23347         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23348         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23349         * nis/nis_lookup.c (nis_lookup): Likewise.
23350         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23351         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23352         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23353         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23354         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23355         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23356         * nis/nss_compat/compat-initgroups.c (add_group)
23357         (internal_getgrent_r): Likewise.
23358         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23359         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23360         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23361         (internal_getspnam_r): Likewise.
23362         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23363         (_nss_nis_getaliasbyname_r): Likewise.
23364         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23365         (_nss_nis_getntohost_r): Likewise.
23366         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23367         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23368         (_nss_nis_getgrgid_r): Likewise.
23369         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23370         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23371         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23372         (_nss_nis_gethostbyname4_r): Likewise.
23373         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23374         (initgroups_netid): Likewise.
23375         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23376         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23377         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23378         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23379         (_nss_nis_getprotobynumber_r): Likewise.
23380         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23381         (_nss_nis_getsecretkey): Likewise.
23382         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23383         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23384         (_nss_nis_getpwuid_r): Likewise.
23385         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23386         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23387         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23388         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23389         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23390         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23391         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23392         Likewise.
23393         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23394         (_nss_nisplus_getntohost_r): Likewise.
23395         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23396         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23397         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23398         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23399         Likewise.
23400         * nis/nss_nisplus/nisplus-initgroups.c
23401         (_nss_nisplus_initgroups_dyn): Likewise.
23402         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23403         (_nss_nisplus_getnetbyaddr_r): Likewise.
23404         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23405         (_nss_nisplus_getprotobynumber_r): Likewise.
23406         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23407         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23408         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23409         Likewise.
23410         * nis/nss_nisplus/nisplus-service.c
23411         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23412         (_nss_nisplus_getservbyport_r): Likewise.
23413         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23414         (_nss_nisplus_getspnam_r): Likewise.
23415         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23416         Likewise.
23417         * nscd/aicache.c (addhstaiX): Likewise.
23418         * nscd/cache.c (cache_search, prune_cache): Likewise.
23419         * nscd/connections.c (register_traced_file, send_ro_fd)
23420         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23421         (main_loop_epoll): Likewise.
23422         * nscd/grpcache.c (addgrbyX): Likewise.
23423         * nscd/hstcache.c (addhstbyX): Likewise.
23424         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23425         * nscd/mem.c (gc, mempool_alloc): Likewise.
23426         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23427         (addinnetgrX): Likewise.
23428         * nscd/nscd-client.h (__nscd_acquire_maplock)
23429         (__nscd_drop_map_ref): Likewise.
23430         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23431         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23432         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23433         Likewise.
23434         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23435         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23436         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23437         (__nscd_get_map_ref): Likewise.
23438         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23439         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23440         Likewise.
23441         * nscd/pwdcache.c (addpwbyX): Likewise.
23442         * nscd/selinux.c (preserve_capabilities): Likewise.
23443         * nscd/servicescache.c (addservbyX): Likewise.
23444         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23445         * posix/fnmatch.c (fnmatch): Likewise.
23446         * posix/getopt.c (_getopt_internal_r): Likewise.
23447         * posix/glob.c (glob, glob_in_dir): Likewise.
23448         * posix/wordexp.c (exec_comm_child): Likewise.
23449         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23450         (getanswer_r, gaih_getanswer_slice): Likewise.
23451         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23452         * resolv/res_init.c: Likewise.
23453         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23454         * resolv/res_query.c (__libc_res_nquery): Likewise.
23455         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23456         Likewise.
23457         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23458         * stdio-common/perror.c (perror): Likewise.
23459         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23460         * stdio-common/tmpnam.c (tmpnam): Likewise.
23461         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23462         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23463         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23464         Likewise.
23465         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23466         * stdlib/putenv.c (putenv): Likewise.
23467         * stdlib/setenv.c (__add_to_environ): Likewise.
23468         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23469         * stdlib/strtol_l.c (INTERNAL): Likewise.
23470         * string/memmem.c (memmem): Likewise.
23471         * string/strerror.c (strerror): Likewise.
23472         * string/strnlen.c (__strnlen): Likewise.
23473         * string/test-memmem.c (simple_memmem): Likewise.
23474         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23475         * sunrpc/pm_getport.c (__get_socket): Likewise.
23476         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23477         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23478         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23479         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23480         Likewise.
23481         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23482         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23483         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23484         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23485         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23486         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23487         Likewise.
23488         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23489         Likewise.
23490         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23491         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23492         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23493         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23494         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23496         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23497         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23498         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23499         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23500         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23501         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23502         Likewise.
23503         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23504         Likewise.
23505         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23506         Likewise.
23507         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23508         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23509         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23510         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23511         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23512         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23513         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23514         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23515         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23516         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23517         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23518         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23519         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23520         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23522         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23523         Likewise.
23524         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23525         Likewise.
23526         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23527         Likewise.
23528         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23529         Likewise.
23530         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23532         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23533         Likewise.
23534         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23535         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23536         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23537         * sysdeps/posix/sleep.c: Likewise.
23538         * sysdeps/posix/tempname.c: Likewise.
23539         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23540         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23541         Likewise.
23542         * sysdeps/powerpc/powerpc32/dl-machine.h
23543         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23544         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23545         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23546         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23547         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23548         Likewise.
23549         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23550         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23551         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23552         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23553         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23554         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23555         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23556         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23557         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23558         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23559         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23560         (elf_machine_lazy_rel): Likewise.
23561         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23562         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23563         (elf_machine_lazy_rel): Likewise.
23564         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23565         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23566         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23567         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23568         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23569         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23570         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23571         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23572         Likewise.
23573         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23574         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23575         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23576         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23577         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23578         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23579         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23580         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23581         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23582         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23583         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23584         Likewise.
23585         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23586         (__posix_fallocate64_l64): Likewise.
23587         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23588         (posix_fallocate): Likewise.
23589         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23590         Likewise.
23591         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23592         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23593         (getifaddrs_internal): Likewise.
23594         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23595         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23596         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23597         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23598         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23599         (__posix_fallocate64_l64): Likewise.
23600         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23601         Likewise.
23602         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23603         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23604         (__get_clockfreq): Likewise.
23605         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23606         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23607         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23610         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23611         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23612         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23613         Likewise.
23614         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23615         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23616         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23617         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23618         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23619         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23620         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23621         Likewise.
23622         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23623         (posix_fallocate): Likewise.
23624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23625         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23626         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23627         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23628         (elf_machine_rela, elf_machine_rela_relative)
23629         (elf_machine_lazy_rel): Likewise.
23630         * time/asctime.c (asctime_internal): Likewise.
23631         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23632         * time/tzset.c (__tzset_parse_tz): Likewise.
23633         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23634         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23635         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23636         * wcsmbs/wcsmbsload.h: Likewise.
23638         [BZ #15894]
23639         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23641         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23642         (arena_get2): Remove THREAD_STATS conditionals.
23643         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23644         (__malloc_stats, int): Likewise.
23646 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23648         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23649         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23651         * manual/setjmp.texi: Fix typos/grammar errors.
23653         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23654         Only return early when n is <= 0.  Delete unused return statement.
23656         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23657         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23658         * debug/tst-longjmp_chk3.c: New file.
23660         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23661         (test_main): Replace code with set_fortify_handler call.
23662         * debug/test-strcpy_chk.c: Likewise.
23663         * debug/tst-chk1.c: Likewise.
23664         * debug/tst-longjmp_chk.c: Likewise.
23665         * test-skeleton.c: Include fcntl.h & paths.h
23666         (set_fortify_handler): Define.
23668         * debug/tst-longjmp_chk.c: Add header comment and include
23669         ../test-skeleton.c.
23670         (do_test): Mark static.
23671         (TEST_FUNCTION): Define.
23673         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23674         (IP_PMTUDISC_INTERFACE): Likewise.
23675         (IP_MULTICAST_IF): Likewise.
23676         (IP_MULTICAST_TTL): Likewise.
23677         (IP_MULTICAST_LOOP): Likewise.
23678         (IP_ADD_MEMBERSHIP): Likewise.
23679         (IP_DROP_MEMBERSHIP): Likewise.
23680         (IP_UNBLOCK_SOURCE): Likewise.
23681         (IP_BLOCK_SOURCE): Likewise.
23682         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23683         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23684         (IP_MSFILTER): Likewise.
23685         (MCAST_JOIN_GROUP): Likewise.
23686         (MCAST_BLOCK_SOURCE): Likewise.
23687         (MCAST_UNBLOCK_SOURCE): Likewise.
23688         (MCAST_LEAVE_GROUP): Likewise.
23689         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23690         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23691         (MCAST_MSFILTER): Likewise.
23692         (IP_MULTICAST_ALL): Likewise.
23693         (IP_UNICAST_IF): Likewise.
23695         * timezone/Makefile: Delete $(have-ksh) check.
23696         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23697         * timezone/tzselect.ksh: Add +x mode bits.
23699         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23700         (ANON_INODE_FS_MAGIC): Likewise.
23701         (BDEVFS_MAGIC): Likewise.
23702         (BINFMTFS_MAGIC): Likewise.
23703         (BTRFS_TEST_MAGIC): Likewise.
23704         (CRAMFS_MAGIC_WEND): Likewise.
23705         (DEBUGFS_MAGIC): Likewise.
23706         (ECRYPTFS_SUPER_MAGIC): Likewise.
23707         (EXT3_SUPER_MAGIC): Likewise.
23708         (EXT4_SUPER_MAGIC): Likewise.
23709         (FUTEXFS_SUPER_MAGIC): Likewise.
23710         (HOSTFS_SUPER_MAGIC): Likewise.
23711         (HUGETLBFS_MAGIC): Likewise.
23712         (MINIX3_SUPER_MAGIC): Likewise.
23713         (MTD_INODE_FS_MAGIC): Likewise.
23714         (NILFS_SUPER_MAGIC): Likewise.
23715         (OPENPROM_SUPER_MAGIC): Likewise.
23716         (PIPEFS_MAGIC): Likewise.
23717         (PSTOREFS_MAGIC): Likewise.
23718         (QNX6_SUPER_MAGIC): Likewise.
23719         (RAMFS_MAGIC): Likewise.
23720         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23721         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23722         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23723         (SECURITYFS_MAGIC): Likewise.
23724         (SELINUX_MAGIC): Likewise.
23725         (SMACK_MAGIC): Likewise.
23726         (SOCKFS_MAGIC): Likewise.
23727         (SQUASHFS_MAGIC): Likewise.
23728         (STACK_END_MAGIC): Likewise.
23729         (TMPFS_MAGIC): Likewise.
23730         (USBDEVICE_SUPER_MAGIC): Likewise.
23731         (V9FS_MAGIC): Likewise.
23732         (XENFS_SUPER_MAGIC): Likewise.
23733         (CRAMFS_MAGIC): Fix typo in comment.
23734         (EXT2_SUPER_MAGIC): Update comment.
23735         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23737 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23739         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23740         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23741         * sysdeps/unix/sysv/linux/arm: Move directory from
23742         ports/sysdeps/unix/sysv/linux/arm.
23743         * README: Update listing for arm-*-linux-gnueabi.
23745         * README: Remove mention of am33.
23747 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23749         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23750         than the comma operator, to avoid "rhs of comma has no effect"
23751         compiler warnings.
23752         (__sigfillset, __sigandset, __sigorset): Likewise.
23753         * include/signal.h (__sigemptyset): Likewise.
23754         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23756 2014-02-07  Allan McRae  <allan@archlinux.org>
23758         * version.h (RELEASE): Set to "development".
23759         (VERSION): Set to "2.19.90"
23760         * NEWS: Add 2.20 section.
23762 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23764         [BZ #16529]
23765         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23767 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23769         * manual/contrib.texi: Update entry for Carlos O'Donell,
23770         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23772 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23774         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23776         * sysdeps/unix/sysv/linux/kernel-features.h
23777         [__LINUX_KERNEL_VERSION >= 0x020621]
23778         (__ASSUME_PROC_PID_TASK_COMM): Define.
23780 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23782         [BZ #16398]
23783         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23784         conversion when destination buffer does not have enough space.
23785         * libio/tst-ftell-partial-wide.c: New test case.
23786         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23788         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23789         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23790         Leonard and Allan McRae.
23792 2014-02-04  David S. Miller  <davem@davemloft.net>
23794         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23795         32-bit.
23797 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23800         New file
23801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23802         New file
23803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23804         New file.
23805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23806         New file.
23807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23808         New file.
23809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23810         New file.
23811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23812         New file.
23813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23814         New file.
23815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23816         New file.
23817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23818         New file.
23819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23820         New file.
23821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23822         New file.
23823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23824         New file.
23826 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23828         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23829         * shlib-versions: Likewise.
23831 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23832             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23834         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23835         (abilist-pattern): New variable, set to %-le.abilist.
23837         * Makerules (abilist-pattern): New variable.
23838         (vpath): Use $(abilist-pattern) in place of %.abilist.
23839         (check-abi-% pattern rule): Likewise.
23840         (check-abi, update-abi): Likewise.
23842 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23846 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23848         * manual/startup.texi: Add next, previous, and top entries for
23849         the `Program Arguments' and `Environment Variables' nodes.
23851 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23853         * manual/macros.texi: Add comments before MTASC-safety macros.
23855         * manual/users.texi: Document MTASC-safety properties.
23857         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23858         (pthread_getspecific, pthread_setspecific): Format with
23859         @deftypefun, and add @safety note.
23860         * manual/signal.texi: Move comments that analyze the above
23861         functions to their home place.
23863 2014-02-03  Allan McRae  <allan@archlinux.org>
23865         * po/sl.po: Update Slovenian translation from translation project.
23867 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23869         * manual/time.texi (timegm): Add missing blank after @c.
23870         Reported by Joseph Myers <joseph@codesourcery.com>.
23872 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23874         * manual/check-safety.sh: New.
23875         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23877         * manual/terminal.texi: Document MTASC-safety properties.
23879         * manual/filesys.texi: Document MTASC-safety properties.
23881         * manual/errno.texi: Document MTASC-safety properties.
23883         * manual/intro.texi: Document safety identifiers and
23884         conditionals.
23886         * manual/string.texi (wcstok): Fix prototype.
23887         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23889         * manual/time.texi: Document MTASC-safety properties.
23891         * manual/string.texi: Document MTASC-safety properties.
23893         * manual/threads.texi: Document MTASC-safety properties.
23895         * manual/stdio.texi: Document MTASC-safety properties.
23897         * manual/syslog.texi: Document MTASC-safety properties.
23899         * manual/sysinfo.texi: Document MTASC-safety properties.
23901         * manual/startup.texi: Document MTASC-safety properties.
23903         * manual/socket.texi: Document MTASC-safety properties.
23905         * manual/signal.texi: Document MTASC-safety properties.
23907 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23909         * manual/setjmp.texi: Document MTASC-safety properties.
23911         * manual/search.texi: Document MTASC-safety properties.
23913         * manual/resource.texi: Document MTASC-safety properties.
23915         * manual/process.texi: Document MTASC-safety properties.
23917         * manual/platform.texi: Document MTASC-safety properties.
23919         * manual/pipe.texi: Document MTASC-safety properties.
23921         * manual/pattern.texi: Document MTASC-safety properties.
23923         * manual/message.texi: Document MTASC-safety properties.
23925         [BZ #12751]
23926         * manual/memory.texi: Document MTASC-safety properties.
23928         * manual/math.texi: Document MTASC-safety properties.
23930         * manual/locale.texi: Document MTASC-safety properties.
23932         * manual/llio.texi: Document MTASC-safety properties.
23934         * manual/libdl.texi: New.
23936         * manual/lang.texi: Document MTASC-safety properties.
23938         * manual/job.texi: Document MTASC-safety properties.
23940         * manual/getopt.texi: Document MTASC-safety properties.
23942         * manual/ctype.texi: Document MTASC-safety properties.
23944 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23946         [BZ #16046]
23947         * csu/libc-tls.c (static_map): Remove variable.
23948         (__libc_setup_tls): Use main executable's link map for TLS data.
23949         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23950         casing for LM_ID_BASE and GL(dl_nns).
23951         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23952         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23953         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23954         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23955         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23956         member.
23957         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23958         l_phnum members.
23960 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23962         * manual/debug.texi: Document MTASC-safety properties.
23964 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23966         [BZ #16510]
23967         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23968         of __x86_64__ when disabling x87 inline functions.
23970 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23972         * manual/charset.texi: Document MTASC-safety properties.
23974         * manual/crypt.texi: Document MTASC-safety properties.
23976         * manual/conf.texi: Document MTASC-safety properties.
23978         * manual/arith.texi: Document MTASC-safety properties.
23980         * manual/argp.texi: Document MTASC-safety properties.
23982         * manual/macros.texi: Introduce macros to document multi
23983         thread, asynchronous signal and asynchronous cancellation
23984         safety properties.
23985         * manual/intro.texi: Introduce the properties themselves.
23987 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23989         * sysdeps/sh/sh4/Makefile: New file.
23991 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23993         * math/gen-libm-test.pl ($srcdir): New variable.
23994         ($auto_input): Use it.
23996 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23998         [BZ #16506]
23999         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24000         access beyond array bounds when parsing netgroups file.
24002         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24003         the old buffer before realloc.
24005 2014-01-27  Allan McRae  <allan@archlinux.org>
24007         * po/fr.po: Update French translation from translation project.
24009 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24011         * sysdeps/sh/libm-test-ulps: Regenerate.
24013 2014-01-24  David S. Miller  <davem@davemloft.net>
24015         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24017 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24019         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24020         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24022 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24024         [BZ #16474]
24025         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24026         string pointers after reallocation.
24028 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24030         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24031         __SH4A__ instead of __SH_FPU_ANY__.
24033 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24035         * sysdeps/sh/fpu_control.h: New file.
24036         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24037         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24038         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24039         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24040         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24041         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24042         * sysdeps/sh/sys/ucontext.h: Remove.
24043         * sysdeps/sh/sys: Remove directory.
24045 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24047         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24048         s390/sys/ucontext.h.
24049         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24050         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24052 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24054         [BZ #15605]
24055         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24057 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24059         [BZ#16431]
24060         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24061         Adjust the vDSO correctly for internal calls.
24062         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24064 2014-01-20  Allan McRae  <allan@archlinux.org>
24066         * po/ca.po: Update Catalan translation from translation project.
24068 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24070         * sysdeps/s390/sotruss-lib.c: New file.
24072 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24074         [BZ#16430]
24075         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24076         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24077         local calls issues by not having a PLT stub required for IFUNC calls.
24078         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24080 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24082         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24083         * math/test-fpucw-static.c: Likewise.
24085 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24087         [BZ #16453]
24088         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24090 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24092         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24093         implementation for powerpc.
24095 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24097         [BZ #14782]
24098         * sysdeps/posix/system.c (__libc_system): Do not enable
24099         asynchronous cancellation.
24101 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24103         [BZ #16427]
24104         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24105         handling only for numbers special also in the IEEE case.
24107 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24109         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24111 2014-01-11  Allan McRae  <allan@archlinux.org>
24113         * po/bg.po: Update Bulgarian translation from translation project.
24115         * po/de.po: Update German translation from translation project.
24117 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24119         * sysdeps/generic/gcc-compat.h: New file.
24121 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24123         * benchtests/asin-inputs: Correct slow inputs.
24124         * benchtests/acos-inputs: Likewise.
24126 2014-01-10  Allan McRae  <allan@archlinux.org>
24128         * po:sv.po: Update Swedish translation from translation project.
24130         * po/vi.po: Update Vietnamese translation from translation project.
24132         * po/eo.po: Update Esperanto translation from translation project.
24134         * po/cs.po: Update Czech translation from translation project.
24136         * po/nl.po: Update Dutch translation from translation project.
24138         * po/pl.po: Update Polish translation from translation project.
24140         * po/ru.po: Update Russian translation from translation project.
24142         * po/uk.po: Update Ukrainian translation from translation project.
24144 2014-01-08  Brooks Moses  <bmoses@google.com>
24146         * elf/dl-load.c: Fix comment typo.
24148 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24150         * po/header.pot: Rename to...
24151         * po/pot.header: ... this.
24152         * po/Makefile: Use pot.header.
24154 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24155             Maxim Kuvyrkov  <maxim@kugelworks.com>
24157         [BZ #16394]
24158         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24159         SRC and DEST against LEN.
24161 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24163         [BZ #16414]
24164         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24165         implementation.
24166         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24168 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24172 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24174         [BZ #16408]
24175         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24176         for large positive arguments.
24178 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24180         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24182         * math/auto-libm-test-in: Mark various tests with
24183         xfail-rounding:ldbl-128ibm.
24184         * math/auto-libm-test-out: Regenerated.
24186         [BZ #16407]
24187         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24188         Increase overflow threshold.
24190 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24192         [BZ #14286]
24193         * stdio-common/vfprintf.c: Check for integer overflow.
24195 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24197         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24198         the first argument and return value of __tls_get_addr_internal.
24200 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24202         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24203         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24205 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24207         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24208         * sysdeps/s390/rtld-global-offsets.sym: New file.
24209         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24210         GLIBC_2.19 symbol.
24211         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24213         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24214         ... this.
24215         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24216         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24217         ... this.
24218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24219         Regenerate.
24220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24221         Regenerate.
24222         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24223         halfs of GPRs for high_gprs contexts.
24224         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24225         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24226         field.
24227         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24228         uc_flags field.
24229         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24230         64 bit versions:
24231         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24232         for high GPRs (uc_high_gprs) and for future extensions
24233         (__reserved).
24234         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24235         for future extensions (__reserved).
24236         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24237         64 bit versions:
24238         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24239         SC_HIGHGPRS offset definition.
24240         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24241         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24243         * Versions.def: Add GLIBC_2.19 for libpthread.
24244         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24245         siglongjmp for libpthread with GLIBC_2.19 symver.
24246         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24247         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24248         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24249         * sysdeps/s390/__longjmp.c: New file.
24250         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24251         * sysdeps/s390/longjmp.c: New file.
24252         * sysdeps/s390/setjmp.S: New file.
24253         * sysdeps/s390/sigjmp.S: New file.
24254         * sysdeps/s390/v1-longjmp.c: New file.
24255         * sysdeps/s390/v1-setjmp.h: New file.
24256         * sysdeps/s390/v1-sigjmp.c: New file.
24257         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24258         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24259         GLIBC_2.19 version.
24260         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24261         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24262         versioned symbols for ____longjmp_chk.
24263         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24264         Likewise.
24265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24266         Regenerate.
24267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24268         Regenerate.
24269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24270         Regenerate.
24271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24272         Regenerate.
24273         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24274         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24275         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24276         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24277         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24278         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24279         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24280         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24281         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24282         * sysdeps/s390/rtld-__longjmp.c: New file.
24283         * sysdeps/s390/rtld-setjmp.S: New file.
24285 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24287         [BZ #16400]
24288         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24289         Return -__logl (x) for small positive arguments without evaluating
24290         a polynomial.
24292 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24294         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24295         Rename to ...
24296         (__ptrace_peeksiginfo_args): ... this.
24297         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24298         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24299         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24301 2014-01-06  Allan McRae  <allan@archlinux.org>
24303         * inet/netinet/in.h: Fix typo in comment.
24305 2014-01-05  Andreas Jaeger  <aj@suse.de>
24307         * sysdeps/i386/fpu/libm-test-ulps: Update.
24309 2014-01-05  Allan McRae  <allan@archlinux.org>
24311         * po/libc.pot: Regenerated.
24313         * malloc/memusagestat.c: Fix gettext call formatting.
24315 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24317         * nscd/nscd.c: Improve usage() output.
24319 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24321         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24322         * sysdeps/unix/sysv/linux/configure: Regenerated.
24323         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24324         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24326 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24328         [BZ #16390]
24329         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24330         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24332 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24334         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24335         extra tokens at end of #undef directive.
24336         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24337         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24338         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24340 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24342         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24344         * math/auto-libm-test-in: Mark various tests with
24345         xfail-rounding:ldbl-128ibm.
24346         * math/auto-libm-test-out: Regenerated.
24348 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24350         [BZ #16386]
24351         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24352         numbers with subnormal high part when calculating exponent.
24354         [BZ #16385]
24355         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24356         fabs.
24358         [BZ #16384]
24359         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24360         M_LN2l.
24361         (__ieee754_acoshl): Use __log1pl not __log1p.
24363 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24365         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24366         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24367         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24368         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24369         (reused_arena, arena_get2): Convert to GNU style.
24370         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24371         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24372         (memalign_check, __malloc_set_state): Likewise.
24373         * malloc/mallocbug.c (main): Likewise.
24374         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24375         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24376         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24377         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24378         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24379         (__posix_memalign, malloc_info): Likewise.
24380         * malloc/malloc.h: Likewise.
24381         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24382         (mallochook, memalignhook, reallochook, mabort): Likewise.
24383         * malloc/mcheck.h: Likewise.
24384         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24385         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24386         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24387         * malloc/morecore.c (__default_morecore): Likewise.
24388         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24389         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24390         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24391         (print_and_abort): Likewise.
24392         * malloc/obstack.h: Likewise.
24393         * malloc/set-freeres.c (__libc_freeres): Likewise.
24394         * malloc/tst-mallocstate.c (main): Likewise.
24395         * malloc/tst-mtrace.c (main): Likewise.
24396         * malloc/tst-realloc.c (do_test): Likewise.
24398 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24400         [BZ #16366]
24401         * nscd/netgroupcache.c (do_notfound): New function.
24402         (addgetnetgrentX): Use it.
24404         [BZ # 16365]
24405         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24406         NSS_STATUS_NOTFOUND.
24408 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24410         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24413 2014-01-01  Allan McRae  <allan@archlinux.org>
24415         * scripts/update-copyrights: Update configure input file suffix.
24417         * NEWS: Update copyright year.
24418         * catgets/gencat.c: Likewise.
24419         * csu/version.c: Likewise.
24420         * debug/catchsegv.sh: Likewise.
24421         * debug/pcprofiledump.c: Likewise.
24422         * debug/xtrace.sh: Likewise.
24423         * elf/ldconfig.c: Likewise.
24424         * elf/ldd.bash.in: Likewise.
24425         * elf/pldd.c: Likewise.
24426         * elf/sotruss.ksh: Likewise.
24427         * elf/sprof.c: Likewise.
24428         * iconv/iconv_prog.c: Likewise.
24429         * iconv/iconvconfig.c: Likewise.
24430         * locale/programs/locale.c: Likewise.
24431         * locale/programs/localedef.c: Likewise.
24432         * login/programs/pt_chown.c: Likewise.
24433         * malloc/memusage.sh: Likewise.
24434         * malloc/memusagestat.c: Likewise.
24435         * malloc/mtrace.pl: Likewise.
24436         * manual/libc.texinfo: Likewise.
24437         * nscd/nscd.c: Likewise.
24438         * nss/getent.c: Likewise.
24439         * nss/makedb.c: Likewise.
24440         * posix/getconf.c: Likewise.
24441         * scripts/test-installation.pl: Likewise.
24443         * All files with FSF copyright notices: Update copyright dates
24444         using scripts/update-copyrights.
24445         * intl/plural.c: Regenerated.
24446         * locale/programs/charmap-kw.h: Likewise.
24447         * locale/programs/locfile-kw.h: Likewise.
24449 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24451         * sysdeps/unix/sysv/linux/configure: Regenerated.
24452         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24453         the linux/fanotify.h header.
24454         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24455         HAVE_LINUX_FANOTIFY_H is defined.
24457 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24459         * benchtests/cos-inputs: New inputs.
24460         * benchtests/sin-inputs: Likewise.
24462         * benchtests/atan-inputs: New inputs. Fix name of multiple
24463         precision fallback inputs.
24465         * benchtests/atanh-inputs: New inputs.
24466         * benchtests/tanh-inputs: Likewise.
24468         * benchtests/acosh-inputs: New inputs.
24469         * benchtests/asinh-inputs: Likewise.
24471         * benchtests/cosh-inputs: New inputs.
24472         * benchtests/sinh-inputs: Likewise.
24474         * benchtests/acos-inputs: Add more inputs.
24475         * benchtests/asin-inputs: Likewise.
24477 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24479         [BZ #16375]
24480         * manual/arith.texi: Fix spelling.
24481         * manual/charset.texi: Likewise.
24482         * manual/errno.texi: Likewise.
24483         * manual/filesys.texi: Likewise.
24484         * manual/lang.texi: Likewise.
24485         * manual/llio.texi: Likewise.
24486         * manual/locale.texi: Likewise.
24487         * manual/message.texi: Likewise.
24488         * manual/resource.texi: Likewise.
24489         * manual/search.texi: Likewise.
24490         * manual/setjmp.texi: Likewise.
24491         * manual/stdio.texi: Likewise.
24492         * manual/string.texi: Likewise.
24493         * manual/sysinfo.texi: Likewise.
24494         * manual/time.texi: Likewise.
24496 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24498         * po/sl.po: New file.
24500 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24502         * .gitignore: Add core/.gdbinit/.gdb_history.
24504 2013-12-27  Allan McRae  <allan@archlinux.org>
24506         [BZ #16369]
24507         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24508         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24510 2013-12-24  Brooks Moses  <bmoses@google.com>
24512         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24513         all compilers that claim C++98 compliance, not just GCC.
24514         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24515         Likewise.
24517 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24519         * NEWS: Restore accidentally deleted bug-fix entries.
24521 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24522             Ondřej Bílka  <neleai@seznam.cz>
24524         [BZ #15073]
24525         * malloc/malloc.c (_int_free): Perform sanity check only if we
24526         have_lock.
24528 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24530         [BZ #12986]
24531         * manual/stdio.texi (String Input Conversions): Clarify that character
24532         classes are not supported.
24534 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24538 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24540         [BZ #16337]
24541         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24542         Calculate results for small negative arguments directly rather
24543         than using reflection formula with special underflow handling.
24545         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24546         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24547         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24548         (fchflags): Likewise.
24549         (revoke): Likewise.
24550         (setlogin): Likewise.
24551         (sigaltstack): Likewise.
24552         (wait4): Likewise.
24553         (sigblock): Remove.
24554         (sigsetmask): Likewise.
24555         (wait3): Likewise.
24556         (waitpid): Likewise.
24557         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24558         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24559         file.
24560         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24561         * sysdeps/unix/bsd/Makefile: ... here.
24562         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24563         * sysdeps/unix/bsd/Versions: ... here.
24564         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24565         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24566         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24567         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24568         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24569         * sysdeps/unix/bsd/sigblock.c: ... here.
24570         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24571         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24572         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24573         * sysdeps/unix/bsd/sigvec.c: ... here.
24574         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24575         * sysdeps/unix/bsd/tcdrain.c: ... here.
24576         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24577         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24578         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24579         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24580         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24581         * sysdeps/unix/bsd/wait.c: ... here.
24582         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24583         * sysdeps/unix/bsd/wait3.c: ... here.
24584         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24585         * sysdeps/unix/bsd/waitpid.c: ... here.
24587 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24589         [BZ #16356]
24590         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24591         round-to-nearest for [!USE_AS_EXPM1L].
24592         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24593         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24594         more tests of exp and exp10.  Expect some exp10 tests to miss
24595         exceptions or fail in directed rounding modes.
24596         * math/auto-libm-test-out: Regenerated.
24597         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24598         (exp10_test_tonearest): New function.
24599         (exp10_towardzero_test_data): New array.
24600         (exp10_test_towardzero): New function.
24601         (exp10_downward_test_data): New array.
24602         (exp10_test_downward): New function.
24603         (exp10_upward_test_data): New array.
24604         (exp10_test_upward): New function.
24605         (main): Call the new functions.
24606         * sysdeps/i386/fpu/libm-test-ulps: Update.
24607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24609 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24611         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24612         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24613         * math/auto-libm-test-out: Regenerated.
24614         * math/libm-test.inc (acosh_test_data): Add more tests.
24615         (atanh_test_data): Likewise.
24616         (ceil_test_data): Likewise.
24617         (copysign_test_data): Likewise.
24618         * sysdeps/i386/fpu/libm-test-ulps: Update.
24619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24621         * timezone/checktab.awk: Update from tzcode 2013i.
24622         * timezone/private.h: Likewise.
24623         * timezone/scheck.c: Likewise.
24624         * timezone/tzfile.h: Likewise.
24625         * timezone/tzselect.ksh: Likewise.
24626         * timezone/zdump.c: Likewise.
24627         * timezone/zic.c: Likewise.
24629         * math/auto-libm-test-in: Add tests of cpow.
24630         * math/auto-libm-test-out: Regenerated.
24631         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24632         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24633         mpc_cc_c.
24634         (func_calc_desc): Add mpc_cc_c union field.
24635         (test_functions): Add cpow.
24636         (special_fill_2pi): New function.
24637         (special_real_inputs): Add 2pi.
24638         (calc_generic_results): Handle mpc_cc_c.
24639         * sysdeps/i386/fpu/libm-test-ulps: Update.
24640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24642         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24643         csqrt, ctan and ctanh.
24644         * math/auto-libm-test-out: Regenerated.
24645         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24646         (TEST_COND_x86): Likewise.
24647         (ccos_test_data): Use AUTO_TESTS_c_c.
24648         (ccosh_test_data): Likewise.
24649         (cexp_test_data): Likewise.
24650         (clog_test_data): Likewise.
24651         (csqrt_test_data): Likewise.
24652         (ctan_test_data): Likewise.
24653         (ctan_tonearest_test_data): Likewise.
24654         (ctan_towardzero_test_data): Likewise.
24655         (ctan_downward_test_data): Likewise.
24656         (ctan_upward_test_data): Likewise.
24657         (ctanh_test_data): Likewise.
24658         (ctanh_tonearest_test_data): Likewise.
24659         (ctanh_towardzero_test_data): Likewise.
24660         (ctanh_downward_test_data): Likewise.
24661         (ctanh_upward_test_data): Likewise.
24662         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24663         mpc_c_c.
24664         (func_calc_desc): Add mpc_c_c union field.
24665         (FUNC_mpc_c_c): New macro.
24666         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24667         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24668         ctanh.
24669         (special_fill_min_subnorm_p120): New function.
24670         (special_real_inputs): Add min_subnorm_p120.
24671         (calc_generic_results): Handle mpc_c_c.
24672         * sysdeps/i386/fpu/libm-test-ulps: Update.
24673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24675 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24677         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24678         (do_sin_slow): New functions.
24679         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24680         (cslow2, csloww1, csloww2): Use the new functions.
24682         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24683         Use M to change sign of result instead of X.  Assume X is
24684         positive.
24685         (csloww1): Likewise.
24686         (__sin): Adjust.
24687         (__cos): Adjust.
24689         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24690         arguments A and DA.
24691         (__sin): Adjust.
24692         (__cos): Likewise.
24694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24695         (__cos): Likewise.
24696         (sloww1): Don't adjust sign of DX.
24697         (csloww1): Likewise.
24698         (sloww2): Use X directly and don't adjust sign of DX.
24699         (csloww2): Likewise.
24701 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24703         * math/auto-libm-test-in: Add tests of cabs and carg.
24704         * math/auto-libm-test-out: Regenerated.
24705         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24706         (carg_test_data): Likewise.
24707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24708         mpc_c_f.
24709         (func_calc_desc): Add mpc_c_f union field.
24710         (test_functions): Add cabs and carg.
24711         (calc_generic_results): Handle mpc_c_f.
24713         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24714         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24715         as a macro and a compat symbol.
24716         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24717         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24718         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24719         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24720         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24722         not use .hidden.
24723         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24724         Likewise.
24725         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24726         Likewise.
24727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24728         Likewise.
24729         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24730         Likewise.
24731         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24732         Likewise.
24733         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24734         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24735         from GLIBC_2.3.2.
24737 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24741 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24743         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24744         trailing whitespace removed.
24745         * scripts/config.guess: Update to version 2013-11-29.
24746         * scripts/config.sub: Update to version 2013-10-01.
24748         * math/auto-libm-test-in: Add tests of sincos.
24749         * math/auto-libm-test-out: Regenerated.
24750         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24751         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24752         mpfr_f_11.
24753         (func_calc_desc): Add mpfr_f_11 union field.
24754         (test_functions): Add sincos.
24755         (calc_generic_results): Handle mpfr_f_11.
24756         * sysdeps/i386/fpu/libm-test-ulps: Update.
24757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24759 2013-12-19  Andreas Schwab  <schwab@suse.de>
24761         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24762         CALL_MCOUNT.
24763         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24764         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24765         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24767 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24769         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24770         * sysdeps/i386/fpu/libm-test-ulps: Update.
24771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24773         [BZ #16293]
24774         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24775         round-to-nearest mode when using frndint.
24776         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24777         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24779         Likewise.
24780         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24781         sinh test to fail.
24782         * math/auto-libm-test-out: Regenerated.
24783         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24784         (TEST_COND_x86): Likewise.
24785         (expm1_tonearest_test_data): New array.
24786         (expm1_test_tonearest): New function.
24787         (expm1_towardzero_test_data): New array.
24788         (expm1_test_towardzero): New function.
24789         (expm1_downward_test_data): New array.
24790         (expm1_test_downward): New function.
24791         (expm1_upward_test_data): New array.
24792         (expm1_test_upward): New function.
24793         (main): Run the new test functions.
24794         * sysdeps/i386/fpu/libm-test-ulps: Update.
24795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24797         * include/features.h: Update comment documenting feature test
24798         macros.  Mention _DEFAULT_SOURCE in comment.
24799         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24800         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24801         _BSD_SOURCE and _SVID_SOURCE.
24802         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24803         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24804         !_SVID_SOURCE]: Likewise.
24805         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24806         (__USE_POSIX_IMPLICITLY): Define.
24807         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24808         (_POSIX_SOURCE): Undefine and redefine.
24809         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24810         (_POSIX_C_SOURCE): Likewise.
24811         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24812         (Feature Test Macros): Update documentation of default features.
24814 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24816         * benchtests/Makefile: Add bench-strtok.
24817         * benchtests/bench-strtok.c: New file: strtok benchtest.
24819 2013-12-19  Allan McRae  <allan@archlinux.org>
24821         * manual/install.texi: Suppress menu for plain text output.
24822         * INSTALL: Regenerated.
24824 2013-12-18  Brooks Moses  <bmoses@google.com>
24826         [BZ #15846]
24827         * misc/getauxval.c: Include errno.h.
24828         (__getauxval): Set errno to ENOENT if the requested type is not
24829         found.
24830         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24831         don't declare with __attribute_const__.
24832         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24833         * manual/startup.texi: Document that getauxval sets errno.
24835 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24837         * math/auto-libm-test-in: Add tests of jn and yn.
24838         * math/auto-libm-test-out: Regenerated.
24839         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24840         (yn_test_data): Likewise.
24841         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24842         mpfr_if_f.
24843         (func_calc_desc): Add mpfr_if_f union field.
24844         (FUNC_mpfr_if_f): New macro.
24845         (test_functions): Add jn and yn.
24846         (calc_generic_results): Assert type of second input for
24847         mpfr_ff_f.  Handle mpfr_if_f.
24848         (output_for_one_input_case): Disable all checking for arguments
24849         fitting floating-point types in case of an integer argument.
24850         * sysdeps/i386/fpu/libm-test-ulps: Update.
24851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24854         Don't expect fegetround reference in libm.so.
24856 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24858         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24859         $(config-cflags-nofma).
24861 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24863         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24864         * math/auto-libm-test-out: Regenerated.
24866         [BZ #16338]
24867         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24868         to determine exponent and adjust argument to have exponent of -1.
24869         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24870         log2.
24871         * math/auto-libm-test-out: Regenerated.
24872         * sysdeps/i386/fpu/libm-test-ulps: Update.
24873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24875 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24877         * manual/probes.texi: Remove cases when per-thread arenas are
24878         disabled.
24880 2013-12-18  Andreas Schwab  <schwab@suse.de>
24882         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24883         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24884         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24885         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24886         * sysdeps/i386/i686/multiarch/Makefile: Update.
24887         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24889 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24891         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24892         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24894 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24896         [BZ #15968]
24897         Support TZ transition times < 00:00:00.
24898         This is needed for version-3 tz-format files; it supports time
24899         stamps past 2037 for America/Godthab (the only entry in the tz
24900         database for which this change is relevant).
24901         * manual/time.texi (TZ Variable): Document transition times
24902         from -167:59:59 through -00:00:01.
24903         * time/tzset.c (tz_rule): Time of day is now signed.
24904         (__tzset_parse_tz): Parse negative time of day.
24906         Document TZ transition times >= 25:00:00.
24907         * manual/time.texi (TZ Variable): Document transition times from
24908         25:00:00 through 167:59:59.  These are already supported, and this
24909         support will help with version-3 tz-format files.
24911         * manual/time.texi (TZ Variable): Modernize North America example
24912         to reflect current (i.e., 2007-and-later) daylight saving rules.
24914         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24916 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24918         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24919         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24920         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24922         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24923         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24924         * sysdeps/unix/bsd/clock.c: Likewise.
24925         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24926         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24927         * sysdeps/unix/bsd/init-posix.c: Likewise.
24928         * sysdeps/unix/bsd/poll.c: Likewise.
24929         * sysdeps/unix/bsd/ptsname.c: Likewise.
24930         * sysdeps/unix/bsd/seekdir.c: Likewise.
24931         * sysdeps/unix/bsd/setegid.c: Likewise.
24932         * sysdeps/unix/bsd/seteuid.c: Likewise.
24933         * sysdeps/unix/bsd/setgid.c: Likewise.
24934         * sysdeps/unix/bsd/setrgid.c: Likewise.
24935         * sysdeps/unix/bsd/setruid.c: Likewise.
24936         * sysdeps/unix/bsd/setsid.c: Likewise.
24937         * sysdeps/unix/bsd/setuid.c: Likewise.
24938         * sysdeps/unix/bsd/sigaction.c: Likewise.
24939         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24940         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24941         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24942         * sysdeps/unix/bsd/telldir.c: Likewise.
24943         * sysdeps/unix/bsd/times.c: Likewise.
24944         * sysdeps/unix/bsd/usleep.c: Likewise.
24946         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24947         ($(objpfx)libbsd-compat.a): Remove rule.
24949         * include/features.h (__FAVOR_BSD): Do not define.
24950         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24951         features conflicting with POSIX.
24952         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24953         (_BSD_SOURCE): Remove description of not being a subset of other
24954         feature test macros.
24955         * manual/job.texi (getpgrp): Do not document BSD version.
24956         (getpgid): Do not document by reference to BSD getpgrp.
24957         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24958         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24959         * signal/signal.h [__FAVOR_BSD]: Likewise.
24960         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24961         instead of making contents conditional on [__FAVOR_BSD].
24962         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24964 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24968 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24970         [BZ #16314]
24971         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24972         values below 2**-450, not 2**-500.
24973         * math/auto-libm-test-in: Don't allow spurious underflow from
24974         hypot.
24975         * math/auto-libm-test-out: Regenerated.
24977         [BZ #16316]
24978         [BZ #16330]
24979         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24980         values of ha and hb and sort them after adjusting subnormal
24981         arguments.
24982         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24983         Likewise.
24984         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24985         values of ea and eb and sort them after adjusting subnormal
24986         arguments.
24987         * math/auto-libm-test-in: Do not expect some hypot tests of
24988         subnormals to fail.  Add more hypot tests.
24989         * math/auto-libm-test-out: Regenerated.
24991 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24993         [BZ #13304]
24994         * sysdeps/sh/s_fma.c: New file.
24995         * sysdeps/sh/s_fmaf.c: New file.
24996         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24997         version.
24998         * sysdeps/sh/Implies: Add sh/soft-fp.
25000 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25002         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25003         level of indirection to members `objname', `errstring', `malloced'.
25004         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25005         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25006         it as the __longjmp argument (just pass 1 instead).
25007         (_dl_catch_error): Initialize C with argument pointers and address of
25008         volatile local ERRCODE rather than copying values out of C at return.
25010 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25012         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25013         * math/auto-libm-test-out: Regenerated.
25014         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25015         (hypot_test_data): Likewise.
25016         (pow_test_data): Likewise.
25017         (pow_tonearest_test_data): Likewise.
25018         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25019         mpfr_ff_f.
25020         (func_calc_desc): Add mpfr_ff_f union field.
25021         (FUNC_mpfr_ff_f): New macro.
25022         (test_functions): Add atan2, hypot and pow.
25023         (special_fill_min): New function.
25024         (special_fill_minus_min): Likewise.
25025         (special_fill_min_subnorm): Likewise.
25026         (special_fill_minus_min_subnorm): Likewise.
25027         (special_real_inputs): Add min, -min, min_subnorm and
25028         -min_subnorm.
25029         (calc_generic_results): Handle mpfr_ff_f.
25030         * sysdeps/i386/fpu/libm-test-ulps: Update.
25031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25033 2013-12-16  Will Newton  <will.newton@linaro.org>
25035         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25036         (Aligned Memory Blocks): Add documentation for aligned_alloc
25037         and suggest it as an alternative to posix_memalign.
25038         (Hooks for Malloc): Document __memalign_hook is also called
25039         for aligned_alloc.  (Summary of Malloc): Add summary for
25040         aligned alloc.  Document __memalign_hook is also called
25041         for aligned_alloc.
25043 2013-12-16  Will Newton  <will.newton@linaro.org>
25045         * manual/memory.texi (Malloc Examples): Clarify default
25046         alignment documentation.  Suggest posix_memalign rather
25047         than memalign or valloc.
25048         (Aligned Memory Blocks): Remove suggestion to use memalign
25049         or valloc.  Remove obsolete comment about BSD.
25050         Document memalign errno values and mark the function obsolete.
25051         Document posix_memalign returned error codes.  Mark valloc
25052         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25053         called for posix_memalign and valloc.
25054         (Summary of Malloc): Add posix_memalign to function summary.
25055         __memalign_hook is also called for posix_memalign and valloc.
25057 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25059         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25060         TAYLOR_SIN.
25061         (__sin): Adjust.
25062         (__cos): Likewise.
25063         (sloww): Use mynumber union.  Expand ternary operator into
25064         if-else statements.
25065         (cslow): use mynumber union.
25067 2013-12-16  Allan McRae  <allan@archlinux.org>
25069         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25070         * configure: Regenerated.
25072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25074         [BZ #14120]
25075         * configure.ac: Added --enable-maintainer-mode. Check for
25076         autoconf when enabled.
25077         * configure: Regenerated.
25079         * nscd/nscd.service: New file.
25080         * nscd/nscd.tmpfiles: New file.
25082 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25084         [BZ #12100]
25085         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25086         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25087         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25088         (strstr): Add __strstr_sse2_unaligned ifunc.
25089         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25090         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25091         (strcasestr): Remove __strcasestr_sse42 ifunc.
25092         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25096 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25098         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25099         * sysdeps/sh/bits/fenv.h: ... here.
25100         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25102 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25104         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25107         hypotf multiarch implementations.
25108         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25109         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25110         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25111         multiarch hypot for PPC64.
25112         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25113         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25114         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25115         multiarch hypotf for PPC64.
25117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25118         modff multiarch implementations.
25119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25122         multiarch modf for PPC64.
25123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25126         multiarch modff for PPC64.
25128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25129         and logl multiarch implementations.
25130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25133         multiarch logb for PPC64.
25134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25137         multiarch logb for PPC64.
25138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25141         multiarch logb for PPC64.
25143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25144         isinff multiarch implementation.
25145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25146         file.
25147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25149         multiarch isinf for PPC64.
25150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25151         file.
25152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25153         multiarch isinff for PPC64.
25155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25156         finitef multiarch implementation.
25157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25158         file.
25159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25161         multiarch finite for PPC64.
25162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25163         file.
25164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25165         multiarch finitef for PPC64.
25167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25168         lrint multiarch implementation.
25169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25170         file.
25171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25173         multiarch llrint for PPC64.
25174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25175         multiarch lrint for PPC64.
25177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25178         copysignf multiarch implementation.
25179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25180         file.
25181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25182         file.
25183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25184         multiarch copysign for PPC64.
25185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25186         multiarch copysignf for PPC64.
25188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25189         multiarch implementation.
25190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25191         file.
25192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25193         file.
25194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25195         file.
25196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25197         file.
25198         multiarch llround for PPC64.
25199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25200         multiarch trunc for PPC64.
25201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25202         multiarch truncf for PPC64.
25204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25205         multiarch implementation.
25206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25207         file.
25208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25209         file.
25210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25211         file.
25212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25213         file.
25214         multiarch llround for PPC64.
25215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25216         multiarch round for PPC64.
25217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25218         multiarch roundf for PPC64.
25220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25221         multiarch implementation.
25222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25223         file.
25224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25225         file.
25226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25227         file.
25228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25229         file.
25230         multiarch llround for PPC64.
25231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25232         multiarch floor for PPC64.
25233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25234         multiarch floorf for PPC64.
25236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25237         multiarch implementation.
25238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25239         file.
25240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25241         file.
25242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25243         file.
25244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25245         file.
25246         multiarch llround for PPC64.
25247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25248         multiarch ceil for PPC64.
25249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25250         multiarch ceilf for PPC64.
25252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25253         multiarch implementation.
25254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25255         file.
25256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25257         file.
25258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25259         file.
25260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25261         multiarch llround for PPC64.
25262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25263         multiarch lround for PPC64.
25265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25266         multiarch implementation.
25267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25270         file.
25271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25274         multiarch isnan for PPC64.
25275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25276         multiarch isnanf for PPC64.
25278         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25279         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25280         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25281         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25282         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25285         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25286         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25287         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25291         multiarch implementations.
25292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25293         (__libc_ifunc_impl_list): Likewise.
25294         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25296         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25297         multiarch stpcpy for PPC64.
25299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25300         multiarch implementations.
25301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25302         (__libc_ifunc_impl_list): Likewise.
25303         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25304         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25305         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25306         multiarch strcpy for PPC64.
25308         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25309         redefine function name.
25310         (_wordcopy_fwd_dest_aligned): Likewise.
25311         (_wordcopy_bwd_aligned): Likewise.
25312         (_wordcopy_bwd_dest_aligned): Likewise.
25313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25314         multiarch implementations.
25315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25316         (__libc_ifunc_impl_list): Likewise.
25317         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25318         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25319         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25320         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25321         multiarch wcscpy for PPC64.
25323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25324         multiarch implementations.
25325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25326         (__libc_ifunc_impl_list): Likewise.
25327         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25328         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25329         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25330         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25331         multiarch wcscpy for PPC64.
25333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25334         multiarch implementations.
25335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25336         (__libc_ifunc_impl_list): Likewise.
25337         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25338         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25339         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25340         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25341         multiarch wcsrchr for PPC64.
25343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25344         multiarch implementations.
25345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25346         (__libc_ifunc_impl_list): Likewise.
25347         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25348         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25349         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25350         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25351         multiarch wcschr for PPC64.
25353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25354         multiarch implementations.
25355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25356         (__libc_ifunc_impl_list): Likewise.
25357         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25358         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25359         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25360         multiarch strchrnul for PPC64.
25362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25363         implementations.
25364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25365         (__libc_ifunc_impl_list): Likewise.
25366         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25367         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25368         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25369         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25370         strchr for PPC64.
25372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25373         implementations.
25374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25375         (__libc_ifunc_impl_list): Likewise.
25376         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25377         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25378         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25379         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25380         strncmp for PPC64.
25382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25383         multiarch implementations.
25384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25385         (__libc_ifunc_impl_list): Likewise.
25386         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25387         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25388         strncasecmp for PPC64.
25389         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25390         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25391         multiarch strncasecmp_l for PPC64.
25393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25394         multiarch implementations.
25395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25396         (__libc_ifunc_impl_list): Likewise.
25397         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25399         multiarch strcasecmp for PPC64.
25400         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25401         file.
25402         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25403         multiarch strcasecmp_l for PPC64.
25405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25406         implementations.
25407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25408         (__libc_ifunc_impl_list): Likewise.
25409         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25410         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25411         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25412         strnlen for PPC64.
25414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25415         implementations.
25416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25417         (__libc_ifunc_impl_list): Likewise.
25418         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25419         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25420         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25421         strlen for PPC64.
25423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25424         implementations.
25425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25426         (__libc_ifunc_impl_list): Likewise.
25427         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25428         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25429         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25430         rawmemrchr for PPC64.
25432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25433         implementation.
25434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25435         (__libc_ifunc_impl_list): Likewise.
25436         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25437         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25438         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25439         memrchr for PPC64.
25441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25442         implementation.
25443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25444         (__libc_ifunc_impl_list): Likewise.
25445         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25446         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25447         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25448         memchr for PPC64.
25450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25451         implementation.
25452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25453         (__libc_ifunc_impl_list): Likewise.
25454         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25455         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25456         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25457         mempcpy for PPC64.
25459         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25460         avoid cretion of __bzero symbol.
25461         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25462         Likewise.
25463         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25464         Likewise.
25465         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25466         Likewise.
25467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25468         multiarch implementations.
25469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25470         (__libc_ifunc_impl_list): Likewise.
25471         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25472         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25473         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25474         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25475         bzero for PPC32.
25476         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25477         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25478         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25479         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25480         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25481         memset for PPC64.
25482         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25484         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25486         implementations.
25487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25488         (__libc_ifunc_impl_list): Likewise.
25489         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25490         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25491         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25492         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25493         memcmp for PPC64.
25495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25496         multiarch for POWER/PPC64.
25497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25498         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25502         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25503         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25504         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25505         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25506         memcpy for PPC64.
25508         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25509         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25510         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25511         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25512         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25513         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25514         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25515         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25516         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25517         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25518         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25519         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25520         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25521         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25522         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25531 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25535 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25537         * benchtests/Makefile (bench): Add exp2 and log2.
25538         (LDLIBS-bench-exp2): Add -lm.
25539         (LDLIBS-bench-log2): Likewise.
25540         * benchtests/exp2-inputs: New inputs file.
25541         * benchtests/log2-inputs: New inputs file.
25542         * benchtests/log-inputs: Add new inputs.
25543         * benchtests/tan-inputs: Likewise.
25545 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25547         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25548         definition...
25549         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25550         (csloww2): ... from here.
25552         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25553         instead of structures.
25554         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25555         (POLYNOMIAL): Likewise.
25556         (TAYLOR_SLOW): Likewise.
25557         (__sin): Likewise.
25558         (__cos): Likewise.
25559         (slow1): Likewise.
25560         (slow2): Likewise.
25561         (sloww): Likewise.
25562         (sloww1); Likewise.
25563         (sloww2): Likewise.
25564         (bsloww1): Likewise.
25565         (bsloww2): Likewise.
25566         (cslow2): Likewise.
25567         (csloww): Likewise.
25568         (csloww1): Likewise.
25569         (csloww2): Likewise.
25571 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25573         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25574         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25575         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25576         * malloc/hooks.c (realloc_check): Likewise.
25578         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25579         * malloc/arena.c: Remove PER_THREAD conditional.
25580         [!PER_THREAD]: Remove code.
25581         (ptmalloc_unlock_all2): Likewise.
25582         (ptmalloc_init): Likewise.
25583         (_int_new_arena): Likewise.
25584         (arena_get2): Likewise.
25585         * malloc/hooks.c (__malloc_get_state): Likewise.
25586         (__malloc_set_state): Likewise.
25587         * malloc/malloc.c: Likewise.
25588         (struct malloc_state): Likewise.
25589         (struct malloc_par): Likewise.
25590         (__libc_realloc): Likewise.
25591         (__libc_mallopt): Likewise.
25593 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25595         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25597 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25599         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25600         macro to a function.  Check for zero perturb_byte.
25601         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25603         * malloc/malloc.c: (force_reg): Remove.
25604         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25605         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25606         force_reg by atomic_forced_read.
25607         * malloc/arena.c (ptmalloc_init): Likewise.
25608         * malloc/hooks.c (top_check): Likewise.
25610 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25614 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25618 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25620         * math/auto-libm-test-in: Add tests of lgamma.
25621         * math/auto-libm-test-out: Regenerated.
25622         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25623         (M_LOG_2_SQRT_PIl): Likewise.
25624         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25625         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25626         mpfr_f_f1.
25627         (func_calc_desc): Add mpfr_f_f1 union field.
25628         (ARGS1): New macro.
25629         (ARGS2): Likewise.
25630         (ARGS3): Likewise.
25631         (ARGS4): Likewise.
25632         (RET1): Likewise.
25633         (RET2): Likewise.
25634         (CALC): Likewise.
25635         (FUNC): Likewise.
25636         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25637         (test_functions): Add lgamma.
25638         (calc_generic_results): Handle mpfr_f_f1.
25639         * sysdeps/i386/fpu/libm-test-ulps: Update.
25640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25642 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25644         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25645         __mpn_add_n for PowerPC64/POWER7.
25646         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25647         __mpn_sub_n for PowerPC64/POWER7.
25649         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25650         __mpn_addmul_1 for PowerPC64.
25651         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25652         __mpn_submul_1 for PowerPC64.
25653         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25654         for PowerPC64.
25655         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25656         for PowerPC64.
25658 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25660         [BZ #15089]
25661         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25663 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25665         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25667         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25668         add multiarch folders.
25669         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25670         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25671         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25672         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25673         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25674         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25675         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25676         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25677         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25678         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25679         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25688         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25690         New file.
25691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25692         New file.
25693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25694         multiarch __ieee754_hypot for PowerPC32.
25695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25696         New file.
25697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25698         New file.
25699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25700         multiarch __ieee754_hypotf for PowerPC32.
25702         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25703         long_double_symbol only if __logbl is defined.
25704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25705         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25706         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25707         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25708         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25709         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25710         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25711         path for implementation.
25712         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25713         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25715         logb, and logbl multiarch implementations for PowerPC32.
25716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25717         file.
25718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25719         file.
25720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25721         multiarch logb for PowerPC32.
25722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25723         file.
25724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25725         file.
25726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25727         multiarch logbf for PowerPC32.
25728         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25730         file.
25731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25732         multiarch logbl implementation for PowerPC32.
25734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25735         and modff multiarch implementations.
25736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25737         New file.
25738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25739         New file.
25740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25741         multiarch modf for PowerPC32.
25742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25743         New file.
25744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25745         New file.
25746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25747         multiarch modff for PowerPC32.
25749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25750         and lrintf multiarch implementations.
25751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25752         New file.
25753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25754         New file.
25755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25756         multiarch lrint for PowerPC32.
25757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25758         file: multiarch lrintf for PowerPC32.
25760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25761         and lroundf multiarch implementations.
25762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25763         New file.
25764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25765         New file.
25766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25767         New file.
25768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25769         multiarch lround for PowerPC32.
25770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25771         file: multiarch lroundf for PowerPC32.
25773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25774         copysign and copysignf multiarch implementations.
25775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25776         New file.
25777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25778         New file.
25779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25780         file: multiarch copysign for PowerPC32.
25781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25782         file: multiarch copysignf for PowerPC32.
25784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25785         and truncf multiarch implementations.
25786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25787         New file.
25788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25789         file.
25790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25791         multiarch trunc for PowerPC32.
25792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25793         New file.
25794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25795         New file.
25796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25797         multiarch truncf for PowerPC32.
25799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25800         and roundf multiarch implementations.
25801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25802         New file.
25803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25804         file.
25805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25806         multiarch round for PowerPC32.
25807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25808         New file.
25809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25810         New file.
25811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25812         multiarch roundf for PowerPC32.
25814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25815         and floorf multiarch implementations.
25816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25817         New file.
25818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25819         file.
25820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25821         multiarch floor for PowerPC32.
25822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25823         New file.
25824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25825         New file.
25826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25827         multiarch floorf for PowerPC32.
25829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25830         and ceilf multiarch implementations.
25831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25832         New file.
25833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25834         file.
25835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25836         multiarch ceil for PowerPC32.
25837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25838         New file.
25839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25840         file.
25841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25842         multiarch ceilf for PowerPC32.
25844         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25845         is defined.
25846         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25847         FINITEF is defined.
25848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25849         and finitef multiarch implementations.
25850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25851         New file.
25852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25853         file.
25854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25855         multiarch finite for PowerPC32.
25856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25857         New file.
25858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25859         file: multiarch finitef for PowerPC32.
25861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25862         and isinff multiarch implementations.
25863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25864         file.
25865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25866         file.
25867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25868         multiarch isinf for PowerPC32.
25869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25870         New file.
25871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25872         multiarch isinff for PowerPC32.
25874         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25875         alias when __isnan is defined.
25876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25877         and isnanf multiarch implementations.
25878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25879         file.
25880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25881         file.
25882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25883         file.
25884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25885         file.
25886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25887         multiarch isnan for PowerPC32.
25888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25889         New file.
25890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25891         New file.
25892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25893         multiarch isnanf for PowerPC32.
25895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25896         and sqrtf multiarch implementations.
25897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25898         file.
25899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25900         file.
25901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25902         multiarch sqrt for PowerPC32.
25903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25904         file.
25905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25906         file.
25907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25908         multiarch sqrtf for PowerPC32.
25910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25911         and llroundf multiarch implementations.
25912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25913         New file.
25914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25915         New file.
25916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25917         New file.
25918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25919         file: multiarch llround for PowerPC32.
25920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25921         file: multiarch llroundf for PowerPC32.
25923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25924         multiarch PowerPC32 fpu implementations.
25925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25926         New file.
25927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25928         New file.
25929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25930         multiarch llrint for PowerPC32.
25931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25932         New file.
25933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25934         New file.
25935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25936         file.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25941         file.
25942         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25943         file.
25944         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25945         file.
25946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25947         multiarch wordcopy for PPC32.
25948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25949         wordcopy objects.
25950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25951         (__libc_ifunc_impl_list): Likewise.
25952         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25953         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25954         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25955         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25956         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25957         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25959         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25961         file.
25962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25963         file.
25964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25965         file.
25966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25967         multiarch wcscpy for PPC32.
25968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25969         multiarch objects.
25970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25971         (__libc_ifunc_impl_list): Likewise.
25972         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25973         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25974         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25975         sysdeps/powerpc/power6/wcscpy.c.
25977         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25979         file.
25980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25981         file.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25983         file.
25984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25985         multiarch wcsrchr for PPC32.
25986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25987         multiarch objects.
25988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25989         (__libc_ifunc_impl_list): Likewise.
25990         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25991         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25992         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25993         sysdeps/powerpc/power6/wcsrchr.c.
25995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25996         file.
25997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25998         file.
25999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26001         multiarch wcschr for PPc32.
26002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26003         multiarch objects.
26004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26005         (__libc_ifunc_impl_list): Likewise.
26006         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26007         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26008         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26009         sysdeps/powerpc/power6/wcschr.c.
26011         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26012         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26013         file.
26014         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26015         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26016         file: multiarch strchr for PPC32.
26017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26018         multiarch objects.
26019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26020         (__libc_ifunc_impl_list): Likewise.
26022         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26023         name.
26024         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26025         file.
26026         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26027         file.
26028         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26029         multiarch strchrnul for PPC32.
26030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26031         multiarch objects.
26032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26033         (__libc_ifunc_impl_list): Likewise.
26035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26036         file.
26037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26038         multiarch strncasecmp for PPC32.
26039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26040         file.
26041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26042         multiarch strncasecmp_l for PPC32.
26043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26044         strncasecmp multiarch objects.
26045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26046         (__libc_ifunc_impl_list): Likewise.
26048         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26049         file.
26050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26051         multiarch strncasecmp for PPC32.
26052         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26053         New file.
26054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26055         multiarch strcasecmp_l for PPC32.
26056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26057         multiarch objects.
26058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26059         (__libc_ifunc_impl_list): Likewise.
26061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26062         file.
26063         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26064         file.
26065         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26066         multiarch strncmp for PPC32.
26067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26068         multiarch objects.
26069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26070         (__libc_ifunc_impl_list): Likewise.
26072         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26073         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26074         file.
26075         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26076         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26078         multiarch objects.
26079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26080         (__libc_ifunc_impl_list): Likewise.
26082         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26083         file.
26084         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26085         file.
26086         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26088         multiarch objects.
26089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26090         (__libc_ifunc_impl_list): Likewise.
26092         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26093         file.
26094         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26095         file.
26096         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26097         multiarch rawmemchr for PPC32.
26098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26099         multiarch objects.
26100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26101         (__libc_ifunc_impl_list): Likewise.
26103         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26104         file.
26105         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26106         file.
26107         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26108         file: memrchr multiarch for PPC32.
26109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26110         multiarch objects.
26111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26112         (__libc_ifunc_impl_list): Likewise.
26114         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26115         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26116         file.
26117         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26118         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26119         multiarch memchr for PPC32.
26120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26121         multiarch objects.
26122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26123         (__libc_ifunc_impl_list): Likewise.
26125         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26127         file.
26128         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26129         file.
26130         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26131         file: multiarch mempcpy for PPC32.
26132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26133         multiarch objects.
26134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26135         (__libc_ifunc_impl_list): Likewise.
26137         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26138         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26140         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26141         multiarch bzero for PPC32.
26142         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26143         file.
26144         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26145         file.
26146         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26147         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26148         file: multiarch memset for PPC32.
26149         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26151         memset multiarch objects.
26152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26153         (__libc_ifunc_impl_list): Likewise.
26155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26156         file.
26157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26159         memcmp for PPC32.
26160         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26162         multiarch objects.
26163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26164         (__libc_ifunc_impl_list): Likewise.
26166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26167         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26169         file.
26170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26171         file.
26172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26173         file.
26174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26175         multiarch memcpy for PPC32.
26176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26177         multiarch objects.
26178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26179         (__libc_ifunc_impl_list): Likewise.
26181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26182         support multiarch for POWER/PPC32.
26183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26184         Likewise.
26185         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26187         Implies file to make multiarch folder appers before the fpu and
26188         default folder for power4 configuration.
26190 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26192         * scripts/bench.pl: Append volatile keyword to type.
26194 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26196         * sysdeps/sh/sotruss-lib.c: New file.
26197         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26199 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26203 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26205         [BZ #6810]
26206         * math/w_tgamma.c: Include <errno.h>.
26207         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26208         * math/w_tgammaf.c: Include <errno.h>.
26209         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26210         * math/w_tgammal.c: Include <errno.h>.
26211         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26212         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26213         underflow.  Add more tgamma tests.
26214         * math/auto-libm-test-out: Regenerated.
26215         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26218         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26219         sin, sinh, tan, tanh, tgamma, y0 and y1.
26220         * math/auto-libm-test-out: Regenerated.
26221         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26222         (TEST_COND_x86): Likewise.
26223         (M_E2l): Remove macro.
26224         (M_E3l): Likewise.
26225         (M_2_SQRT_PIl): Likewise.
26226         (M_SQRT_PIl): Likewise.
26227         (M_1_DIV_El): Likewise.
26228         (log_test_data): Use AUTO_TESTS_f_f.
26229         (log10_test_data): Likewise.
26230         (log1p_test_data): Likewise.
26231         (log2_test_data): Likewise.
26232         (sin_test_data): Likewise.
26233         (sin_tonearest_test_data): Likewise.
26234         (sin_towardzero_test_data): Likewise.
26235         (sin_downward_test_data): Likewise.
26236         (sin_upward_test_data): Likewise.
26237         (sinh_test_data): Likewise.
26238         (sinh_tonearest_test_data): Likewise.
26239         (sinh_towardzero_test_data): Likewise.
26240         (sinh_downward_test_data): Likewise.
26241         (sinh_upward_test_data): Likewise.
26242         (tan_test_data): Likewise.
26243         (tan_tonearest_test_data): Likewise.
26244         (tan_towardzero_test_data): Likewise.
26245         (tan_downward_test_data): Likewise.
26246         (tan_upward_test_data): Likewise.
26247         (tanh_test_data): Likewise.
26248         (tgamma_test_data): Likewise.
26249         (y0_test_data): Likewise.
26250         (y1_test_data): Likewise.
26251         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26252         (special_real_inputs): Add pi/4.
26253         * sysdeps/i386/fpu/libm-test-ulps: Update.
26254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26258         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26259         "longjmp_target" static probes.
26260         (__longjmp): Rename to __longjmp_symbol.
26261         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26262         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26263         on which longjmp to generate.
26264         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26265         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26266         probe.
26267         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26268         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26269         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26270         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26271         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26272         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26274         __longjmp_symbol based on which __longjmp to generate.
26275         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26276         probe.
26277         (setjmp): Rename to setjmp_symbol.
26278         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26279         (_setjmp): Rename to _setjmp_symbol.
26280         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26281         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26282         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26283         which setjmp to generate.
26284         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26285         "longjmp_target" static probes.
26287 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289         * benchtests/README: Add note about output arguments.
26290         * benchtests/bench-sincos.c: Remove file.
26291         * benchtests/sincos-inputs: New file.
26292         * scripts/bench.pl: Identify output arguments and define
26293         static variables for them.
26295         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26297         [BZ #15941]
26298         * Makefile (INSTALL): Add install-plain.texi as the primary
26299         dependency.
26300         * manual/install-plain.texi: New file.
26301         * manual/install.texi: Include node directive only for
26302         non-plaintext output.
26304 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26306         * stdlib/longlong.h: Update from GCC.
26308         [BZ #6807]
26309         [BZ #15901]
26310         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26311         * math/w_j0f.c (y0f): Likewise.
26312         * math/w_j0l.c (__y0l): Likewise.
26313         * math/w_j1.c (y1): Likewise.
26314         * math/w_j1f.c (y1f): Likewise.
26315         * math/w_j1l.c (__y1l): Likewise
26316         * math/w_jn.c (yn): Likewise.
26317         * math/w_jnf.c (ynf): Likewise.
26318         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26319         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26320         value for Bessel function domain errors outside _SVID_ mode.
26321         Adjust sign of return value for yn (negative integer, 0).
26322         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26323         by zero in return for negative x and set sign appropriately for
26324         negative n.
26325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26326         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26327         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26328         expectations in error cases.
26329         (y1_test_data): Likewise.
26330         (yn_test_data): Likewise.
26331         * sysdeps/i386/fpu/libm-test-ulps: Update.
26332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26334 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26336         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26337         "64" to "64-v1".  Add "64-v2".
26338         (abi-64-options): Rename to ...
26339         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26340         (abi-64-condition): Rename to ...
26341         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26342         (abi-64-ld-soname): Rename to ...
26343         (abi-64-v1-ld-soname): ... this.
26344         (abi-64-v2-options): Define.
26345         (abi-64-v2-condition): Likewise.
26346         (abi-64-v2-ld-soname): Likewise.
26347         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26348         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26353 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26354             Alan Modra  <amodra@gmail.com>
26356         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26357         New versions for use with the ELFv2 ABI.
26358         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26359         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26360         declaration.
26361         (struct La_ppc64v2_retval): Likewise.
26362         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26363         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26364         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26365         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26366         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26367         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26368         Do not save or restore CR.
26369         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26370         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26371         return values for ELFv2 ABI.  Fix location of FPR return registers.
26372         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26373         updated values for _CALL_ELF == 2.
26374         (La_regs, La_retval, int_retval): Likewise.
26376 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26378         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26379         (FRAME_MIN_SIZE_PARM): Likewise.
26380         (FRAME_BACKCHAIN): Likewise.
26381         (FRAME_CR_SAVE): Likewise.
26382         (FRAME_LR_SAVE): Likewise.
26383         (FRAME_TOC_SAVE): Likewise.
26384         (FRAME_PARM_SAVE): Likewise.
26385         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26386         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26387         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26388         (call_mcount_parm_offset): New macro.
26389         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26390         (PROF): Use symbolic stack frame offsets.
26391         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26392         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26393         Redefine in terms of FRAME_MIN_SIZE.
26394         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26395         (_dl_profile_resolve): Likewise.  Update comment.
26396         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26397         symbols stack frame offsets.
26398         (__sigsetjmp): Likewise.
26399         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26400         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26401         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26402         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26405         (FRAME_BACKCHAIN): Remove.
26406         (FRAME_CR_SAVE): Likewise.
26407         (FRAME_LR_SAVE): Likewise.
26408         (FRAME_COMPILER_DW): Likewise.
26409         (FRAME_LINKER_DW): Likewise.
26410         (FRAME_TOC_SAVE): Likewise.
26411         (FRAME_PARM_SAVE): Likewise.
26412         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26413         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26414         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26416         (CHECK_SP): Use symbolic stack frame offsets.
26417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26418         zone" instead of caller's parameter save area for temp storage.
26419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26420         Likewise.  Also, use symbolic stack frame offsets.
26421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26422         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26423         our own stack frame instead of the caller's.
26424         (__socket): Use symbolic stack frame offsets.
26426 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26427             Alan Modra  <amodra@gmail.com>
26429         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26430         Define.
26431         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26432         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26433         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26434         New function.
26435         (elf_machine_fixup_plt): Call it.
26436         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26437         reloc arguments.
26438         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26439         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26440         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26441         r2 before calling target.
26443 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26444             Alan Modra  <amodra@gmail.com>
26446         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26447         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26448         versions of macros to support ELFv2 ABI.
26449         (LOCALENTRY): New macro.
26450         (ENTRY, EALIGN): Use it.
26451         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26452         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26453         fall through into ENTRY entry point.
26454         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26455         Only define if _CALL_ELF != 2.
26457         (elf_machine_matches_host): Verify ABI version matches.
26458         (RTLD_START): Use LOCALENTRY.
26459         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26460         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26461         (PLT_ENTRY_WORDS): New macro.
26462         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26463         (elf_machine_runtime_setup): Support ELFv2 ABI.
26464         (elf_machine_fixup_plt): Likewise.
26465         (elf_machine_plt_conflict): Likewise.
26466         (resolve_ifunc): Likewise.
26467         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26468         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26469         Likewise.
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26471         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26473         (makecontext): Support ELFv2 ABI.
26474         * elf/elf.h (EF_PPC64_ABI): Define.
26476 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26478         * sysdeps/powerpc/powerpc64/sysdep.h
26479         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26480         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26481         (ENTRY) [ASSEMBLER]: ... but instead here ...
26482         (EALIGN) [ASSEMBLER]: ... and here.
26483         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26484         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26485         (ENTRY_2) [!ASSEMBLER]: Use it.
26486         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26487         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26488         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26489         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26490         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26492         Use PPC64_LOAD_FUNCPTR.
26494         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26496 2013-12-04  Alan Modra  <amodra@gmail.com>
26498         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26499         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26500         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26501         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26504         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26505         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26506         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26507         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26508         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26510 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26513         (__makecontext): Fix incorrect CFI when backtracing out of
26514         context created via makecontext.
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26516         (__setcontext): Fix incorrect CFI during switch to new context.
26517         (__novec_setcontext): Likewise.
26519 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26521         [BZ #4772]
26522         * time/strptime_l.c (__strptime_internal): Allow modifiers
26523         in strptime.
26524         * time/tst-strptime.c (day_tests): Add testcase.
26526 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26528         * scripts/bench.pl: Skip over blank lines.
26530 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26532         [BZ #926]
26533         * manual/time.texi (Calendar Time): Clarify what timezone functions
26534         use.
26536 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26540 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26542         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26543         implementation.
26544         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26545         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26546         * debug/memset_chk.c (__memset_chk): Likewise.
26547         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26548         * debug/strncpy_chk.c: Likewise.
26550 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26552         [BZ #15268]
26553         [BZ #15425]
26554         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26555         (__ieee754_exp): For possibly underflowing results, check size of
26556         result and force underflow exception if required.
26557         * math/auto-libm-test-in: Add more tests of exp.
26558         * math/auto-libm-test-out: Regenerated.
26559         * sysdeps/i386/fpu/libm-test-ulps: Update.
26560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26562         [BZ #16283]
26563         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26564         * math/w_exp2f.c (__exp2f): Likewise.
26565         * math/w_exp2l.c (__exp2l): Likewise.
26566         * math/auto-libm-test-in: Do not allow missing errno on exp2
26567         underflow.
26568         * math/auto-libm-test-out: Regenerated.
26570 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26572         [BZ #16274]
26573         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26574         handle filename validation.
26575         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26576         (do_open): Delete.
26578 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #6786]
26581         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26582         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26583         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26584         <float.h>.
26585         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26586         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26587         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26588         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26589         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26591         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26592         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26593         Add more erfc tests.
26594         * math/auto-libm-test-out: Regenerated.
26595         * sysdeps/i386/fpu/libm-test-ulps: Update.
26596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26598         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26599         exp2, expm1, j0 and j1.
26600         * math/auto-libm-test-out: Regenerated.
26601         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26602         (erfc_test_data): Likewise.
26603         (exp_test_data): Likewise.
26604         (exp_tonearest_test_data): Likewise.
26605         (exp_towardzero_test_data): Likewise.
26606         (exp_downward_test_data): Likewise.
26607         (exp_upward_test_data): Likewise.
26608         (exp10_test_data): Likewise.
26609         (exp2_test_data): Likewise.
26610         (expm1_test_data): Likewise.
26611         (j0_test_data): Likewise.
26612         (j1_test_data): Likewise.
26613         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26614         (input_flag_type): Add flag_xfail_rounding.
26615         (input_flags): Add xfail-rounding.
26616         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26617         (output_for_one_input_case): Handle flag_xfail_rounding.
26618         * sysdeps/i386/fpu/libm-test-ulps: Update.
26619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26621 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26623         [BZ #16289]
26624         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26625         division by 0.
26627 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26629         [BZ #16195]
26630         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26631         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26632         (STAP_PROBE0): New macro.
26633         (STAP_PROBE1): Likewise.
26634         (STAP_PROBE2): Likewise.
26635         (STAP_PROBE3): Likewise.
26636         (STAP_PROBE4): Likewise.
26638 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26640         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26642 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26644         * benchtests/Makefile (bench): Add sqrt.
26645         (LDLIBS-bench-sqrt): New.
26646         * benchtests/sqrt-input: New.
26648 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26650         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26651         (GAIH_EAI): Likewise.
26652         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26653         (gaih_inet): Likewise.
26654         (getaddrinfo): Don't use GAIH_EAI.
26656         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26657         (struct gaih): Remove definition.
26659 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26661         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26662         Use HERRNOP directly.
26664 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26668 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26670         * math/gen-auto-libm-tests.c (test_functions): Add more
26671         single-argument functions.
26672         (special_fill_pi_2): New function.
26673         (special_fill_minus_pi_2): Likewise.
26674         (special_fill_pi_6): Likewise.
26675         (special_fill_minus_pi_6): Likewise.
26676         (special_fill_pi_3): Likewise.
26677         (special_fill_2pi_3): Likewise.
26678         (special_fill_e): Likewise.
26679         (special_fill_1_e): Likewise.
26680         (special_fill_e_minus_1): Likewise.
26681         (special_real_inputs): Add more special inputs.
26682         (output_for_one_input_case): Do not require ERANGE on underflow to
26683         zero if round-to-nearest result does not underflow to zero, unless
26684         exact results required.
26685         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26686         atan, atanh, cbrt, cos and cosh.
26687         * math/auto-libm-test-out: Regenerated.
26688         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26689         (acos_tonearest_test_data): Likewise.
26690         (acos_towardzero_test_data): Likewise.
26691         (acos_downward_test_data): Likewise.
26692         (acos_upward_test_data): Likewise.
26693         (acosh_test_data): Likewise.
26694         (asin_test_data): Likewise.
26695         (asin_tonearest_test_data): Likewise.
26696         (asin_towardzero_test_data): Likewise.
26697         (asin_upward_test_data): Likewise.
26698         (asinh_test_data): Likewise.
26699         (atan_test_data): Likewise.
26700         (atanh_test_data): Likewise.
26701         (cbrt_test_data): Likewise.
26702         (cos_test_data): Likewise.
26703         (cos_tonearest_test_data): Likewise.
26704         (cos_towardzero_test_data): Likewise.
26705         (cos_downward_test_data): Likewise.
26706         (cos_upward_test_data): Likewise.
26707         (cosh_test_data): Likewise.
26708         (cosh_tonearest_test_data): Likewise.
26709         (cosh_towardzero_test_data): Likewise.
26710         (cosh_downward_test_data): Likewise.
26711         (cosh_upward_test_data): Likewise.
26712         * sysdeps/i386/fpu/libm-test-ulps: Update.
26713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26717         [BZ #6787]
26718         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26719         * math/w_exp10f.c (__exp10f): Likewise.
26720         * math/w_exp10l.c (__exp10l): Likewise.
26721         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26722         errno settings in existing tests.
26724         [BZ #14032]
26725         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26726         precision control set to double precision.
26727         * sysdeps/i386/fpu/w_sqrt.c: New file.
26728         * math/auto-libm-test-in: Add more tests.
26729         * math/auto-libm-test-out: Update.
26731         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26732         (sqrt_test_tonearest): New function.
26733         (sqrt_towardzero_test_data): New variable.
26734         (sqrt_test_towardzero): New function.
26735         (sqrt_downward_test_data): New variable.
26736         (sqrt_test_downward): New function.
26737         (sqrt_upward_test_data): New variable.
26738         (sqrt_test_upward): New function.
26739         (main): Call the new functions.
26741         * math/gen-auto-libm-tests.c: New file.
26742         * math/auto-libm-test-in: Likewise.
26743         * math/auto-libm-test-out: New generated file.
26744         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26745         variables.
26746         (%beautify): Add generated representations of zero.
26747         (top level): Set $auto_input and call parse_auto_input.
26748         (beautify): Remove trailing "f" from hex float constants.
26749         (parse_args): Handle XFAIL_TEST.
26750         (convert_condition): New function.
26751         (or_value): Likewise.
26752         (or_cond_value): Likewise.
26753         (generate_testfile): Handle AUTO_TESTS_* lines.
26754         (parse_auto_input): New function.
26755         * math/libm-test.inc (XFAIL_TEST): New macro.
26756         (ERRNO_UNCHANGED): Update value.
26757         (ERRNO_EDOM): Likewise.
26758         (ERRNO_ERANGE): Likewise.
26759         (IGNORE_RESULT): Likewise.
26760         (TEST_COND_flt_32): New macro.
26761         (TEST_COND_dbl_64): Likewise.
26762         (TEST_COND_ldbl_96_intel): Likewise.
26763         (TEST_COND_ldbl_96_m68k): Likewise.
26764         (TEST_COND_ldbl_128): Likewise.
26765         (TEST_COND_ldbl_128ibm): Likewise.
26766         (TEST_COND_long32): Likewise.
26767         (TEST_COND_long64): Likewise.
26768         (TEST_COND_before_rounding): Likewise.
26769         (TEST_COND_after_rounding): Likewise.
26770         (enable_test): Handle XFAIL_TEST flag.
26771         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26772         with finite results.
26773         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26774         auto-libm-test-out.
26776 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26777             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26779         [BZ #16214]
26780         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26781         __tls_get_addr_internal instead of __tls_get_offset in order to
26782         avoid GOT pointer dependency.  Make rtld export
26783         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26784         __tls_get_addr since we are a __tls_get_offset platform.
26785         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26786         GOT pointer being set up before.
26787         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26789 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26791         * manual/math.texi (Errors in Math Functions): Document accuracy
26792         goals.
26794         [BZ #15004]
26795         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26796         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26797         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26798         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26799         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26800         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26801         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26802         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26803         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26804         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26805         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26806         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26807         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26808         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26809         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26810         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26812         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26813         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26814         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26815         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26816         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26817         Likewise.
26818         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26819         Likewise.
26820         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26821         Likewise.
26822         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26823         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26824         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26825         atomic-feupdateenv and flt-rounds.
26826         * sysdeps/powerpc/nofpu/Versions (libc): Add
26827         __atomic_feholdexcept, __atomic_feclearexcept,
26828         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26829         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26830         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26831         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26832         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26833         here.
26834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26835         Update.
26837         * manual/arith.texi (FP Exceptions): Document that exceptions may
26838         not be raised when matherr is used.
26839         (Math Error Reporting): Document overflow in directed rounding
26840         modes.  Document that errno may not be set when finite values are
26841         returned on overflow.  Document intent to set errno on underflow
26842         only for underflow to zero.
26844         [BZ #16271]
26845         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26846         round-to-nearest then adjust result for other rounding modes.
26847         * include/fenv.h (fegetround): Use libm_hidden_proto.
26848         * math/fegetround.c (fegetround): Use libm_hidden_def.
26849         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26850         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26851         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26853         Likewise.
26854         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26855         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26856         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26857         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26859 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26861         [BZ #16077]
26862         * nss/Versions (libnss_files): Add
26863         _nss_files_gethostbyname3_r.
26864         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26865         New function.
26866         (HOST_DB_LOOKUP): Remove macro.
26867         (_nss_files_gethostbyname_r): Implement function without the
26868         HOST_DB_LOOKUP macro.
26869         (_nss_files_gethostbyname2_r): Likewise.
26871 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26873         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26875 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26877         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26878         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26879         warning.
26881 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26883         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26884         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26885         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26886         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26887         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26888         __fe_nomask_env_priv and attribute_hidden.
26889         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26890         (libc_feupdateenv_test_ppc): Likewise.
26891         (libc_feresetround_ppc): Likewise.
26892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26893         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26894         compat_symbol macro.
26895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26896         (__fe_nomask_env): Likewise.
26897         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26899 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26901         * string/Makefile: Remove ifunc tests.
26902         * string/test-string.h: Define TEST_IFUNC.
26903         * string/test-bcopy-ifunc.c: Remove.
26904         * string/test-bzero-ifunc.c: Likewise.
26905         * string/test-memccpy-ifunc.c: Likewise.
26906         * string/test-memchr-ifunc.c: Likewise.
26907         * string/test-memcmp-ifunc.c: Likewise.
26908         * string/test-memcpy-ifunc.c: Likewise.
26909         * string/test-memmem-ifunc.c: Likewise.
26910         * string/test-memmove-ifunc.c: Likewise.
26911         * string/test-mempcpy-ifunc.c: Likewise.
26912         * string/test-memrchr-ifunc.c: Likewise.
26913         * string/test-memset-ifunc.c: Likewise.
26914         * string/test-rawmemchr-ifunc.c: Likewise.
26915         * string/test-stpcpy-ifunc.c: Likewise.
26916         * string/test-stpncpy-ifunc.c: Likewise.
26917         * string/test-strcasecmp-ifunc.c: Likewise.
26918         * string/test-strcasestr-ifunc.c: Likewise.
26919         * string/test-strcat-ifunc.c: Likewise.
26920         * string/test-strchr-ifunc.c: Likewise.
26921         * string/test-strchrnul-ifunc.c: Likewise.
26922         * string/test-strcmp-ifunc.c: Likewise.
26923         * string/test-strcpy-ifunc.c: Likewise.
26924         * string/test-strcspn-ifunc.c: Likewise.
26925         * string/test-strlen-ifunc.c: Likewise.
26926         * string/test-strncasecmp-ifunc.c: Likewise.
26927         * string/test-strncat-ifunc.c: Likewise.
26928         * string/test-strncmp-ifunc.c: Likewise.
26929         * string/test-strncpy-ifunc.c: Likewise.
26930         * string/test-strnlen-ifunc.c: Likewise.
26931         * string/test-strpbrk-ifunc.c: Likewise.
26932         * string/test-strrchr-ifunc.c: Likewise.
26933         * string/test-strspn-ifunc.c: Likewise.
26934         * string/test-strstr-ifunc.c: Likewise.
26936 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26938         * benchtests/Makefile: Remove ifunc tests.
26939         * benchtests/bench-string.h: Define TEST_IFUNC.
26940         * benchtests/bench-bcopy-ifunc.c: Remove.
26941         * benchtests/bench-bzero-ifunc.c: Likewise.
26942         * benchtests/bench-memccpy-ifunc.c: Likewise.
26943         * benchtests/bench-memchr-ifunc.c: Likewise.
26944         * benchtests/bench-memcmp-ifunc.c: Likewise.
26945         * benchtests/bench-memcpy-ifunc.c: Likewise.
26946         * benchtests/bench-memmem-ifunc.c: Likewise.
26947         * benchtests/bench-memmove-ifunc.c: Likewise.
26948         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26949         * benchtests/bench-memrchr-ifunc.c: Likewise.
26950         * benchtests/bench-memset-ifunc.c: Likewise.
26951         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26952         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26953         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26954         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26955         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26956         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26957         * benchtests/bench-strcat-ifunc.c: Likewise.
26958         * benchtests/bench-strchr-ifunc.c: Likewise.
26959         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26960         * benchtests/bench-strcmp-ifunc.c: Likewise.
26961         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26962         * benchtests/bench-strcpy-ifunc.c: Likewise.
26963         * benchtests/bench-strcspn-ifunc.c: Likewise.
26964         * benchtests/bench-strlen-ifunc.c: Likewise.
26965         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26966         * benchtests/bench-strncat-ifunc.c: Likewise.
26967         * benchtests/bench-strncmp-ifunc.c: Likewise.
26968         * benchtests/bench-strncpy-ifunc.c: Likewise.
26969         * benchtests/bench-strnlen-ifunc.c: Likewise.
26970         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26971         * benchtests/bench-strrchr-ifunc.c: Likewise.
26972         * benchtests/bench-strsep-ifunc.c: Likewise.
26973         * benchtests/bench-strspn-ifunc.c: Likewise.
26974         * benchtests/bench-strstr-ifunc.c: Likewise.
26976 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26978         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26980 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26982         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26983         * rt/aio.h: Likewise.
26984         * sysdeps/gnu/bits/utmp.h: Likewise.
26985         * sysdeps/gnu/bits/utmpx.h: Likewise.
26986         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26987         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26988         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26989         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26990         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26991         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26992         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26993         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26994         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26995         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26996         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26997         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26998         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27000         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27001         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27002         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27003         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27004         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27005         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27006         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27007         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27008         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27009         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27010         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27012         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27013         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27014         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27015         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27016         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27017         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27018         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27019         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27020         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27021         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27022         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27023         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27024         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27025         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27026         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27027         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27029 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27031         [BZ #16245]
27032         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27033         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27035 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27037         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27038         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27039         Likewise.
27041 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27043         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27044         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27045         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27046         (__fesetround): Remove define.
27047         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27048         rounding and exceptions handling.
27049         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27050         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27051         (__fe_nomask_env): Likewise.
27052         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27053         __fegetround instead of fegetround.
27054         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27055         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27057 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27059         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27060         it's there.
27062         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27064 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27066         [BZ #11157]
27067         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27068         (encrypt_r): Likewise.
27069         * malloc/obstack.h (obstack_free): Likewise.
27070         * posix/unistd.h (encrypt): Likewise.
27072 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27074         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27075         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27076         DL_CALL_DT_FINI() that call the functions directly.
27077         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27078         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27079         * elf/dl-fini.c: Likewise.
27081 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27083         * malloc/hooks.c (memalign_check): Add alignment rounding.
27084         * malloc/malloc.c (_mid_memalign): New function.
27085         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27086         Implement by calling _mid_memalign.
27087         * manual/probes.texi (Memory Allocation Probes): Remove
27088         memory_valloc_retry and memory_pvalloc_retry.
27090 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27092         * locale/programs/locarchive.c (open_archive): Add const
27093         qualifier to ARCHIVEFNAME and copy default fname to
27094         DEFAULT_FNAME.
27096         [BZ #15601]
27097         * libio/tst-widetext.input: Rename Oriya to Odia.
27098         * locale/iso-639.def: Likewise.
27100         * manual/probes.texi (Mathematical Function Probes): Add
27101         documentation for sin, cos, asin and acos probes.
27102         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27103         (__sin32): Add slowasin probe.
27104         (__cos32): Add slowacos probe.
27105         (__mpsin): Add slowsin probe.
27106         (__mpcos): Add slowcos probe.
27108 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27110         [BZ #15483]
27111         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27112         thread-local __sim_exceptions_thread and global
27113         __sim_exceptions_global.
27114         (__sim_disabled_exceptions): Change to thread-local
27115         __sim_disabled_exceptions_thread and global
27116         __sim_disabled_exceptions_global.
27117         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27118         and global __sim_round_mode_global.
27119         (__simulate_exceptions): Use thread-local floating-point state and
27120         set global state from it as needed.
27121         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27122         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27123         __sim_round_mode_thread.
27124         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27125         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27126         and global __sim_exceptions_global.
27127         (__sim_disabled_exceptions): Change to thread-local
27128         __sim_disabled_exceptions_thread and global
27129         __sim_disabled_exceptions_global.
27130         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27131         and global __sim_round_mode_global.
27132         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27133         (SIM_SET_GLOBAL): Likewise.
27134         * sysdeps/powerpc/soft-fp/sfp-machine.h
27135         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27136         __sim_round_mode_thread.
27137         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27138         __sim_disabled_exceptions_thread.
27139         (__sim_exceptions): Change to __sim_exceptions_thread.
27140         (__sim_disabled_exceptions): Change to
27141         __sim_disabled_exceptions_thread.
27142         (__sim_round_mode): Change to __sim_round_mode_thread.
27143         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27144         thread-local floating-point state and set global state from it as
27145         needed.
27146         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27147         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27148         (__sim_disabled_exceptions): Remove extern declaration.
27149         (feenableexcept): Use thread-local floating-point state and set
27150         global state from it as needed.
27151         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27152         extern declaration.
27153         (__sim_disabled_exceptions): Likewise.
27154         (__sim_round_mode): Likewise.
27155         (__fegetenv): Use thread-local floating-point state.
27156         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27157         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27158         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27159         floating-point state and set global state from it as needed.
27160         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27161         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27162         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27163         Likewise.
27164         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27165         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27166         Likewise.
27167         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27168         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27169         Use __sim_round_mode_thread.
27170         * math/test-fenv-tls.c: New file.
27171         * math/Makefile (tests): Add test-fenv-tls.
27172         ($(objpfx)test-fenv-tls): Depend on
27173         $(common-objpfx)nptl/libpthread.so.
27175 2013-11-19  Andreas Schwab  <schwab@suse.de>
27177         * locale/programs/locale.c (show_info): Decode wordarray elements.
27178         * locale/categories.def (LC_MONETARY): Add element for
27179         _NL_MONETARY_CRNCYSTR.
27180         * locale/C-monetary.c (conversion_rate): New variable.
27181         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27182         element.
27184 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27186         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27187         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27189 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27191         * elf/Makefile (tst-auxv): New test.
27192         * elf/tst-auxv.c: New
27193         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27195 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27197         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27198         (hidden_proto): Caller changed.
27199         (hidden_tls_proto): New macro.
27200         (libc_hidden_tls_proto): Likewise.
27201         (rtld_hidden_tls_proto): Likewise.
27202         (libm_hidden_tls_proto): Likewise.
27203         (libresolv_hidden_tls_proto): Likewise.
27204         (librt_hidden_tls_proto): Likewise.
27205         (libdl_hidden_tls_proto): Likewise.
27206         (libnss_files_hidden_tls_proto): Likewise.
27207         (libnsl_hidden_tls_proto): Likewise.
27208         (libnss_nisplus_hidden_tls_proto): Likewise.
27209         (libutil_hidden_tls_proto): Likewise.
27211 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27213         [BZ #10253]
27214         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27215         (decompose_rpath): Defer expansion to fillin_rpath.
27216         (_dl_init_paths): Pass linkmap to fillin_rpath.
27218 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27220         * benchtests/Makefile: Add strsep.
27221         * benchtests/bench-strsep.c: New file: strsep benchtest.
27222         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27224 2013-11-18  Andreas Schwab  <schwab@suse.de>
27226         * locale/programs/locale.c (show_info) [case byte]: Check for
27227         '\377' instead of '\177'.
27228         * locale/C-monetary.c (not_available): Always use "\377".
27229         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27230         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27231         detect unavailable sign_posn locale elements.
27232         * locale/localeconv.c (__localeconv): For grouping and
27233         mon_grouping handle "\177" and "\377" like no grouping.
27234         (INT_ELEM): New macro.  Use it to set all numeric members.
27235         * locale/programs/ld-monetary.c (monetary_read)
27236         <tok_mon_grouping>: Normalize single -1 to the empty string.
27237         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27238         Likewise.
27240 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27242         [BZ #16055]
27243         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27244         when we match (nil).
27245         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27247 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27249         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27250         (NO_TEST_INLINE): Update value.
27251         (ERRNO_UNCHANGED): Likewise.
27252         (ERRNO_EDOM): Likewise.
27253         (ERRNO_ERANGE): Likewise.
27254         (IGNORE_RESULT): Likewise.
27255         (check_float_internal): Check signs of NaN results if
27256         TEST_NAN_SIGN used.
27257         (check_complex): Pass TEST_NAN_SIGN flag through to second
27258         check_float_internal call.
27259         (copysign_test_data): Add tests with quiet NaNs as second
27260         argument.  Use TEST_NAN_SIGN.
27261         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27262         TEST_NAN_SIGN.
27263         (signbit_test_data): Add tests of quiet NaN argument.
27264         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27266         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27267         $ignore_result.
27268         (parse_args): Handle function results specified as IGNORE.
27269         * math/libm-test.inc (IGNORE_RESULT): New macro.
27270         (check_float_internal): Do not check numerical result if flag
27271         IGNORE_RESULT set.
27272         (check_complex): Pass through IGNORE_RESULT to second
27273         check_float_internal call.
27274         (check_int): Do not check numerical result if flag IGNORE_RESULT
27275         set.
27276         (check_long): Likewise.
27277         (check_bool): Likewise.
27278         (check_longlong): Likewise.
27279         (lrint_test_data): Add tests of infinite and NaN arguments.
27280         (lrint_tonearest_test_data): Likewise.
27281         (lrint_towardzero_test_data): Likewise.
27282         (lrint_downward_test_data): Likewise.
27283         (lrint_upward_test_data): Likewise.
27284         (llrint_test_data): Likewise.
27285         (llrint_tonearest_test_data): Likewise.
27286         (llrint_towardzero_test_data): Likewise.
27287         (llrint_downward_test_data): Likewise.
27288         (llrint_upward_test_data): Likewise.
27289         (lround_test_data): Likewise.
27290         (llround_test_data): Likewise.
27292         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27293         (ERRNO_UNCHANGED): Update value.
27294         (ERRNO_EDOM): Likewise.
27295         (ERRNO_ERANGE): Likewise.
27296         (NO_TEST_INLINE_FLOAT): New macro.
27297         (NO_TEST_INLINE_DOUBLE): Likewise.
27298         (enable_test): New function.
27299         (RUN_TEST_f_f): Check enable_test before running test.
27300         (RUN_TEST_2_f): Likewise.
27301         (RUN_TEST_fff_f): Likewise.
27302         (RUN_TEST_c_f): Likewise.
27303         (RUN_TEST_f_f1): Likewise.
27304         (RUN_TEST_fF_f1): Likewise.
27305         (RUN_TEST_fI_f1): Likewise.
27306         (RUN_TEST_ffI_f1): Likewise.
27307         (RUN_TEST_c_c): Likewise.
27308         (RUN_TEST_cc_c): Likewise.
27309         (RUN_TEST_f_i): Likewise.
27310         (RUN_TEST_f_i_tg): Likewise.
27311         (RUN_TEST_ff_i_tg): Likewise.
27312         (RUN_TEST_f_b): Likewise.
27313         (RUN_TEST_f_b_tg): Likewise.
27314         (RUN_TEST_f_l): Likewise.
27315         (RUN_TEST_f_L): Likewise.
27316         (RUN_TEST_fFF_11): Likewise.
27317         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27318         conditionals.
27319         (cosh_test_data): Likewise.
27320         (exp_test_data): Likewise.
27321         (expm1_test_data): Likewise.
27322         (hypot_test_data): Likewise.
27323         (pow_test_data): Likewise.
27324         (sinh_test_data): Likewise.
27325         (tanh_test_data): Likewise.
27326         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27327         flags argument.
27329         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27330         tests with quiet NaN input and output.
27331         (acosh_test_data): Likewise.
27332         (asin_test_data): Likewise.
27333         (asinh_test_data): Likewise.
27334         (atan_test_data): Likewise.
27335         (atanh_test_data): Likewise.
27336         (atan2_test_data): Likewise.
27337         (cbrt_test_data): Likewise.
27338         (cos_test_data): Likewise.
27339         (cosh_test_data): Likewise.
27340         (erf_test_data): Likewise.
27341         (erfc_test_data): Likewise.
27342         (exp_test_data): Likewise.
27343         (exp10_test_data): Likewise.
27344         (exp2_test_data): Likewise.
27345         (expm1_test_data): Likewise.
27346         (hypot_test_data): Likewise.
27347         (j0_test_data): Likewise.
27348         (j1_test_data): Likewise.
27349         (jn_test_data): Likewise.
27350         (lgamma_test_data): Likewise.
27351         (log_test_data): Likewise.
27352         (log10_test_data): Likewise.
27353         (log1p_test_data): Likewise.
27354         (log2_test_data): Likewise.
27355         (pow_test_data): Likewise.
27356         (scalb_test_data): Likewise.
27357         (sin_test_data): Likewise.
27358         (sincos_test_data): Likewise.
27359         (sinh_test_data): Likewise.
27360         (tan_test_data): Likewise.
27361         (tanh_test_data): Likewise.
27362         (tgamma_test_data): Likewise.
27363         (y0_test_data): Likewise.
27364         (y1_test_data): Likewise.
27365         (yn_test_data): Likewise.
27367         [BZ #16167]
27368         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27369         argument being NaN and avoid computations with second argument in
27370         that case.
27371         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27372         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27373         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27375 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27377         * locale/iso-639.def: Add Chitwani Tharu (the).
27379 2013-11-14  Andreas Schwab  <schwab@suse.de>
27381         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27382         word instead of empty string.
27384 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27387         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27389         (__fe_nomask_env): Likewise.
27391 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27393         * benchtests/bench-timing.h: Include time.h.
27395 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27397         [BZ #15997]
27398         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27399         to 3.4.0 for x32.
27400         * sysdeps/unix/sysv/linux/configure: Regenerated.
27402 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27404         [BZ #16151]
27405         * stdlib/strtod_l.c (round_and_return): Do not consider
27406         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27407         exponent one less than half the least subnormal exponent.
27408         * stdlib/test-strtod-round-data: Add more tests.
27409         * stdlib/tst-strtod-round.c (tests): Regenerated.
27411 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27413         [BZ #14143]
27414         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27415         (__fe_mask_env): Likewise.
27416         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27417         libm_hidden_proto and add function prototype.
27418         (__fe_mask_env): Add function prototype.
27419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27420         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27422         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27424         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27426 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27428         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27429         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27431 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27433         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27434         of htab_find_slot().
27436 2013-11-11  David S. Miller  <davem@davemloft.net>
27438         [BZ #16150]
27439         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27440         symbol in the non-vis3 case in static builds.
27441         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27442         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27443         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27444         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27446 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27448         [BZ #387]
27449         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27450         it is empty.
27452 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27454         * benchtests/Makefile: Add bench-strtod.
27455         * benchtests/bench-strtod.c: New file: strtod benchtest
27457 2013-11-11  Andreas Schwab  <schwab@suse.de>
27459         [BZ #16153]
27460         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27461         terminating NUL in key length.
27463 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27465         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27466         Add artificial ODP entry for vDSO symbol for PPC64.
27467         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27468         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27470 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27472         [BZ #15374]
27473         * nss/getent.c (services_keys): Recognize services starting with digit.
27475 2013-11-06  David S. Miller  <davem@davemloft.net>
27477         [BZ #15985]
27478         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27479         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27481 2013-11-06  Will Newton  <will.newton@linaro.org>
27483         * manual/memory.texi (Malloc Examples): Remove register
27484         keyword from examples.
27486 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27488         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27490 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27492         [BZ #6981]
27493         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27494         depending on [__GCC_IEC_559 > 0].
27495         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27496         depending on [__GCC_IEC_559_COMPLEX > 0].
27498 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27500         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27501         to iso-639.def.
27503 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27505         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27507 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27509         [BZ #16112]
27510         * malloc/malloc (malloc_info): Do not handle first bin as
27511         special case.
27513 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27515         * locale/iso-639.def: Add Central Nahuatl (nhn).
27517 2013-11-01  Bruno Haible  <bruno@clisp.org>
27519         [BZ #7003]
27520         * manual/math.texi (BSD Random): Specify range upper bound as
27521         in POSIX.
27523 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27525         * locale/iso-639.def: Add Meadow Mari (mhr).
27527 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27529         [BZ #14752], [BZ #15763]
27530         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27531         Validate name.
27532         * rt/tst_shm.c: Add test for escaping directory.
27534 2013-10-31  Andreas Schwab  <schwab@suse.de>
27536         [BZ #15917]
27537         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27538         followed by 'x' as part of digit sequence.
27539         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27541 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27543         [BZ #16037]
27544         * configure.ac: allow GNU Make 4.0 and greater.
27545         * configure: Regenerated.
27547 2013-10-30  Will Newton  <will.newton@linaro.org>
27549         [BZ #16038]
27550         * malloc/hooks.c (memalign_check): Limit alignment to the
27551         maximum representable power of two.
27552         * malloc/malloc.c (__libc_memalign): Likewise.
27553         * malloc/tst-memalign.c (do_test): Add test for very
27554         large alignment values.
27555         * malloc/tst-posix_memalign.c (do_test): Likewise.
27557 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27559         [BZ #11087]
27560         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27561         (munmap_chunk): Likewise.
27562         (mremap_chunk): Likewise.
27564 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27566         [BZ #15799]
27567         * stdlib/div.c (div): Remove obsolete code.
27568         * stdlib/ldiv.c (ldiv): Likewise.
27569         * stdlib/lldiv.c (lldiv): Likewise.
27571 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27573         [BZ #16071]
27574         * nss/nss_files/files-XXX.c (get_contents_ret): New
27575         enumerator.
27576         (get_contents): New function.
27577         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27579 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27581         * configure.in: Moved to ...
27582         * configure.ac: ... here. Change reference to configure.in
27583         to configure.ac.
27584         * sysdeps/arm/preconfigure.ac: ... here.
27585         configure.in to configure.ac.
27586         * sysdeps/gnu/configure.in: Moved to ...
27587         * sysdeps/gnu/configure.ac: ... here.
27588         * sysdeps/i386/configure.in: Moved to ...
27589         * sysdeps/i386/configure.ac: ... here.
27590         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27591         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27592         * sysdeps/mach/configure.in: Moved to ...
27593         * sysdeps/mach/configure.ac: ... here.
27594         * sysdeps/mach/hurd/configure.in: Moved to ...
27595         * sysdeps/mach/hurd/configure.ac: ... here.
27596         * sysdeps/powerpc/configure.in: Moved to ...
27597         * sysdeps/powerpc/configure.ac: ... here.
27598         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27599         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27600         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27601         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27602         * sysdeps/s390/s390-32/configure.in: Moved to ...
27603         * sysdeps/s390/s390-32/configure.ac: ... here.
27604         * sysdeps/s390/s390-64/configure.in: Moved to ...
27605         * sysdeps/s390/s390-64/configure.ac: ... here.
27606         * sysdeps/sh/configure.in: Moved to ...
27607         * sysdeps/sh/configure.ac: ... here.
27608         * sysdeps/sparc/configure.in: Moved to ...
27609         * sysdeps/sparc/configure.ac: ... here.
27610         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27611         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27612         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27613         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27614         * sysdeps/x86_64/configure.in: Moved to ...
27615         * sysdeps/x86_64/configure.ac: ... here.
27616         * sysdeps/x86_64/preconfigure.in: Moved to ...
27617         * sysdeps/x86_64/preconfigure.ac: ... here.
27618         * aclocal.m4: Change reference to configure.in to configure.ac.
27619         * config.h.in: Likewise.
27620         * manual/install.texi: Likewise.
27621         * manual/maint.texi: Likewise.
27622         * Makefile: Likewise.
27623         * malloc/Makefile: Likewise.
27624         * nscd/Makefile: Likewise.
27625         * Makeconfig: Change reference to configure.in and
27626         preconfigure.in to configure.ac and preconfigure.ac
27627         respectively.
27628         * INSTALL: Regenerated.
27629         * configure: Likewise.
27630         * sysdeps/gnu/configure: Likewise.
27631         * sysdeps/i386/configure: Likewise.
27632         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27633         * sysdeps/mach/configure: Likewise.
27634         * sysdeps/mach/hurd/configure: Likewise.
27635         * sysdeps/powerpc/configure: Likewise.
27636         * sysdeps/powerpc/powerpc32/configure: Likewise.
27637         * sysdeps/powerpc/powerpc64/configure: Likewise.
27638         * sysdeps/s390/s390-32/configure: Likewise.
27639         * sysdeps/s390/s390-64/configure: Likewise.
27640         * sysdeps/sh/configure: Likewise.
27641         * sysdeps/sparc/configure: Likewise.
27642         * sysdeps/unix/sysv/linux/configure: Likewise.
27643         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27644         * sysdeps/x86_64/configure: Likewise.
27645         * sysdeps/x86_64/preconfigure: Likewise.
27647 2013-10-29  Andreas Schwab  <schwab@suse.de>
27649         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27651 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27653         * benchtests/pow-inputs: Add new inputs.
27655         * benchtests/exp-inputs: Add new inputs.
27657         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27658         conditional check for return value.
27659         (__cos32): Likewise.
27661 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27663         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27664         to provide a boost for large inputs with word alignment.
27665         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27666         implementation based on optimized PPC64 strcpy.
27667         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27668         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27669         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27670         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27672 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27674         [BZ #2801]
27675         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27677 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27679         [BZ #14876]
27680         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27681         * time/tst-strptime.c (day_tests): Add testcase.
27683 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27685         [BZ #14029]
27686         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27688 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27690         [BZ #16074]
27691         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27692         MAP_FAILED on error.
27694 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27696         [BZ #16072]
27697         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27698         heap for large requests.
27700 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27702         [BZ #9954]
27703         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27704         result if the result has no associated interface.
27705         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27706         interface for all 127.X.Y.Z addresses.
27708 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27710         * locale/iso-639.def: Add Ligurian (lij)
27712 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27714         [BZ #15825]
27715         * sunrpc/rpc_main.c: Document rpcgen -5.
27717 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27719         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27721 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27723         [BZ #10278]
27724         * posix/glob.c: Match only directories when trailing slash is present.
27725         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27726         (main): Add testcase.
27728 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27730         [BZ #15670]
27731         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27733 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27735         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27736         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27737         AUTH_DES and cindex for FIPS 140-2.
27738         (DES Encryption): Add cindex FIPS 46-3.
27740         * locale/locarchive.h (struct locarhandle): Add fname.
27741         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27742         if an optional argument was specified to --list-archive,
27743         otherwise NULL.
27744         * locale/programs/locarchive.c (show_archive_content): Take new
27745         argument fname and pass it via ah.fname to open_archive.
27746         * locale/programs/localedef.h: Update decl.
27747         (open_archive): If AH->fname is non-null, open that file
27748         rather than the default file name, and don't ignore ENOENT.
27749         (create_archive): Set AH.fname to NULL.
27750         (delete_locales_from_archive): Likewise.
27751         (add_locales_to_archive): Likewise.
27752         * locale/programs/locfile.c (write_all_categories): Likewise.
27754 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27755             Aldy Hernandez  <aldyh@redhat.com>
27757         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27758         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27759         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27760         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27761         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27762         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27763         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27764         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27765         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27766         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27767         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27768         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27769         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27770         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27771         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27772         Likewise.
27773         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27774         Likewise.
27775         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27776         Likewise.
27777         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27778         Likewise.
27779         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27780         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27781         Likewise.
27782         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27783         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27784         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27785         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27786         Likewise.
27787         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27788         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27789         * sysdeps/powerpc/preconfigure: Likewise.
27790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27791         Likewise.
27792         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27793         Replace contents of file by #include of <fenv_libc.h>.
27794         * sysdeps/powerpc/soft-fp/sfp-machine.h
27795         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27796         and <sys/prctl.h>.
27797         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27799         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27804         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27805         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27806         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27810         Allow copysignl PLT reference to be missing.
27812 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27813             Joseph Myers  <joseph@codesourcery.com
27815         [BZ #15948]
27816         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27817         single character.
27818         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27820 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27822         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27823         * elf/tst-tls1.c: Likewise.
27824         * elf/tst-tls10.h: Likewise.
27825         * elf/tst-tls14.c: Likewise.
27826         * elf/tst-tls2.c: Likewise.
27827         * elf/tst-tls3.c: Likewise.
27828         * elf/tst-tls4.c: Likewise.
27829         * elf/tst-tls5.c: Likewise.
27830         * elf/tst-tls6.c: Likewise.
27831         * elf/tst-tls7.c: Likewise.
27832         * elf/tst-tls8.c: Likewise.
27833         * elf/tst-tls9.c: Likewise.
27834         * elf/tst-tlsmod1.c: Likewise.
27835         * elf/tst-tlsmod13.c: Likewise.
27836         * elf/tst-tlsmod13a.c: Likewise.
27837         * elf/tst-tlsmod14a.c: Likewise.
27838         * elf/tst-tlsmod16a.c: Likewise.
27839         * elf/tst-tlsmod16b.c: Likewise.
27840         * elf/tst-tlsmod2.c: Likewise.
27841         * elf/tst-tlsmod3.c: Likewise.
27842         * elf/tst-tlsmod4.c: Likewise.
27843         * elf/tst-tlsmod5.c: Likewise.
27844         * elf/tst-tlsmod6.c: Likewise.
27846 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27848         [BZ #12486]
27849         * malloc/malloc.c: remove checks for statistics.
27851 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27853         [BZ #15277]
27854         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27855         * inet/tst-network.c: Add testcase.
27857 2013-10-17  Andreas Schwab  <schwab@suse.de>
27859         [BZ #15218]
27860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27861         to determine canonical name.
27863 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27865         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27866         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27868         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27870         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27871         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27872         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27873         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27885         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27886         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27887         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27888         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27889         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27890         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27891         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27892         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27893         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27894         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27895         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27896         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27897         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27898         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27899         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27900         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27901         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27902         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27903         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27904         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27905         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27906         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27907         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27908         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27909         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27910         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27911         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27912         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27913         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27914         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27915         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27916         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27917         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27918         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27919         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27920         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27921         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27922         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27924 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27926         [BZ #16041]
27927         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27928         make result into a quiet NaN.
27930 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27932         * soft-fp/adddf3.c: Fix horizontal whitespace.
27933         * soft-fp/addsf3.c: Likewise.
27934         * soft-fp/addtf3.c: Likewise.
27935         * soft-fp/divdf3.c: Likewise.
27936         * soft-fp/divsf3.c: Likewise.
27937         * soft-fp/divtf3.c: Likewise.
27938         * soft-fp/double.h: Likewise.
27939         * soft-fp/eqdf2.c: Likewise.
27940         * soft-fp/eqsf2.c: Likewise.
27941         * soft-fp/eqtf2.c: Likewise.
27942         * soft-fp/extenddftf2.c: Likewise.
27943         * soft-fp/extended.h: Likewise.
27944         * soft-fp/extendsfdf2.c: Likewise.
27945         * soft-fp/extendsftf2.c: Likewise.
27946         * soft-fp/extendxftf2.c: Likewise.
27947         * soft-fp/fixdfdi.c: Likewise.
27948         * soft-fp/fixdfsi.c: Likewise.
27949         * soft-fp/fixdfti.c: Likewise.
27950         * soft-fp/fixsfdi.c: Likewise.
27951         * soft-fp/fixsfsi.c: Likewise.
27952         * soft-fp/fixsfti.c: Likewise.
27953         * soft-fp/fixtfdi.c: Likewise.
27954         * soft-fp/fixtfsi.c: Likewise.
27955         * soft-fp/fixtfti.c: Likewise.
27956         * soft-fp/fixunsdfdi.c: Likewise.
27957         * soft-fp/fixunsdfsi.c: Likewise.
27958         * soft-fp/fixunsdfti.c: Likewise.
27959         * soft-fp/fixunssfdi.c: Likewise.
27960         * soft-fp/fixunssfsi.c: Likewise.
27961         * soft-fp/fixunssfti.c: Likewise.
27962         * soft-fp/fixunstfdi.c: Likewise.
27963         * soft-fp/fixunstfsi.c: Likewise.
27964         * soft-fp/fixunstfti.c: Likewise.
27965         * soft-fp/floatdidf.c: Likewise.
27966         * soft-fp/floatdisf.c: Likewise.
27967         * soft-fp/floatditf.c: Likewise.
27968         * soft-fp/floatsidf.c: Likewise.
27969         * soft-fp/floatsisf.c: Likewise.
27970         * soft-fp/floatsitf.c: Likewise.
27971         * soft-fp/floattidf.c: Likewise.
27972         * soft-fp/floattisf.c: Likewise.
27973         * soft-fp/floattitf.c: Likewise.
27974         * soft-fp/floatundidf.c: Likewise.
27975         * soft-fp/floatundisf.c: Likewise.
27976         * soft-fp/floatunditf.c: Likewise.
27977         * soft-fp/floatunsidf.c: Likewise.
27978         * soft-fp/floatunsisf.c: Likewise.
27979         * soft-fp/floatunsitf.c: Likewise.
27980         * soft-fp/floatuntidf.c: Likewise.
27981         * soft-fp/floatuntisf.c: Likewise.
27982         * soft-fp/floatuntitf.c: Likewise.
27983         * soft-fp/fmadf4.c: Likewise.
27984         * soft-fp/fmasf4.c: Likewise.
27985         * soft-fp/fmatf4.c: Likewise.
27986         * soft-fp/gedf2.c: Likewise.
27987         * soft-fp/gesf2.c: Likewise.
27988         * soft-fp/getf2.c: Likewise.
27989         * soft-fp/ledf2.c: Likewise.
27990         * soft-fp/lesf2.c: Likewise.
27991         * soft-fp/letf2.c: Likewise.
27992         * soft-fp/muldf3.c: Likewise.
27993         * soft-fp/mulsf3.c: Likewise.
27994         * soft-fp/multf3.c: Likewise.
27995         * soft-fp/negdf2.c: Likewise.
27996         * soft-fp/negsf2.c: Likewise.
27997         * soft-fp/negtf2.c: Likewise.
27998         * soft-fp/op-1.h: Likewise.
27999         * soft-fp/op-2.h: Likewise.
28000         * soft-fp/op-4.h: Likewise.
28001         * soft-fp/op-8.h: Likewise.
28002         * soft-fp/op-common.h: Likewise.
28003         * soft-fp/quad.h: Likewise.
28004         * soft-fp/single.h: Likewise.
28005         * soft-fp/soft-fp.h: Likewise.
28006         * soft-fp/sqrtdf2.c: Likewise.
28007         * soft-fp/sqrtsf2.c: Likewise.
28008         * soft-fp/sqrttf2.c: Likewise.
28009         * soft-fp/subdf3.c: Likewise.
28010         * soft-fp/subsf3.c: Likewise.
28011         * soft-fp/subtf3.c: Likewise.
28012         * soft-fp/truncdfsf2.c: Likewise.
28013         * soft-fp/trunctfdf2.c: Likewise.
28014         * soft-fp/trunctfsf2.c: Likewise.
28015         * soft-fp/trunctfxf2.c: Likewise.
28016         * soft-fp/unorddf2.c: Likewise.
28017         * soft-fp/unordsf2.c: Likewise.
28018         * soft-fp/unordtf2.c: Likewise.
28020 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28022         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28023         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28025 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28027         * elf/dl-libc.c: Clear initfini list after freeing.
28029 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28031         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28032         * soft-fp/addsf3.c: Likewise.
28033         * soft-fp/addtf3.c: Likewise.
28034         * soft-fp/divdf3.c: Likewise.
28035         * soft-fp/divsf3.c: Likewise.
28036         * soft-fp/divtf3.c: Likewise.
28037         * soft-fp/double.h: Likewise.
28038         * soft-fp/eqdf2.c: Likewise.
28039         * soft-fp/eqsf2.c: Likewise.
28040         * soft-fp/eqtf2.c: Likewise.
28041         * soft-fp/extenddftf2.c: Likewise.
28042         * soft-fp/extended.h: Likewise.
28043         * soft-fp/extendsfdf2.c: Likewise.
28044         * soft-fp/extendsftf2.c: Likewise.
28045         * soft-fp/extendxftf2.c: Likewise.
28046         * soft-fp/fixdfdi.c: Likewise.
28047         * soft-fp/fixdfsi.c: Likewise.
28048         * soft-fp/fixdfti.c: Likewise.
28049         * soft-fp/fixsfdi.c: Likewise.
28050         * soft-fp/fixsfsi.c: Likewise.
28051         * soft-fp/fixsfti.c: Likewise.
28052         * soft-fp/fixtfdi.c: Likewise.
28053         * soft-fp/fixtfsi.c: Likewise.
28054         * soft-fp/fixtfti.c: Likewise.
28055         * soft-fp/fixunsdfdi.c: Likewise.
28056         * soft-fp/fixunsdfsi.c: Likewise.
28057         * soft-fp/fixunsdfti.c: Likewise.
28058         * soft-fp/fixunssfdi.c: Likewise.
28059         * soft-fp/fixunssfsi.c: Likewise.
28060         * soft-fp/fixunssfti.c: Likewise.
28061         * soft-fp/fixunstfdi.c: Likewise.
28062         * soft-fp/fixunstfsi.c: Likewise.
28063         * soft-fp/fixunstfti.c: Likewise.
28064         * soft-fp/floatdidf.c: Likewise.
28065         * soft-fp/floatdisf.c: Likewise.
28066         * soft-fp/floatditf.c: Likewise.
28067         * soft-fp/floatsidf.c: Likewise.
28068         * soft-fp/floatsisf.c: Likewise.
28069         * soft-fp/floatsitf.c: Likewise.
28070         * soft-fp/floattidf.c: Likewise.
28071         * soft-fp/floattisf.c: Likewise.
28072         * soft-fp/floattitf.c: Likewise.
28073         * soft-fp/floatundidf.c: Likewise.
28074         * soft-fp/floatundisf.c: Likewise.
28075         * soft-fp/floatunsidf.c: Likewise.
28076         * soft-fp/floatunsisf.c: Likewise.
28077         * soft-fp/floatuntidf.c: Likewise.
28078         * soft-fp/floatuntisf.c: Likewise.
28079         * soft-fp/floatuntitf.c: Likewise.
28080         * soft-fp/fmadf4.c: Likewise.
28081         * soft-fp/fmasf4.c: Likewise.
28082         * soft-fp/fmatf4.c: Likewise.
28083         * soft-fp/gedf2.c: Likewise.
28084         * soft-fp/gesf2.c: Likewise.
28085         * soft-fp/getf2.c: Likewise.
28086         * soft-fp/ledf2.c: Likewise.
28087         * soft-fp/lesf2.c: Likewise.
28088         * soft-fp/letf2.c: Likewise.
28089         * soft-fp/muldf3.c: Likewise.
28090         * soft-fp/mulsf3.c: Likewise.
28091         * soft-fp/multf3.c: Likewise.
28092         * soft-fp/negdf2.c: Likewise.
28093         * soft-fp/negsf2.c: Likewise.
28094         * soft-fp/negtf2.c: Likewise.
28095         * soft-fp/op-1.h: Likewise.
28096         * soft-fp/op-2.h: Likewise.
28097         * soft-fp/op-4.h: Likewise.
28098         * soft-fp/op-8.h: Likewise.
28099         * soft-fp/op-common.h: Likewise.
28100         * soft-fp/quad.h: Likewise.
28101         * soft-fp/single.h: Likewise.
28102         * soft-fp/soft-fp.h: Likewise.
28103         * soft-fp/sqrtdf2.c: Likewise.
28104         * soft-fp/sqrtsf2.c: Likewise.
28105         * soft-fp/sqrttf2.c: Likewise.
28106         * soft-fp/subdf3.c: Likewise.
28107         * soft-fp/subsf3.c: Likewise.
28108         * soft-fp/subtf3.c: Likewise.
28109         * soft-fp/truncdfsf2.c: Likewise.
28110         * soft-fp/trunctfdf2.c: Likewise.
28111         * soft-fp/trunctfsf2.c: Likewise.
28112         * soft-fp/trunctfxf2.c: Likewise.
28113         * soft-fp/unorddf2.c: Likewise.
28114         * soft-fp/unordsf2.c: Likewise.
28115         * soft-fp/unordtf2.c: Likewise.
28117 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28119         [BZ #15672]
28120         * misc/error.c (error_tail): Fix possible buffer overflow.
28122 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28124         [BZ #13028]
28125         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28126         address.
28128 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28130         [BZ #832]
28131         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28132         testing pipefail option.
28134 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28136         * soft-fp/double.h: Indent preprocessor directives inside #if.
28137         * soft-fp/extended.h: Likewise.
28138         * soft-fp/op-2.h: Likewise.
28139         * soft-fp/op-4.h: Likewise.
28140         * soft-fp/op-common.h: Likewise.
28141         * soft-fp/quad.h: Likewise.
28142         * soft-fp/single.h: Likewise.
28143         * soft-fp/soft-fp.h: Likewise.
28145 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28147         * iconv/iconv_prog.c: Fix typos.
28148         * stdio-common/psiginfo-data.h: Likewise.
28150 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28152         [BZ #15764]
28153         * locale/setlocale.c: Fix typo.
28155 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28157         [BZ #16036]
28158         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28159         signaling NaN arguments.
28160         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28161         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28163         [BZ #14910]
28164         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28165         unordered operands.
28166         * soft-fp/gesf2.c (__gesf2): Likewise.
28167         * soft-fp/getf2.c (__getf2): Likewise.
28168         * soft-fp/ledf2.c (__ledf2): Likewise.
28169         * soft-fp/lesf2.c (__lesf2): Likewise.
28170         * soft-fp/letf2.c (__letf2): Likewise.
28172         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28173         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28174         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28175         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28176         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28177         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28178         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28179         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28180         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28181         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28182         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28183         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28184         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28185         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28186         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28187         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28188         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28189         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28190         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28191         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28192         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28193         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28194         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28195         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28196         * soft-fp/floattidf.c (__floattidf): Likewise.
28197         * soft-fp/floattisf.c (__floattisf): Likewise.
28198         * soft-fp/floattitf.c (__floattitf): Likewise.
28199         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28200         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28201         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28202         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28203         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28204         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28205         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28206         * soft-fp/gesf2.c (__gesf2): Likewise.
28207         * soft-fp/getf2.c (__getf2): Likewise.
28208         * soft-fp/ledf2.c (__ledf2): Likewise.
28209         * soft-fp/lesf2.c (__lesf2): Likewise.
28210         * soft-fp/letf2.c (__letf2): Likewise.
28212         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28213         Undefine and redefine.
28214         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28215         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28216         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28217         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28218         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28219         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28220         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28221         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28222         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28223         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28224         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28225         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28226         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28227         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28228         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28230         [BZ #16032]
28231         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28232         without decrementing exponent if mantissa >= that for the
28233         denominator, not >.
28234         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28235         denominator, not >.  Decrement exponent in < case instead of
28236         incrementing in >= case.
28237         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28238         without decrementing exponent if mantissa >= that for the
28239         denominator, not >.
28241         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28242         computing saturated result for unsigned overflow.
28244 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28245             Jeff Law  <law@redhat.com>
28247         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28248         (atan2Mp): Add systemtap probe marker.
28249         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28250         (__ieee754_log): Add systemtap probe marker.
28251         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28252         (atanMp): Add systemtap probe marker.
28253         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28254         (tanMp): Add systemtap probe marker.
28255         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28256         (__slowexp): Add systemtap probe marker.
28257         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28258         (__slowpow): Add systemtap probe marker.
28259         * manual/probes.texi: Document probes.
28261 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28263         [BZ #15362]
28264         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28265         written.
28266         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28267         written.
28268         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28269         written to buffer but not flushed.
28270         * libio/iofwrite_u.c:  Likewise.
28271         * libio/iopadn.c:  Return bytes returned even if EOF was
28272         encountered.
28273         * libio/iowpadn.c:  Likewise.
28274         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28275         if _IO_padn does not write the whole buffer.
28276         [!COMPILE_WPRINTF] (PAD): Likewise.
28278 2013-10-10  David S. Miller  <davem@davemloft.net>
28280         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28281         directory block.
28283 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28285         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28286         instead of FSF address.
28287         * soft-fp/fixdfti.c: Likewise.
28288         * soft-fp/fixsfti.c: Likewise.
28289         * soft-fp/fixtfti.c: Likewise.
28290         * soft-fp/fixunsdfti.c: Likewise.
28291         * soft-fp/fixunssfti.c: Likewise.
28292         * soft-fp/fixunstfti.c: Likewise.
28293         * soft-fp/floattidf.c: Likewise.
28294         * soft-fp/floattisf.c: Likewise.
28295         * soft-fp/floattitf.c: Likewise.
28296         * soft-fp/floatuntidf.c: Likewise.
28297         * soft-fp/floatuntisf.c: Likewise.
28298         * soft-fp/floatuntitf.c: Likewise.
28299         * soft-fp/trunctfxf2.c: Likewise.
28301         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28302         * soft-fp/fixdfti.c: Likewise.
28303         * soft-fp/fixsfti.c: Likewise.
28304         * soft-fp/fixtfti.c: Likewise.
28305         * soft-fp/fixunsdfti.c: Likewise.
28306         * soft-fp/fixunssfti.c: Likewise.
28307         * soft-fp/fixunstfti.c: Likewise.
28308         * soft-fp/floattidf.c: Likewise.
28309         * soft-fp/floattisf.c: Likewise.
28310         * soft-fp/floattitf.c: Likewise.
28311         * soft-fp/floatuntidf.c: Likewise.
28312         * soft-fp/floatuntisf.c: Likewise.
28313         * soft-fp/floatuntitf.c: Likewise.
28314         * soft-fp/trunctfxf2.c: Likewise.
28316 2013-10-10  David S. Miller  <davem@davemloft.net>
28318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28320 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28322         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28323         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28324         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28325         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28326         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28327         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28328         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28330         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28331         for NaNs before doing comparisons on argument.
28332         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28333         Likewise.
28335 2013-10-10  Will Newton  <will.newton@linaro.org>
28337         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28338         passed to _int_memalign does not overflow.
28340 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28342         * scripts/bench.pl: Add include-sources directive.
28343         * benchtests/README: Update documentation.
28345 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28347         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28348         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28349         instead of FP_INIT_ROUNDMODE.
28350         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28351         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28353         [BZ #16034]
28354         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28355         copy class of input value.
28356         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28357         not handle exceptions.
28358         * soft-fp/negsf2.c (__negsf2): Likewise.
28359         * soft-fp/negtf2.c (__negtf2): Likewise.
28360         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28362 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28364         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28365         semicolon.  From Linux kernel.
28367 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28369         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28371 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28373         [BZ #156]
28374         * manual/socket.texi: Added statement about buffer
28375         for gethostbyname2_r.
28377 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28379         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28380         Use .p2align directive instead, throughout.
28381         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28382         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28383         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28384         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28385         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28386         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28387         * sysdeps/x86_64/strchr.S: Likewise.
28388         * sysdeps/x86_64/strrchr.S: Likewise.
28390 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28392         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28394         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28396         * sysdeps/generic/math_private.h (__mpsin1): Remove
28397         declaration.
28398         (__mpcos1): Likewise.
28399         (__mpsin): New argument __range_reduce.
28400         (__mpcos): Likewise.
28401         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28402         (slow): Use __mpsin and __mpcos.
28403         (slow1): Likewise.
28404         (slow2): Likewise.
28405         (sloww): Likewise.
28406         (sloww1): Likewise.
28407         (sloww2): Likewise.
28408         (bsloww): Likewise.
28409         (bsloww1): Likewise.
28410         (bsloww2): Likewise.
28411         (cslow2): Likewise.
28412         (csloww): Likewise.
28413         (csloww1): Likewise.
28414         (csloww2): Likewise.
28415         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28416         range_reduce.  Merge in __mpsin1.
28417         (__mpcos): Likewise.
28418         (__mpsin1): Remove.
28419         (__mpcos1): Likewise.
28421 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28423         * locale/loadlocale.c (_nl_intern_locale_data): Use
28424         LOCFILE_ALIGNED_P.
28425         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28426         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28427         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28428         obstack data is appropriately aligned.
28429         (obstack_int32_grow_fast): Likewise.
28430         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28431         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28432         (add_locale_uint32_array): Likewise.
28434 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28436         * benchtests/Makefile: Remove ARGLIST and RET variables.
28437         ($(objpfx)bench-%.c): Pass only function name to the script.
28438         * benchtests/README: Update documentation.
28439         * benchtests/acos-inputs: Add new directives.
28440         * benchtests/acosh-inputs: Likewise.
28441         * benchtests/asin-inputs: Likewise.
28442         * benchtests/asinh-inputs: Likewise.
28443         * benchtests/atan-inputs: Likewise.
28444         * benchtests/atanh-inputs: Likewise.
28445         * benchtests/cos-inputs: Likewise.
28446         * benchtests/cosh-inputs: Likewise.
28447         * benchtests/exp-inputs: Likewise.
28448         * benchtests/log-inputs: Likewise.
28449         * benchtests/pow-inputs: Likewise.
28450         * benchtests/rint-inputs: Likewise.
28451         * benchtests/sin-inputs: Likewise.
28452         * benchtests/sinh-inputs: Likewise.
28453         * benchtests/tan-inputs: Likewise.
28454         * benchtests/tanh-inputs: Likewise.
28455         * scripts/bench.pl: Add support for new directives.
28457 2013-10-07  Alan Modra  <amodra@gmail.com>
28459         * README: Fix careless merge.
28461 2013-10-05  Alan Modra  <amodra@gmail.com>
28463         * NEWS: Mention powerpc64le support and bugs fixed.
28464         * README: Both big-endian and little-endian powerpc64 supported.
28466 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28468         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28469         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28470         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28471         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28473 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28475         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28476         match prototype.
28478 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28480         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28481         Move -mhard-float appending from
28482         ports/sysdeps/powerpc/powerpc32/Makefile.
28483         [$(with-fp) = yes] (ASFLAGS): Likewise.
28484         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28485         * sysdeps/powerpc/nofpu: Move directory from
28486         ports/sysdeps/powerpc/nofpu.
28487         * sysdeps/powerpc/soft-fp: Move directory from
28488         ports/sysdeps/powerpc/soft-fp.
28489         * sysdeps/powerpc/powerpc32/405: Move directory from
28490         ports/sysdeps/powerpc/powerpc32/405.
28491         * sysdeps/powerpc/powerpc32/440: Move directory from
28492         ports/sysdeps/powerpc/powerpc32/440.
28493         * sysdeps/powerpc/powerpc32/464: Move directory from
28494         ports/sysdeps/powerpc/powerpc32/464.
28495         * sysdeps/powerpc/powerpc32/476: Move directory from
28496         ports/sysdeps/powerpc/powerpc32/476.
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28500         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28502         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28504         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28506         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28507         * README: Update for powerpc-*-linux-gnu software floating point
28508         support in libc.
28510         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28511         case to powerpc/powerpc32*.
28512         * sysdeps/unix/sysv/linux/configure: Regenerated.
28514         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28515         (_FPU_MASK_OM): Define as 0x04.
28516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28518         0x00c10080.
28519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28520         0x0000003c.
28521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28524         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28525         getcontext_e500.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28527         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28528         setcontext_e500.
28529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28530         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28531         and setcontext_e500.
28533 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28535         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28537 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28539         * manual/threads.texi (Default Thread Attributes): Fix typo.
28541 2013-10-04  Will Newton  <will.newton@linaro.org>
28543         * malloc/Makefile: Add tst-memalign.
28544         * malloc/tst-memalign.c: New file.
28546         * malloc/tst-posix_memalign.c: Add comments.
28547         (do_test): Add comments and call free on all potentially
28548         allocated pointers. Add space after cast.
28550         * malloc/tst-pvalloc.c: Add comments.
28551         (do_test): Add comments and call free on all potentially
28552         allocated pointers. Remove duplicate check for NULL pointer.
28553         Add space after cast.
28555         * malloc/tst-valloc.c: Add comments.
28556         (do_test): Add comments and call free on all potentially
28557         allocated pointers. Remove duplicate check for NULL pointer.
28558         Add space after cast.
28560 2013-10-04  Alan Modra  <amodra@gmail.com>
28562         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28563         Use stdint types in rather than __attribute__((mode())).
28564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28566 2013-10-04  Alan Modra  <amodra@gmail.com>
28568         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28569         Correct handling of unaligned relocs for little-endian.
28570         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28572 2013-10-04  Alan Modra  <amodra@gmail.com>
28574         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28575         * configure: Regenerate.
28576         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28577         * shlib-versions: Likewise.
28579 2013-10-04  Alan Modra  <amodra@gmail.com>
28581         * string/tester.c (test_memrchr): Increment reported test cycle.
28583 2013-10-04  Alan Modra  <amodra@gmail.com>
28585         * string/test-memcpy.c (do_one_test): When reporting errors, print
28586         string address and don't overrun end of string.
28588 2013-10-04  Alan Modra  <amodra@gmail.com>
28590         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28591         insrdi.  Make better use of reg selection to speed exit slightly.
28592         Schedule entry path a little better.  Remove useless "are we done"
28593         checks on entry to main loop.  Handle wrapping around zero address.
28594         Correct main loop count.  Handle single left-over word from main
28595         loop inline rather than by using loop_small.  Remove extra word
28596         case in loop_small caused by wrong loop count.  Add little-endian
28597         support.
28598         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28599         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28600         cache hint.
28601         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28602         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28603         support.  Avoid rlwimi.
28604         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28606 2013-10-04  Alan Modra  <amodra@gmail.com>
28608         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28609         insrdi.  Formatting.
28610         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28611         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28612         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28613         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28614         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28615         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28617 2013-10-04  Alan Modra  <amodra@gmail.com>
28619         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28621         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28622         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28623         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28624         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28625         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28626         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28627         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28628         use of regs.  Use power7 mtocrf.  Tidy function tails.
28630 2013-10-04  Alan Modra  <amodra@gmail.com>
28632         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28633         Formatting.  Consistently use rXXX register defines or rN defines.
28634         Use early exit labels that avoid restoring unused non-volatile regs.
28635         Make cr field use more consistent with rWORDn compares.  Rename
28636         regs used as shift registers for unaligned loop, using rN defines
28637         for short lifetime/multiple use regs.
28638         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28639         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28640         addi 1,1,64 to pop stack frame.  Simplify return value code.
28641         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28643 2013-10-04  Alan Modra  <amodra@gmail.com>
28645         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28646         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28647         rather than rlwimi.
28648         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28649         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28650         little-endian support.  Correct typos.
28651         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28652         rather than rlwimi.
28653         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28654         in loop and entry code to keep "and." results.
28655         (strchr): Add little-endian support.  Comment.  Move cntlzd
28656         earlier in tail.
28657         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28659 2013-10-04  Alan Modra  <amodra@gmail.com>
28661         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28662         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28663         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28664         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28666 2013-10-04  Alan Modra  <amodra@gmail.com>
28668         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28669         (rTMP): Define as r11.
28670         (strcmp): Add little-endian support.  Optimise tail.
28671         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28672         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28673         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28674         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28675         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28677         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28679 2013-10-04  Alan Modra  <amodra@gmail.com>
28681         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28682         little-endian support.  Remove unnecessary "are we done" tests.
28683         Handle "s" wrapping around zero and extremely large "size".
28684         Correct main loop count.  Handle single left-over word from main
28685         loop inline rather than by using small_loop.  Correct comments.
28686         Delete "zero" tail, use "end_max" instead.
28687         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28689 2013-10-04  Alan Modra  <amodra@gmail.com>
28691         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28692         support.  Don't branch over align.
28693         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28694         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28695         support.  Rearrange tmp reg use to suit.  Comment.
28696         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28698 2013-10-04  Alan Modra  <amodra@gmail.com>
28700         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28702 2013-10-04  Alan Modra  <amodra@gmail.com>
28704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28705         conditional form of branch and link when obtaining pc.
28706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28708 2013-10-04  Alan Modra  <amodra@gmail.com>
28710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28711         HIWORD/LOWORD.
28712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28715 2013-10-04  Alan Modra  <amodra@gmail.com>
28717         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28718         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28719         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28720         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28721         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28722         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28723         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28724         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28725         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28726         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28728 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28729             Alistair Popple <alistair@ozlabs.au.ibm.com>
28730             Alan Modra <amodra@gmail.com>
28732         [BZ #15723]
28733         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28734         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28735         _dl_hwcap access for little-endian.
28736         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28737         destroy vmx regs when saving unaligned.
28738         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28739         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28740         destroy vmx regs when saving unaligned.
28742 2013-10-04  Alan Modra  <amodra@gmail.com>
28744         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28745         Don't use a union to pack hi/low value.
28747 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28749         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28750         for little-endian.
28751         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28752         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28753         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28754         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28755         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28757 2013-10-04  Alan Modra  <amodra@gmail.com>
28759         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28760         constants to usual value for .cst8 section, and remove redundant
28761         high address load.
28762         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28763         constant for 0x1p52.  Load little-endian words of double from
28764         correct stack offsets.
28766 2013-10-04  Alan Modra  <amodra@gmail.com>
28768         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28769         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28770         words of double from correct stack offsets.
28771         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28772         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28773         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28774         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28775         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28776         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28777         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28778         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28779         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28780         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28781         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28782         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28783         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28784         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28785         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28786         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28787         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28789 2013-10-04  Alan Modra  <amodra@gmail.com>
28791         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28792         64-bit int/double union.
28793         (_FPU_SETCW): Likewise.
28794         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28795         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28797 2013-10-04  Alan Modra  <amodra@gmail.com>
28799         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28800         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28802 2013-10-04  Alan Modra  <amodra@gmail.com>
28804         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28805         use vector int constants.
28806         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28808 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28810         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28811         array with long long.
28812         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28813         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28814         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28815         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28816         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28817         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28818         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28819         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28820         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28821         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28822         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28823         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28824         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28826 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28828         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28829         (__signbit): Likewise.  Correct for little-endian.
28830         (__signbitl): Call __signbit.
28831         (lrint): Correct for little-endian.
28832         (lrintf): Call lrint.
28834 2013-10-04  Alan Modra  <amodra@gmail.com>
28836         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28837         union 32-bit int array member with 64-bit int array.
28838         (t515, tm256): Double rather than long double.
28839         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28841 2013-10-04  Alan Modra  <amodra@gmail.com>
28843         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28844         Delete.
28845         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28846         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28847         version of math_ldbl.h.
28849 2013-10-04  Alan Modra  <amodra@gmail.com>
28851         [BZ #15734], [BZ #15735]
28852         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28853         all uses of ieee875 long double macros and unions.  Simplify test
28854         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28855         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28856         normalize after ldbl_extract_mantissa, and don't add hidden bit
28857         already handled.  Don't treat low word of ieee854 mantissa like
28858         low word of IBM long double and mask off bit when testing for
28859         zero.
28860         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28861         all uses of ieee875 long double macros and unions.  Simplify tests
28862         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28863         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28864         two1022, instead use their values.  Recognise that tests for large
28865         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28866         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28867         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28868         test for 0.0L and nan.  Correct negation.
28869         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28870         ieee875 long double macros and unions.  Correct output for large
28871         magnitude x.  Correct absolute value calculation.
28872         (__erfcl): Likewise.
28873         * math/libm-test.inc: Add tests for errors discovered in IBM long
28874         double versions of fmodl, remainderl, erfl and erfcl.
28876 2013-10-04  Alan Modra  <amodra@gmail.com>
28878         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28879         all uses of ieee854 long double macros and unions.  Simplify tests
28880         for long doubles that are fully specified by the high double.
28881         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28882         Likewise.
28883         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28884         Remove dead code too.
28885         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28886         (__ieee754_ynl): Likewise.
28887         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28888         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28890         Remove dead code too.
28891         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28892         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28894         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28895         Simplify.
28896         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28897         Simplify.
28898         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28899         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28900         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28901         Comment on variable precision.
28902         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28903         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28904         Likewise.
28905         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28906         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28907         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28908         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28909         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28911 2013-10-04  Alan Modra  <amodra@gmail.com>
28913         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28914         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28915         all uses of ieee854 long double macros and unions.
28916         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28917         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28918         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28919         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28920         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28921         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28922         Likewise.
28923         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28926         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28927         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28929         Simplify sign and nan test too.
28930         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28931         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28932         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28933         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28934         Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28936         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28937         Likewise.
28938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28939         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28940         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28941         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28942         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28945 2013-10-04  Alan Modra  <amodra@gmail.com>
28947         * stdio-common/printf_size.c (__printf_size): Don't use
28948         union ieee854_long_double in fpnum union.
28949         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28950         signbit macro to retrieve sign from long double.
28951         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28952         retrieve sign from long double.
28953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28954         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28955         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28956         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28957         * math/test-misc.c (main): Don't use union ieee854_long_double.
28959 2013-10-04  Alan Modra  <amodra@gmail.com>
28961         [BZ #15680]
28962         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28963         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28964         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28965         calculation.  Remove unnecessary test for denormal exponent.
28966         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28967         Correct handling of denormals.  Avoid undefined shift behaviour.
28968         Correct normalisation of low mantissa when low double is denormal.
28969         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28970         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28971         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28972         Correct normalisation of low mantissa.  Test for overflow of high
28973         mantissa and normalise.
28974         (ldbl_nearbyint): Use more readable constant for two52.
28975         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28976         (__mpn_construct_long_double): Fix test for overflow of high
28977         mantissa and correct normalisation.  Avoid undefined shift.
28979 2013-10-04  Alan Modra  <amodra@gmail.com>
28981         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28982         (union ibm_extended_long_double): Define as an array of ieee754_double.
28983         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28984         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28985         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28986         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28988         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28989         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28990         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28993         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28995 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28997         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28998         page size instead of calling getpagesize.
29000         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29001         (LOCFILE_ALIGN_MASK): Likewise.
29002         (LOCFILE_ALIGN_UP): Likewise.
29003         (LOCFILE_ALIGNED_P): Likewise.
29004         * locale/programs/ld-collate.c (collate_output): Use the new
29005         macros instead of __alignof__ (int32_t).
29006         * locale/weight.h (findidx): Likewise.
29008 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29010         [BZ #431]
29011         * manual/string.texi: Fix strncat and wcsncat.
29013 2013-10-03  Brooks Moses  <bmoses@google.com>
29015         [BZ #15915]
29016         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29017         * Makerules: ...here, and adjust associated comments.
29019 2013-10-02  Will Newton  <will.newton@linaro.org>
29021         * malloc/Makefile: Add tst-pvalloc.
29022         * malloc/tst-pvalloc.c: New file.
29024 2013-10-02  Will Newton  <will.newton@linaro.org>
29026         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29027         improve test coverage.
29029 2013-10-02  Will Newton  <will.newton@linaro.org>
29031         * malloc/Makefile: Add tst-posix_memalign.
29032         * malloc/tst-posix_memalign.c: New file.
29034 2013-10-01  Eric Blake  <eblake@redhat.com>
29036         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29037         Use __THROWNL rather than __THROW on static functions.
29039 2013-09-30  Petr Machata  <pmachata@redhat.com>
29041         * elf/elf.h (R_AARCH64_ABS16): New macro.
29042         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29043         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29044         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29045         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29046         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29047         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29048         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29049         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29050         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29051         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29052         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29053         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29054         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29055         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29056         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29057         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29058         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29059         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29060         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29061         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29062         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29063         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29064         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29065         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29066         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29067         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29068         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29069         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29070         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29071         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29072         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29073         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29074         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29075         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29076         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29077         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29078         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29079         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29080         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29081         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29082         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29083         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29084         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29085         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29086         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29087         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29088         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29089         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29090         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29091         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29092         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29093         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29094         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29095         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29096         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29097         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29098         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29099         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29100         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29101         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29102         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29103         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29104         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29105         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29106         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29107         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29108         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29109         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29110         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29111         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29112         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29113         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29114         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29115         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29116         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29117         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29118         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29119         (R_AARCH64_TLSDESC_LDR): Likewise.
29120         (R_AARCH64_TLSDESC_ADD): Likewise.
29121         (R_AARCH64_TLSDESC_CALL): Likewise.
29123 2013-09-30  Andreas Schwab  <schwab@suse.de>
29125         [BZ #15048]
29126         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29127         the nss database lookup.
29128         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29131 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29133         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29135 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29137         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29138         ${Bash-specific parameter/pattern/string} parameter expansion.
29139         * sysdeps/unix/make-syscalls.sh: Likewise.
29141 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29143         * sysdeps/sh/stackguard-macros.h: New file.
29145 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29148         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29149         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29150         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29151         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29152         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29154 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29156         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29157         Fix thread ID register.
29159 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29161         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29162         [POSIX || UNIX98]: Require rather than permitting all symbols from
29163         <time.h>.
29164         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29165         element of struct sched_param.
29166         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29167         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29168         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29169         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29170         constant.
29172 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29174         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29175         argument calculation.
29177 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29179         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29180         Expect macro.
29181         [POSIX] (pthread_attr_t): Do not require type.
29182         [POSIX] (pthread_cond_t): Likewise.
29183         [POSIX] (pthread_condattr_t): Likewise.
29184         [POSIX] (pthread_key_t): Likewise.
29185         [POSIX] (pthread_mutex_t): Likewise.
29186         [POSIX] (pthread_mutexattr_t): Likewise.
29187         [POSIX] (pthread_once_t): Likewise.
29188         [POSIX] (pthread_t): Likewise.
29189         [POSIX-based standards] (pthread_atfork): Expect function.
29191 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29192             Richard Sandiford  <richard@codesourcery.com>
29194         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29195         (swap_endianness_p): New extern variable.
29196         (set_big_endian): New inline function.
29197         (maybe_swap_uint32): Likewise.
29198         (maybe_swap_uint32_array): Likewise.
29199         (maybe_swap_uint32_obstack): Likewise.
29200         * locale/programs/locfile.c: Include <stdbool.h>.
29201         (swap_endianness_p): New variable.
29202         (add_locale_uint32): Call maybe_swap_uint32.
29203         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29204         (write_locale_data): Call maybe_swap_uint32_array.
29205         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29206         maybe_swap_uint32.
29207         (obstack_int32_grow_fast): Likewise.
29208         (output_weightwc): Call maybe_swap_uint32_obstack.
29209         (collate_output): Likewise.
29210         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29211         (OPT_LITTLE_ENDIAN): Likewise.
29212         (options): Add --little-endian and --big-endian options.
29213         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29214         * locale/programs/locarchive.c: Include "locfile.h".
29215         (GET): New macro.
29216         (SET): Likewise.
29217         (INC): Likewise.
29218         (create_archive): Use the new macros to access fields of
29219         structures directly mapped from or written to locale archives.
29220         (oldlocrecentcmp): Likewise.
29221         (enlarge_archive): Likewise.
29222         (insert_name): Likewise.
29223         (add_alias): Likewise.
29224         (add_locale): Likewise.
29225         (delete_locales_from_archive): Likewise.
29226         (show_archive_content): Likewise.
29227         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29228         locale data.
29230 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29232         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29233         http://www.gnu.org/doc/freemanuals.texi.
29234         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29236 2013-09-24  Will Newton  <will.newton@linaro.org>
29238         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29239         macro.
29241 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29243         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29244         unsigned char.
29246 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29248         * manual/threads.texi (POSIX Threads): Fix a typo.
29250 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29252         [BZ #14547]
29253         * string/tst-strcoll-overflow.c: New test case.
29254         * string/Makefile (xtests): Add tst-strcoll-overflow.
29255         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29256         cache if string sizes may cause integer overflow.
29258         [BZ #14547]
29259         * string/strcoll_l.c (coll_seq): New members rule, idx,
29260         save_idx and back_us.
29261         (get_next_seq_nocache): New function.
29262         (do_compare_nocache): New function.
29263         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29264         when malloc fails.
29266 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29268         [BZ #15754]
29269         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29270         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29271         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29273         [BZ #15754]
29274         * elf/Makefile (tests): Add tst-ptrguard1.
29275         (tests-static): Add tst-ptrguard1-static.
29276         (tst-ptrguard1-ARGS): Define.
29277         (tst-ptrguard1-static-ARGS): Define.
29278         * elf/tst-ptrguard1.c: New file.
29279         * elf/tst-ptrguard1-static.c: New file.
29280         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29281         * sysdeps/i386/stackguard-macros.h: Likewise.
29282         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29283         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29284         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29285         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29286         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29287         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29289 2013-09-23  Hector Marco  <hecmargi@upv.es>
29290             Ismael Ripoll  <iripoll@disca.upv.es>
29291             Carlos O'Donell  <carlos@redhat.com>
29293         [BZ #15754]
29294         * sysdeps/generic/stackguard-macros.h: Define
29295         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29296         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29297         Define __pointer_chk_guard_local.
29298         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29299         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29301 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29303         [BZ #15859]
29304         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29306 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29308         * include/string.h (__ffs): Declare as hidden.
29309         * string/ffs.c (__ffs): Define as hidden.
29310         * sysdeps/i386/ffs.c (__ffs): Likewise.
29311         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29312         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29313         * sysdeps/s390/ffs.c (__ffs): Likewise.
29314         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29316 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29318         * NEWS: Mention malloc probes.
29320         * malloc/arena.c (new_heap): New memory_heap_new probe.
29321         (grow_heap): New memory_heap_more probe.
29322         (shrink_heap): New memory_heap_less probe.
29323         (heap_trim): New memory_heap_free probe.
29324         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29325         (systrim): New memory_sbrk_less probe.
29326         * manual/probes.texi: Document them.
29328         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29329         * manual/probes.texi: Document it.
29331         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29332         (__libc_realloc): Add memory_realloc_retry probe.
29333         (__libc_memalign): Add memory_memalign_retry probe.
29334         (__libc_valloc): Add memory_valloc_retry probe.
29335         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29336         (__libc_calloc): Add memory_calloc_retry probe.
29337         * manual/probes.texi: Document them.
29339         * malloc/arena.c (get_free_list): Add probe
29340         memory_arena_reuse_free_list.
29341         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29342         and memory_arena_reuse.
29343         (arena_get2) [!PER_THREAD]: Likewise.
29344         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29345         memory_arena_reuse_realloc.
29346         * manual/probes.texi: Document them.
29348         * malloc/malloc.c (__libc_free): Add
29349         memory_mallopt_free_dyn_thresholds probe.
29350         (__libc_mallopt): Add multiple memory_mallopt probes.
29351         * manual/probes.texi: Document them.
29353         * malloc/malloc.c: Include stap-probe.h.
29354         (__libc_mallopt): Add memory_mallopt probe.
29355         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29356         * manual/probes.texi: New.
29357         * manual/Makefile (chapters): Add probes.
29358         * manual/threads.texi: Set next node.
29360 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29362         [BZ #15963, #13985]
29363         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29364         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29365         Add `Chinese' to `nan' entry name.
29367 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29369         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29370         (POLYNOMIAL): Likewise.
29371         (TAYLOR_SINCOS): Likewise.
29372         (TAYLOR_SLOW): Likewise.
29373         (__sin): Use TAYLOR_SINCOS.
29374         (__cos): Likewise.
29375         (slow): Use TAYLOR_SLOW.
29376         (sloww): Likewise.
29377         (bsloww): Likewise.
29378         (csloww): Likewise.
29380 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29382         * stdlib/strtod_l.c: Fix buffer overrun.
29384 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29386         * benchtests/Makefile (bench): Add sincos.
29387         * benchtests/bench-sincos.c: New file.
29389         * math/libm-test.inc (cos_test_data): New test inputs.
29390         (sin_test_data): Likewise.
29392         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29393         macro.
29394         (__sin): Use it.
29395         (__cos): Likewise.
29396         (slow1): Likewise.
29397         (slow2): Likewise.
29398         (sloww1): Likewise.
29399         (sloww2): Likewise.
29400         (bsloww1): Likewise.
29401         (bsloww2): Likewise.
29402         (cslow2): Likewise.
29403         (csloww1): Likewise.
29404         (csloww2): Likewise.
29406         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29407         function.
29408         (__sin): Use it.
29409         (__cos): Likewise.
29411         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29412         gotos.
29413         (__cos): Likewise.
29415 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29417         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29418         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29419         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29420         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29421         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29422         * elf/cache.c (print_entry): Handle the new cache flags.
29424 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29425             Aldy Hernandez  <aldyh@redhat.com>
29427         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29428         Change condition to [_SOFT_FLOAT].
29429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29441         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29444         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29445         declaration.
29447 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29449         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29450         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29451         (__longjmp): Use LOAD_GP to load saved GPRs.
29452         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29453         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29454         (__sigsetjmp): Use SAVE_GP to save GPRs.
29456         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29457         Do not append -msoft-float.
29458         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29460 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29462         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29464 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29466         [BZ #15966]
29467         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29468         (_FPU_GETCW): Use initial "__" on variable and field names but not
29469         on macro parameter name.
29470         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29471         parentheses around reference to macro parameter.
29473 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29475         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29476         prototype.
29477         (ctype_startup): Use uint32_t in cast and sizeof for
29478         ctype->charnames.
29480 2013-09-11  Jia Liu  <proljc@gmail.com>
29482         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29483         __daddr_t_defined.
29484         [__FreeBSD__]: Likewise.
29486 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29489         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29490         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29491         (strchr): Remove __strchr_sse42 ifunc selection.
29492         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29493         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29495 2013-09-11  Will Newton  <will.newton@linaro.org>
29497         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29498         parameter to RES. Remove hardcoded 1000 value.
29499         * benchtests/bench-skeleton.c (main): Pass RES parameter
29500         to TIMING_INIT and multiply result by 1000.
29502 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29506 2013-09-11  Andreas Schwab  <schwab@suse.de>
29508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29509         if not defined.
29510         (O_TMPFILE) [__USE_GNU]: Define.
29511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29512         Define.
29514 2013-09-11  Will Newton  <will.newton@linaro.org>
29516         [BZ #15857]
29517         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29518         does not overflow.
29520 2013-09-11  Will Newton  <will.newton@linaro.org>
29522         [BZ #15856]
29523         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29524         does not overflow.
29526 2013-09-11  Will Newton  <will.newton@linaro.org>
29528         [BZ #15855]
29529         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29530         does not overflow.
29532 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29534         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29535         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29536         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29537         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29538         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29540 2013-09-10  Allan McRae  <allan@archlinux.org>
29542         [BZ #15748]
29543         * manual/arith.texi (Parsing of Floats): Clarify
29544         cross-reference.
29546         [BZ #15849]
29547         * manual/install.texi (Running make install): Mention
29548         --enable-pt-chown.
29549         * INSTALL: Regenerated.
29551 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29553         * csu/init-first.c (_init): Remove the !SHARED condition around
29554         FPU control word initialization.
29555         * elf/dl-support.c (_dl_fpu_control): New variable.
29556         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29557         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29558         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29559         * math/test-fpucw-static.c: New file.
29560         * math/test-fpucw-ieee.c: New file.
29561         * math/test-fpucw-ieee-static.c: New file.
29562         * math/Makefile (tests): Add `test-fpucw-ieee' and
29563         `$(tests-static)'.
29564         (tests-static): New variable.
29565         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29566         dependency to...
29567         [($(build-shared),yes)]
29568         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29569         ... this.
29570         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29571         New dependency.
29573 2013-09-09  Allan McRae  <allan@archlinux.org>
29575         [BZ #15939]
29576         * manual/string.texi (Collation Functions): Fix typo in
29577         strcoll example.
29578         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29580         [BZ #15893]
29581         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29583         [BZ #15892]
29584         * libio/memstream.c (open_memstream): Fix memory leak.
29585         * libio/wmemstream.c (open_wmemstream): Likewise.
29587         [BZ #15895]
29588         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29590 2013-09-09  Will Newton  <will.newton@linaro.org>
29592         * malloc/Makefile: Add tst-realloc to tests.
29593         * malloc/tst-realloc.c: New file.
29595 2013-09-09  Allan McRae  <allan@archlinux.org>
29597         [BZ #15844]
29598         * COPYING: Update from GNU website to fix FSF address.
29599         * COPYING.LIB: Likewise.
29601 2013-09-06  David S. Miller  <davem@davemloft.net>
29603         * po/zh_TW.po: Update Chinese (traditional) translation from
29604         translation project.
29606 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29607             Joseph Myers  <joseph@codesourcery.com>
29609         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29610         "localeinfo.h".
29611         (obstack_chunk_alloc): New macro.
29612         (obstack_chunk_free): Likewise.
29613         (record_offset): New function.
29614         (init_locale_data): Likewise.
29615         (align_locale_data): Likewise.
29616         (add_locale_empty): Likewise.
29617         (add_locale_raw_data): Likewise.
29618         (add_locale_raw_obstack): Likewise.
29619         (add_locale_string): Likewise.
29620         (add_locale_wstring): Likewise.
29621         (add_locale_uint32): Likewise.
29622         (add_locale_uint32_array): Likewise.
29623         (add_locale_char): Likewise.
29624         (start_locale_structure): Likewise.
29625         (end_locale_structure): Likewise.
29626         (start_locale_prelude): Likewise.
29627         (end_locale_prelude): Likewise.
29628         (write_locale_data): Take locale_file structure rather than an
29629         iovec.
29630         * locale/programs/locfile.h: Include "obstack.h".
29631         (struct locale_file): Change to store locale file contents instead
29632         of header.
29633         (init_locale_data): New prototype.
29634         (align_locale_data): Likewise.
29635         (add_locale_empty): Likewise.
29636         (add_locale_raw_data): Likewise.
29637         (add_locale_raw_obstack): Likewise.
29638         (add_locale_string): Likewise.
29639         (add_locale_wstring): Likewise.
29640         (add_locale_uint32): Likewise.
29641         (add_locale_uint32_array): Likewise.
29642         (add_locale_char): Likewise.
29643         (start_locale_structure): Likewise.
29644         (end_locale_structure): Likewise.
29645         (start_locale_prelude): Likewise.
29646         (end_locale_prelude): Likewise.
29647         (write_locale_data): Update prototype.
29648         * locale/programs/3level.h (struct TABLE): Remove result field.
29649         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29650         Use new locale_file interface.
29651         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29652         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29653         * locale/programs/ld-address.c (address_output): Use new
29654         locale_file interface.
29655         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29656         NO_ADD_LOCALE.
29657         (collate_finish): Don't call collseq_table_finalize.
29658         (collate_output): Use new locale_file interface.
29659         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29660         in file.
29661         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29662         (TABLE): Move defines earlier in file.
29663         (ELEMENT): Likewise.
29664         (DEFAULT): Likewise.
29665         (wctrans_table_add): Move macro and inline function earlier in
29666         file.
29667         (struct wctype_table): Move type earlier in file.
29668         (add_locale_wctype_table): New static prototype.
29669         (struct locale_ctype_t): Use logical types instead of struct iovec
29670         pointers for members.
29671         (ctype_output): Use new locale_file interface.
29672         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29673         new locale_file interface.
29674         (allocate_arrays): Update for use of new locale_file interface.
29675         * locale/programs/ld-identification.c (identification_output): Use
29676         new locale_file interface.
29677         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29678         * locale/programs/ld-messages.c (messages_output): Likewise.
29679         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29680         * locale/programs/ld-name.c (name_output): Likewise.
29681         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29682         * locale/programs/ld-paper.c (paper_output): Likewise.
29683         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29684         * locale/programs/ld-time.c (time_output): Likewise.
29686 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29688         * benchtests/Makefile: Add memrchr benchmark.
29689         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29690         benchmark as memrchr.
29691         * benchtests/bench-memrchr-ifunc.c: New file.
29692         * benchtests/bench-memrchr.c: New file.
29694 2013-09-06   Will Newton  <will.newton@linaro.org>
29696         * benchtests/Makefile (string-bench): Add memcpy.
29698 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29699             Cong Wang  <amwang@redhat.com>
29701         [BZ #15850]
29702         * sysdeps/unix/sysv/linux/bits/in.h
29703         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29704         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29705         before __USE_KERNEL_IPV6_DEFS uses.
29706         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29707         IPPROTO_BEETPH.
29708         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29709         sockaddr_in6, or ipv6_mreq.
29711 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29713         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29714         memory access for final bytes in some large inputs.
29715         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29717 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29719         * string/test-memrchr.c: New file.
29720         * string/test-memrchr-ifunc.c: New file.
29721         * string/Makefile: Add new memrchr testcase.
29723 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29725         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29726         fanotify_init returns EPERM.
29728 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29730         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29731         errors.
29732         (top level): Treat second token from macro or constant entries for
29733         allowed headers as allowed.
29734         * include/complex.h: Condition internal declarations on
29735         [!_ISOMAC].
29736         * include/fenv.h: Condition include of <stdbool.h> and internal
29737         declarations on [!_ISOMAC].
29739 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29741         [BZ #15923]
29742         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29744 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29746         * configure.in (--enable-versioning): Remove configure option.
29747         (libc_cv_asm_symver_directive): Remove configure test.
29748         (libc_cv_ld_version_script_option): Likewise.
29749         (VERSIONING): Remove variable and AC_SUBST.
29750         (DO_VERSIONING): Remove AC_DEFINE.
29751         * configure: Regenerated.
29752         * config.h.in (DO_VERSIONING): Remove macro.
29753         * Makerules [$(versioning) = yes]: Change conditionals to
29754         [$(build-shared) = yes].
29755         * config.make.in (versioning): Remove variable.
29756         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29757         [$(build-shared) = yes].
29758         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29759         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29760         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29761         [$(build-shared) = yes].
29762         * extra-lib.mk [$(versioning) = yes]: Likewise.
29763         * hurd/Makefile [$(versioning) = yes]: Likewise.
29764         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29765         [SHARED].
29766         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29767         [SHARED].
29768         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29769         [SHARED && !NO_HIDDEN].
29770         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29771         [SHARED].
29772         [SHARED && DO_VERSIONING]: Likewise..
29773         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29774         [$(build-shared) = yes].
29775         * manual/install.texi (--disable-versioning): Remove
29776         documentation.
29777         * INSTALL: Regenerated.
29778         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29779         to [SHARED].
29780         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29781         [$(build-shared) = yes].
29782         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29783         * sysdeps/i386/i686/multiarch/strstr-c.c
29784         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29785         [SHARED && !NO_HIDDEN].
29786         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29787         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29788         * sysdeps/powerpc/powerpc32/dl-machine.c
29789         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29790         * sysdeps/powerpc/powerpc32/sysdep.h
29791         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29792         to [SHARED && PIC && !NO_HIDDEN].
29793         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29794         conditional to [SHARED].
29796 2013-09-04   Will Newton  <will.newton@linaro.org>
29798         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29799         * benchtests/bench-string.h: Include bench-timing.h instead
29800         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29801         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29802         call to HP_TIMING_DIFF_INIT.
29803         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29804         instead of hp-timing.h macros.
29805         * benchtests/bench-memchr.c: Likewise.
29806         * benchtests/bench-memcmp.c: Likewise.
29807         * benchtests/bench-memcpy.c: Likewise.
29808         * benchtests/bench-memmem.c: Likewise.
29809         * benchtests/bench-memmove.c: Likewise.
29810         * benchtests/bench-memset.c: Likewise.
29811         * benchtests/bench-rawmemchr.c: Likewise.
29812         * benchtests/bench-strcasecmp.c: Likewise.
29813         * benchtests/bench-strcasestr.c: Likewise.
29814         * benchtests/bench-strcat.c: Likewise.
29815         * benchtests/bench-strchr.c: Likewise.
29816         * benchtests/bench-strcmp.c: Likewise.
29817         * benchtests/bench-strcpy.c: Likewise.
29818         * benchtests/bench-strcpy_chk.c: Likewise.
29819         * benchtests/bench-strlen.c: Likewise.
29820         * benchtests/bench-strncasecmp.c: Likewise.
29821         * benchtests/bench-strncat.c: Likewise.
29822         * benchtests/bench-strncmp.c: Likewise.
29823         * benchtests/bench-strncpy.c: Likewise.
29824         * benchtests/bench-strnlen.c: Likewise.
29825         * benchtests/bench-strpbrk.c: Likewise.
29826         * benchtests/bench-strrchr.c: Likewise.
29827         * benchtests/bench-strspn.c: Likewise.
29828         * benchtests/bench-strstr.c: Likewise.
29830 2013-09-04  Will Newton  <will.newton@linaro.org>
29832         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29834 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29836         [BZ #15427]
29837         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29838         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29839         * math/libm-test.inc (lgamma_test_data): Add more tests.
29840         * sysdeps/i386/fpu/libm-test-ulps: Update.
29841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29843 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29845         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29847         Add ifunc.
29848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29849         Add strcmp-sse2-unaligned
29850         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29852 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29854         * Versions.def (libc): Add GLIBC_2.19.
29856 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29858         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29859         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29861 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29863         [BZ #14155]
29864         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29865         intermediate calculations in recurrence.
29866         (__ieee754_ynf): Likewise.
29867         * math/libm-test.inc (jn_test_data): Do not allow spurious
29868         underflow exception.  Add more tests.
29869         (yn_test_data): Add more tests.
29870         * sysdeps/i386/fpu/libm-test-ulps: Update.
29871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29873 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29875         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29877 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29879         * csu/init-first.c: Fix then/than typos.
29880         * locale/programs/ld-collate.c: Likewise.
29881         * locale/programs/linereader.h: Likewise.
29882         * manual/charset.texi: Likewise.
29883         * manual/filesys.texi: Likewise.
29884         * manual/stdio.texi: Likewise.
29885         * manual/string.texi: Likewise.
29886         * stdlib/fmtmsg.c: Likewise.
29887         * sysdeps/i386/stpncpy.S: Likewise.
29888         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29889         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29890         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29891         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29893 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29895         * elf/dl-open.c: Fix typos.
29896         * iconvdata/gbbig5.c: Likewise.
29897         * iconvdata/iso-2022-jp.c: Likewise.
29898         * iconv/gconv_int.h: Likewise.
29899         * iconv/loop.c: Likewise.
29900         * nis/rpcsvc/nis.h: Likewise.
29901         * resolv/ns_name.c: Likewise.
29902         * stdio-common/vfscanf.c: Likewise.
29903         * streams/stropts.h: Likewise.
29904         * sunrpc/rpc_thread.c: Likewise.
29905         * sysdeps/i386/strpbrk.S: Likewise.
29906         * sysdeps/ieee754/k_standard.c: Likewise.
29907         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29908         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29909         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29910         * sysdeps/mach/hurd/profil.c: Likewise.
29911         * sysdeps/s390/dl-procinfo.h: Likewise.
29912         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29913         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29914         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29915         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29916         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29918 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29920         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29923 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29925         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29926         aix specific files.
29927         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29928         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29929         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29930         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29931         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29932         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29933         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29934         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29936 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29937             Roland McGrath  <roland@hack.frob.com>
29939         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29940         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29942 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29944         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29945         __executable_start symbol instead of _start.
29947 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29949         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29950         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29951         Move macros to...
29952         * sysdeps/gnu/ldsodefs.h: ... this new file.
29954         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29955         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29956         instead of ELFOSABI_LINUX.
29958         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29959         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29960         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29961         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29962         Likewise.
29963         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29964         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29965         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29966         Likewise.
29967         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29968         (ibm_extended_long_double): Add ieee_nan member.
29969         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29970         (do_test): New function.
29972         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29973         TEST_TRUNC.
29974         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29975         functions, renamed from truncdfsf_test, trunctfsf_test,
29976         trunctfdf_test.
29977         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29978         functions.
29979         (do_test): Run all these.
29981 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29983         * argp/argp-help.c: Fix typos.
29984         * argp/argp-parse.c: Likewise.
29985         * debug/backtracesyms.c: Likewise.
29986         * elf/elf.h: Likewise.
29987         * malloc/malloc.c: Likewise.
29988         * nis/nis_print.c: Likewise.
29989         * resolv/res_comp.c: Likewise.
29990         * stdlib/stdlib.h: Likewise.
29991         * sunrpc/clnt_tcp.c: Likewise.
29992         * sunrpc/clnt_udp.c: Likewise.
29993         * sunrpc/clnt_unix.c: Likewise.
29994         * sysdeps/unix/bsd/ptsname.c: Likewise.
29995         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29996         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29998         Likewise.
29999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30000         Likewise.
30001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30002         Likewise.
30003         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30005 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30007         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30010 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30012         [BZ #15897]
30013         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30014         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30015         ($(objpfx)bug-dl-leaf): New rule.
30016         ($(objpfx)bug-dl-leaf.so): Likewise.
30017         ($(objpfx)bug-dl-leaf.out): Likewise.
30018         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30019         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30020         * dlfcn/bug-dl-leaf.c: New test.
30021         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30022         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30023         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30024         (dlclose): Likewise.
30025         (dlmopen): Likewise.
30027 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30029         * include/netdb.h [!_ISOMAC]:
30030         Don't include <tls.h>.
30031         (h_errno, __libc_h_errno): Move declaration and macros out of
30032         [_LIBC_REENTRANT].
30034         * include/resolv.h [_RESOLV_H_]:
30035         Don't include <tls.h>.
30036         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30037         * resolv/res_libc.c: Don't include <tls.h>.
30038         (_res): Use __attribute__ ((nocommon)) in place of
30039         __attribute__ ((section (".bss"))).
30041         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30042         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30044         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30046         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30047         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30049         * resolv/res_mkquery.c: Include <sys/time.h>.
30051         * inet/ifreq.c: Moved to ...
30052         * sysdeps/unix/ifreq.c: ... here.
30053         * inet/ifreq.c: New file, true stub version.
30055         * socket/sa_len.c: New file.
30056         * socket/Makefile (aux): Add it.
30057         * sysdeps/unix/sysv/linux/Makefile
30058         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30059         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30060         and #include <socket/sa_len.c>.
30061         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30062         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30064         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30065         * bits/socket.h: ... here.
30067         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30068         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30069         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30071 2013-08-27  Andreas Schwab  <schwab@suse.de>
30073         [BZ #15736]
30074         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30075         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30076         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30077         * string/test-strcasecmp.c (test_main): Run tests in several
30078         locales.
30079         * string/test-strncasecmp.c (test_main): Likewise.
30081         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30082         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30083         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30085         (__strncasecmp_ssse3) [PIC]: Likewise.
30087 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30089         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30091         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30092         instead of explicitly declaring xdecrypt.
30093         * nis/nss_nis/nis-publickey.c: Likewise.
30095 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30097         [BZ #15890]
30098         * nscd/aicache.c: Include res_hconf.h.
30099         (addhstaiX): Initialize res_hconf.
30101 2013-08-26  Andreas Schwab  <schwab@suse.de>
30103         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30104         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30106 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30108         * nscd/aicache.c (addhstaiX): Fix indentation.
30110 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30112         * configure.ac: Quote $build_pt_chown test.
30113         * configure: Regenerated.
30115 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30117         [BZ #15532]
30118         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30119         * math/s_cexpf.c (__cexpf): Likewise.
30120         * math/s_cexpl.c (__cexpl): Likewise.
30121         * math/libm-test.inc (cexp_test_data): Correct expected return
30122         value for NaN + i0.  Add another test.
30124 2013-08-22  David S. Miller  <davem@davemloft.net>
30126         * po/ca.po: Update Catalan translation from translation project.
30127         * po/uk.po: Add Ukrainian translations from translation project.
30129 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30131         [BZ #15797]
30132         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30133         is infinite, not alongside NaN test.
30134         * math/s_fdimf.c (__fdimf): Likewise.
30135         * math/s_fdiml.c (__fdiml): Likewise.
30136         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30137         errno is unchanged.
30139 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30141         * argp/argp-help.c: Fix typos.
30142         * crypt/speeds.c: Likewise.
30143         * csu/check_fds.c: Likewise.
30144         * elf/dl-load.c: Likewise.
30145         * elf/dl-open.c: Likewise.
30146         * elf/reldep3.c: Likewise.
30147         * elf/reldep.c: Likewise.
30148         * elf/sprof.c: Likewise.
30149         * iconv/iconv_charmap.c: Likewise.
30150         * iconv/skeleton.c: Likewise.
30151         * iconv/strtab.c: Likewise.
30152         * io/lockf64.c: Likewise.
30153         * libio/libioP.h: Likewise.
30154         * resolv/gai_notify.c: Likewise.
30155         * resolv/ns_name.c: Likewise.
30156         * resolv/ns_samedomain.c: Likewise.
30157         * resolv/res_send.c: Likewise.
30158         * stdlib/random.c: Likewise.
30159         * sunrpc/rpc/xdr.h: Likewise.
30160         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30161         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30162         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30163         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30164         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30165         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30168         * sysdeps/mach/hurd/check_fds.c: Likewise.
30169         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30170         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30171         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30172         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30173         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30174         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30175         * sysdeps/pthread/aio_notify.c: Likewise.
30176         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30177         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30178         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30180         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30182 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30184         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30185         version if bit_Slow_SSE4_2 is set.
30186         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30187         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30189 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30191         [BZ #15867]
30192         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30193         trampoline stack frame information.
30194         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30195         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30196         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30197         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30198         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30199         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30200         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30201         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30202         sa_flags value.
30203         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30204         interrupting a syscall and set with option SA_SIGINFO.
30206 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30208         [BZ #15531]
30209         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30210         argument is infinite.
30211         * math/s_cprojf.c (__cprojf): Likewise.
30212         * math/s_cprojl.c (__cprojl): Likewise.
30213         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30214         * math/libm-test.inc (cproj_test_data): Add more tests.
30216         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30218         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30219         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30220         size.  Use __ffs to determine corresponding shift.
30222 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30223             Roland McGrath  <roland@hack.frob.com>
30225         * Makefile (INSTALL): Remove trailing blank lines from output of
30226         makeinfo.
30228 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30230         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30231         Align 32 bit compat elf_greg to 8 bytes.
30233 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30235         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30237 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30239         * string/strcoll_l.c (coll_seq): New structure.
30240         (get_next_seq_cached): New function.
30241         (get_next_seq): New function.
30242         (do_compare): New function.
30243         (STRCOLL): Use GNU style definition.  Simplify implementation
30244         by using get_next_seq, get_next_seq_cached and do_compare.
30246 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30248         [BZ #14699]
30249         CVE-2013-4237
30250         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30251         member.
30252         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30253         member.
30254         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30255         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30256         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30257         conditional.
30258         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30259         GETDENTS_64BIT_ALIGNED.
30260         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30261         * manual/filesys.texi (Reading/Closing Directory): Document
30262         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30263         strongly.
30264         * manual/conf.texi (Limits for Files): Add portability note to
30265         NAME_MAX, PATH_MAX.
30266         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30268 2013-08-13  Andreas Schwab  <schwab@suse.de>
30270         [BZ #15749]
30271         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30272         of fabs.
30273         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30274         LDBL_MAX_EXP >= 16384]: Add tests for it.
30276 2013-08-12  David S. Miller  <davem@davemloft.net>
30278         * version.h (RELEASE): Set to "development".
30279         (VERSION): Set to "2.18.90".
30280         * NEWS: Add 2.19 section.
30282 2013-08-03  David S. Miller  <davem@davemloft.net>
30284         * po/ko.po: Update Korean translation from translation project.
30286 2013-08-01  David S. Miller  <davem@davemloft.net>
30288         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30289         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30290         Bilka.
30292 2013-07-30  David S. Miller  <davem@davemloft.net>
30294         * po/fr.po: Update French translation from translation project.
30296 2013-07-28  David S. Miller  <davem@davemloft.net>
30298         * po/cs.po: Update Czech translation from translation project.
30300         * po/sv.po: Update Swedish translation from translation project.
30302 2013-07-27  David S. Miller  <davem@davemloft.net>
30304         * po/eo.po: Update Esperanto translation from translation project.
30306         * po/vi.po: Update Vietnamese translation from translation project.
30308         * po/de.po: Update German translation from translation project.
30310 2013-07-26  David S. Miller  <davem@davemloft.net>
30312         * po/bg.po: Update Bulgarian translation from translation project.
30314         * po/nl.po: Update Dutch translation from translation project.
30315         * po/pl.po: Update Polish translation from translation project.
30316         * po/ru.po: Update Russian translation from translation project.
30318 2013-07-24  David S. Miller  <davem@davemloft.net>
30320         * po/libc.pot: Update.
30322 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30324         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30325         variable page size.
30326         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30327         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30328         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30330 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30332         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30334 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30335             Andreas Schwab  <schwab@suse.de>
30336             Roland McGrath  <roland@hack.frob.com>
30337             Joseph Myers  <joseph@codesourcery.com>
30338             Carlos O'Donell  <carlos@redhat.com>
30340         [BZ #15755]
30341         * config.h.in: Define HAVE_PT_CHOWN.
30342         * config.make.in (build-pt-chown): New variable.
30343         * configure.in (--enable-pt_chown): New configure option.
30344         * configure: Regenerate.
30345         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30346         build-pt-chown is enabled.
30347         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30348         pt_chown to fix pty ownership.
30349         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30350         CLOSE_ALL_FDS.
30351         * manual/install.texi (Configuring and compiling): Mention
30352         --enable-pt_chown. Add @findex for grantpt.
30353         * INSTALL: Regenerate.
30355 2013-07-20  David S. Miller  <davem@davemloft.net>
30357         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30358         difference between 32-bit and 64-bit.
30360 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30362         [BZ #15711]
30363         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30364         Avoid system header dependency with -ffreestanding.
30365         ($(objpfx)bits/syscall%d): Likewise.
30367 2013-07-13  David S. Miller  <davem@davemloft.net>
30369         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30370         underflows from atanl/atan2l due to bug 15319.
30371         (casinh_test_data): Likewise.
30373 2013-07-07  David S. Miller  <davem@davemloft.net>
30375         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30377 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30379         * sysdeps/i386/fpu/libm-test-ulps: Update.
30380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30382 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30384         * configure.in (--enable-lock-elision): Fix message text.
30385         * INSTALL: Regenerate.
30386         * configure: Regenerate.
30388 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30392 2013-07-03  Andreas Jaeger  <aj@suse.de>
30394         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30395         define.
30396         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30397         (ptrace_peeksiginfo_args): Add.
30398         (__ptrace_peeksiginfo_flags): Add.
30399         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30400         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30401         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30403 2013-07-03  Allan McRae  <allan@archlinux.org>
30405         * sysdeps/i386/fpu/libm-test-ulps: Update.
30407 2013-07-02  David S. Miller  <davem@davemloft.net>
30409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30411 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30415 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30417         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30420 2013-07-02  Andi Kleen <ak@linux.intel.com>
30422         * config.h.in (ENABLE_LOCK_ELISION): Add.
30423         * configure.in (--enable-lock-elision): Add option.
30424         * manual/install.texi: Document --enable lock elision.
30425         * configure: Regenerate
30426         * INSTALL: Regenerate.
30428 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30430         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30431         SSE4.2 strcasecmp for libc.a.
30432         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30434 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30436         [BZ #13304]
30437         * soft-fp/op-common.h (_FP_FMA): New macro.
30438         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30439         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30440         (_FP_MUL_MEAT_1_imm): ... here.
30441         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30442         (_FP_MUL_MEAT_1_wide): ... here.
30443         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30444         (_FP_MUL_MEAT_1_hard): ... here.
30445         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30446         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30447         (_FP_MUL_MEAT_2_wide): ... here.
30448         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30449         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30450         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30451         (_FP_MUL_MEAT_2_gmp): ... here.
30452         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30453         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30454         (_FP_MUL_MEAT_4_wide): ... here.
30455         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30456         (_FP_MUL_MEAT_4_gmp): ... here.
30457         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30458         (_FP_WFRACBITS_DW_S): Likewise.
30459         (_FP_WFRACXBITS_DW_S): Likewise.
30460         (_FP_HIGHBIT_DW_S): Likewise.
30461         (FP_FMA_S): Likewise.
30462         (_FP_FRAC_HIGH_DW_S): Likewise.
30463         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30464         (_FP_WFRACBITS_DW_D): Likewise.
30465         (_FP_WFRACXBITS_DW_D): Likewise.
30466         (_FP_HIGHBIT_DW_D): Likewise.
30467         (FP_FMA_D): Likewise.
30468         (_FP_FRAC_HIGH_DW_D): Likewise.
30469         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30470         (_FP_WFRACBITS_DW_E): Likewise.
30471         (_FP_WFRACXBITS_DW_E): Likewise.
30472         (_FP_HIGHBIT_DW_E): Likewise.
30473         (FP_FMA_E): Likewise.
30474         (_FP_FRAC_HIGH_DW_E): Likewise.
30475         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30476         (_FP_WFRACBITS_DW_Q): Likewise.
30477         (_FP_WFRACXBITS_DW_Q): Likewise.
30478         (_FP_HIGHBIT_DW_Q): Likewise.
30479         (FP_FMA_Q): Likewise.
30480         (_FP_FRAC_HIGH_DW_Q): Likewise.
30481         * soft-fp/fmasf4.c: New file.
30482         * soft-fp/fmadf4.c: Likewise.
30483         * soft-fp/fmatf4.c: Likewise.
30485 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30488         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30489         Silvermont.
30490         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30491         macro.
30492         (index_Slow_SSE4_2): Likewise.
30493         (index_Prefer_PMINUB_for_stringop): Likewise.
30494         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30495         bit_Slow_SSE4_2 is set.
30496         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30497         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30499 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30501         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30502         rtld_global._dl_hwcap2.
30503         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30504         POWER8.
30505         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30506         POWER8 feature descriptions defined in _dl_hwcap2.
30507         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30508         string handling for POWER8 feature bits.
30509         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30510         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30511         _dl_powerpc_cap_flags.
30512         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30513         * sysdeps/powerpc/rtld-global-offsets.sym
30514         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30515         _dl_hwcap2 in the rtld_global_ro structure.
30517 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30519         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30520         hardware capabilities in support of AT_HWCAP2.
30521         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30522         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30523         GLRO(dl_hwcap2).
30524         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30525         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30526         explicitly the unknown a_type display mechanism is used.
30527         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30528         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30529         struct member.
30530         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30531         to macro prototype for AT_HWCAP2 support.
30532         * sysdeps/i386/dl-procinfo.h: Likewise.
30533         * sysdeps/s390/dl-procinfo.h: Likewise.
30534         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30535         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30536         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30537         return -1 for unknown a_type display fallback.
30538         * sysdeps/sparc/dl-procinfo.h: Likewise.
30539         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30540         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30542 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30544         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30545         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30547 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30549         [BZ #12492]
30550         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30551         mprotect making __stack_prot writable.
30553 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30554             Joseph Myers  <joseph@codesourcery.com>
30556         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30557         as being properly aligned.
30559 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30561         * dlfcn/modstatic5.c: New file.
30562         * dlfcn/tststatic5.c: New file.
30563         * dlfcn/Makefile (tests): Add tststatic5.
30564         (tests-static): Likewise.
30565         (modules-names): Add modstatic5.
30566         (tststatic5-ENV): New variable.
30567         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30569         [BZ #15022]
30570         * elf/dl-support.c (_dl_main_map): New variable.
30571         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30572         (_dl_nns, _dl_load_adds): Set to 1.
30573         (_dl_initial_searchlist): Refer to _dl_main_map.
30574         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30575         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30576         call to _dl_get_origin.
30577         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30578         around call_map.
30579         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30580         * dlfcn/modstatic3.c: New file.
30581         * dlfcn/tststatic3.c: New file.
30582         * dlfcn/tststatic4.c: New file.
30583         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30584         (tests-static): Likewise.
30585         (modules-names): Add modstatic3.
30586         (tststatic3-ENV, tststatic4-ENV): New variables.
30587         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30588         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30590 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30592         * configure.in (CC): Require GCC version 4.4 or later.
30593         * configure: Regenerated.
30594         * manual/install.texi (Tools for Compilation): Update GCC version
30595         requirement.
30596         * INSTALL: Regenerated.
30598 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30600         [BZ #15674]
30601         * string/test-memcmp.c (check2): New.
30602         (main): Call check2.
30604         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30606 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30608         [BZ #15022]
30609         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30610         over to...
30611         (dl_open_worker) [!SHARED]: ... here.
30613 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30615         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30617 2013-06-25  Richard Henderson  <rth@redhat.com>
30619         * locale/programs/locarchive.c: Include <libc-internal.h>
30621 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30623         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30624         trailing whitespace removed.
30626 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30628         [BZ #10283]
30629         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30630         * locale/programs/locarchive.c: Include libc-mmap.h.
30631         (prepare_address_space): Take two new outputs (the mmap base and len).
30632         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30633         values.
30634         (create_archive): Declare new mmap base and len values for
30635         prepare_address_space, and store the result in ah.
30636         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30637         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30638         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30639         Declare new mmap base and len values for
30640         prepare_address_space, and store the result in new_ah.
30641         (open_archive): Declare new mmap base and len values for
30642         prepare_address_space, and store the result in ah.
30643         (close_archive): If ah->mmap_base is not NULL, use that and
30644         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30645         * sysdeps/generic/libc-mmap.h: New file.
30647 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30649         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30650         (ALIGN_UP): Likewise.
30651         (PTR_ALIGN_DOWN): Likewise.
30652         (PTR_ALIGN_UP): Likewise.
30654 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30657         entry mapped to PPC_PLATFORM_POWER8.
30658         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30659         POWER8.
30660         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30661         (_dl_string_platform): Add case for exporting platform position for
30662         POWER8.
30663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30664         search path to sysdeps/powerpc/powerpc32/power8 directory.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30666         search path to sysdeps/powerpc/powerpc64/power8 directory.
30667         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30668         power7 directories.
30669         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30670         power7 directories.
30672 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30674         * INSTALL: Regenerate.
30676         * nscd/connections.c (nscd_init): Fix comment.
30678 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30680         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30682         [BZ #15667]
30683         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30684         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30686 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30688         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30689         DL_DST_REQ_STATIC.
30690         (DL_DST_REQ_STATIC): Remove macro.
30692 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30694         [BZ #7006]
30695         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30696         with a shift of 0 bits.
30698 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30700         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30701         $(tststatic-ENV).
30703 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30705         [BZ #15655]
30706         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30708 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30710         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30711         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30712         accepts -fno-tree-loop-distribute-patterns.
30713         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30714         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30715         recursive call.
30716         * string/memset.c (memset): Likewise.
30717         * string/test-memmove.c (simple_memmove): Disable loop transformation
30718         to library calls.
30719         * string/test-memset.c (simple_memset): Likewise.
30720         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30721         * benchtests/bench-memset.c (simple_memset): Likewise.
30722         * configure: Regenerated.
30724 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30726         * math/test-misc.c (main): Ignore fesetround failure when failures
30727         of subsequent rounding tests would be ignored.
30729         [BZ #15654]
30730         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30731         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30732         * math/fegetenv.c (__fegetenv): Return 0.
30733         * math/fegetexcept.c (fegetexcept): Return 0.
30734         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30735         FE_TONEAREST.
30736         * math/feholdexcpt.c (feholdexcept): Return 0.
30737         * math/fesetenv.c (__fesetenv): Return 0.
30738         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30739         argument FE_TONEAREST.
30740         * math/feupdateenv.c (__feupdateenv): Return 0.
30741         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30743 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30745         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30746         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30747         ($(objpfx)rtld-%.os rules): Use them.
30749 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30751         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30752         fields.
30754 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30756         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30757         length of target pattern, then descending length of dependency pattern.
30758         * configure.in (AWK): Require gawk 3.1.2 or newer.
30759         * manual/install.texi (Tools for Compilation): Say that we do.
30760         * configure: Regenerated.
30762         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30763         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30764         * scripts/sysd-rules.awk: ... this new script.
30765         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30766         than a glob-style pattern.
30768 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30770         * math/test-misc.c (main): Do not treat incorrectly rounded
30771         conversions as failure unless ROUNDING_TESTS passes.
30773 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30775         [BZ #15631]
30776         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30777         restore exception state around main square root computation, then
30778         check for inexactness explicitly.
30780         * math/libm-test.inc (fma_test_data): Add another test.
30782 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30784         * manual/threads.texi (Non-POSIX Extensions): New document
30785         node.  Document pthread_getattr_default_np and
30786         pthread_setattr_default_np.
30788         * Versions.def (libpthread): Add GLIBC_2.18.
30789         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30791         Likewise.
30792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30793         Likewise.
30794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30795         Likewise.
30796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30797         Likewise.
30798         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30799         Likewise.
30800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30801         Likewise.
30802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30803         Likewise.
30804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30805         Likewise.
30806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30807         Likewise.
30809 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30812         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30814 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30815             H.J. Lu  <hjl.tools@gmail.com>
30817         [BZ #15627]
30818         * sysdeps/x86_64/rtld-memset.c: Remove file.
30819         * sysdeps/x86_64/rtld-memset.S: New file.
30821 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30823         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30824         (test_in_one_mode): Take arguments for whether the rounding mode
30825         is supported for each floating-point type.
30826         (do_test): Pass new arguments to test_in_one_mode using
30827         ROUNDING_TESTS.
30829 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30831         * posix/tst-waitid.c (do_test): Distinguish different instances of
30832         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30833         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30834         before entering the kernel for waitpid.
30836 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30838         * NEWS: Fix note on clock function precision.  Text by Roland
30839         McGrath.
30841 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30843         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30844         it into place only when and if the sanity check passes.
30846 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30848         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30849         output for whether conversion result is exact.  Take argument
30850         indicating whether type is IBM long double.
30851         (round_for_all): Change need_exact field to ibm_ld.
30852         * stdlib/tst-strtod-round.c (struct exactness): New type.
30853         (struct test): Change bool ld_ok field to struct exactness exact.
30854         (TEST): Update all definitions for change to field.
30855         (tests): Regenerate array contents.
30856         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30857         field value.  Check for IBM long double here.
30858         (do_test): Update calls to test_in_one_mode.
30860 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30862         [BZ #12515]
30863         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30864         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30866 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30868         [BZ #15605]
30869         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30870         generated by the compiler on loop optimizations.
30871         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30872         general definitions.
30874 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30876         * math/bug-nextafter.c: Include <math-tests.h>.
30877         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30878         the relevant type.
30879         * math/bug-nexttoward.c: Include <math-tests.h>.
30880         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30881         the relevant type.
30882         * math/test-misc.c: Include <math-tests.h>.
30883         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30884         the relevant type.
30886 2013-06-12  Andreas Jaeger  <aj@suse.de>
30888         * po/ia.po: Update Interlingua translation from translation
30889         project.
30891 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30893         * include/fenv.h: Include stdbool.h.
30894         (struct rm_ctx): New structure.
30895         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30896         Define macro.
30897         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30898         (SET_RESTORE_ROUNDF): Likewise.
30899         (SET_RESTORE_ROUNDL): Likewise.
30900         (SET_RESTORE_ROUND_NOEX): Likewise.
30901         (SET_RESTORE_ROUND_NOEXF): Likewise.
30902         (SET_RESTORE_ROUND_NOEXL): Likewise.
30903         (SET_RESTORE_ROUND_53BIT): Likewise.
30904         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30905         (libc_feresetround_noexf_ctx): Likewise.
30906         (libc_feresetround_noexl_ctx): Likewise.
30907         (libc_feholdsetround_53bit_ctx): Likewise.
30908         (libc_feresetround_53bit_ctx): Likewise.
30909         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30910         (libc_feholdexcept_setround_sse_ctx): New function.
30911         (libc_fesetenv_sse_ctx): Likewise.
30912         (libc_feupdateenv_sse_ctx): Likewise.
30913         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30914         (libc_feholdexcept_setround_387_ctx): Likewise.
30915         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30916         (libc_feholdsetround_387_prec_ctx): Likewise.
30917         (libc_feholdsetround_387_ctx): Likewise.
30918         (libc_feholdsetround_387_53bit_ctx): Likewise.
30919         (libc_feholdsetround_sse_ctx): Likewise.
30920         (libc_feresetround_sse_ctx): Likewise.
30921         (libc_feresetround_387_ctx): Likewise.
30922         (libc_feupdateenv_387_ctx): Likewise.
30923         (libc_feholdexcept_setroundf_ctx): Define macro.
30924         (libc_fesetenvf_ctx): Likewise.
30925         (libc_feupdateenvf_ctx): Likewise.
30926         (libc_feholdsetroundf_ctx): Likewise.
30927         (libc_feresetroundf_ctx): Likewise.
30928         (libc_feholdexcept_setround_ctx): Likewise.
30929         (libc_fesetenv_ctx): Likewise.
30930         (libc_feupdateenv_ctx): Likewise.
30931         (libc_feholdsetround_ctx): Likewise.
30932         (libc_feresetround_ctx): Likewise.
30933         (libc_feholdexcept_setroundl_ctx): Likewise.
30934         (libc_feupdateenvl_ctx): Likewise.
30935         (libc_feholdsetroundl_ctx): Likewise.
30936         (libc_feresetroundl_ctx): Likewise.
30937         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30938         (libc_feresetround_53bit_ctx): Likewise.
30940 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30942         * locale/iso-639.def: Convert to UTF-8.
30944 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30946         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30947         (EXCEPTION_TESTS_double): Likewise.
30948         (EXCEPTION_TESTS_long_double): Likewise.
30949         (EXCEPTION_TESTS): Likewise.
30950         * math/libm-test.inc (test_exceptions): Only test exceptions if
30951         EXCEPTION_TESTS (FLOAT).
30953 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30955         * benchtests/Makefile (string-bench): Add strcpy_chk and
30956         stpcpy_chk.
30957         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30958         * benchtests/bench-stpcpy_chk.c: New file.
30959         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30960         * benchtests/bench-strcpy_chk.c: New file.
30961         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30962         code.
30963         (do_test): Likewise.
30965 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30967         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30968         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30969         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30970         with tabs where appropriate.
30971         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30972         dl-procinfo.h.
30973         [PPC_PLATFORM_PPC440]: Likewise.
30974         [PPC_PLATFORM_PPC464]: Likewise.
30975         [PPC_PLATFORM_PPC476]: Likewise.
30976         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30977         ppc464, and ppc476 platform strings merging from ports/
30978         dl-procinfo.h.
30980 2013-06-11  Andreas Schwab  <schwab@suse.de>
30982         [BZ #14991]
30983         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30984         (from_ucs4_idx): Regenerate.
30985         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30986         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30987         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30988         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30989         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30990         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30991         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30992         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30993         from FROM_LOOP and TO_LOOP specific macros.
30994         (BODY): Handle combining characters.
30995         * iconvdata/BIG5HKSCS.irreversible: Update.
30996         * iconvdata/BIG5HKSCS.precomposed: New file.
30997         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30998         characters.
30999         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31001 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31003         * include/sys/time.h: Fix indentation and add copyright header.
31005         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31006         (do_test): Likewise.
31007         * string/test-memchr.c (do_one_test): Likewise.
31008         (do_test): Likewise.
31009         * string/test-memcmp.c (do_one_test): Likewise.
31010         (do_test): Likewise.
31011         * string/test-memcpy.c (do_one_test): Likewise.
31012         (do_test): Likewise.
31013         * string/test-memmem.c (do_one_test): Likewise.
31014         (do_test): Likewise.
31015         (do_random_tests): Likewise.
31016         * string/test-memmove.c (do_one_test): Likewise.
31017         (do_test): Likewise.
31018         * string/test-memset.c (do_one_test): Likewise.
31019         (do_test): Likewise.
31020         * string/test-rawmemchr.c (do_one_test): Likewise.
31021         (do_test): Likewise.
31022         * string/test-strcasecmp.c (do_one_test): Likewise.
31023         (do_test): Likewise.
31024         * string/test-strcasestr.c (do_one_test): Likewise.
31025         (do_test): Likewise.
31026         * string/test-strcat.c (do_one_test): Likewise.
31027         (do_test): Likewise.
31028         * string/test-strchr.c (do_one_test): Likewise.
31029         (do_test): Likewise.
31030         * string/test-strcmp.c (do_one_test): Likewise.
31031         (do_test): Likewise.
31032         * string/test-strcpy.c (do_one_test): Likewise.
31033         (do_test): Likewise.
31034         * string/test-string.h: Likewise.
31035         (test_init): Likewise.
31036         * string/test-strlen.c (do_one_test): Likewise.
31037         (do_test): Likewise.
31038         * string/test-strncasecmp.c (do_one_test): Likewise.
31039         (do_test): Likewise.
31040         * string/test-strncat.c (do_one_test): Likewise.
31041         (do_test): Likewise.
31042         * string/test-strncmp.c (do_one_test): Likewise.
31043         (do_test_limit): Likewise.
31044         (do_test): Likewise.
31045         * string/test-strncpy.c (do_one_test): Likewise.
31046         (do_test): Likewise.
31047         * string/test-strnlen.c (do_one_test): Likewise.
31048         (do_test): Likewise.
31049         * string/test-strpbrk.c (do_one_test): Likewise.
31050         (do_test): Likewise.
31051         * string/test-strrchr.c (do_one_test): Likewise.
31052         (do_test): Likewise.
31053         * string/test-strspn.c (do_one_test): Likewise.
31054         (do_test): Likewise.
31055         * string/test-strstr.c (do_one_test): Likewise.
31056         (do_test): Likewise.
31058         * benchtests/Makefile (string-bench): Add string benchmarks.
31059         * benchtests/bench-bcopy-ifunc.c: New file.
31060         * benchtests/bench-bcopy.c: New file.
31061         * benchtests/bench-bzero-ifunc.c: New file.
31062         * benchtests/bench-bzero.c: New file.
31063         * benchtests/bench-memccpy-ifunc.c: New file.
31064         * benchtests/bench-memccpy.c: New file.
31065         * benchtests/bench-memchr-ifunc.c: New file.
31066         * benchtests/bench-memchr.c: New file.
31067         * benchtests/bench-memcmp-ifunc.c: New file.
31068         * benchtests/bench-memcmp.c: New file.
31069         * benchtests/bench-memmem-ifunc.c: New file.
31070         * benchtests/bench-memmem.c: New file.
31071         * benchtests/bench-memmove-ifunc.c: New file.
31072         * benchtests/bench-memmove.c: New file.
31073         * benchtests/bench-mempcpy-ifunc.c: New file.
31074         * benchtests/bench-mempcpy.c: New file.
31075         * benchtests/bench-memset-ifunc.c: New file.
31076         * benchtests/bench-memset.c: New file.
31077         * benchtests/bench-rawmemchr-ifunc.c: New file.
31078         * benchtests/bench-rawmemchr.c: New file.
31079         * benchtests/bench-stpcpy-ifunc.c: New file.
31080         * benchtests/bench-stpcpy.c: New file.
31081         * benchtests/bench-stpncpy-ifunc.c: New file.
31082         * benchtests/bench-stpncpy.c: New file.
31083         * benchtests/bench-strcasecmp-ifunc.c: New file.
31084         * benchtests/bench-strcasecmp.c: New file.
31085         * benchtests/bench-strcasestr-ifunc.c: New file.
31086         * benchtests/bench-strcasestr.c: New file.
31087         * benchtests/bench-strcat-ifunc.c: New file.
31088         * benchtests/bench-strcat.c: New file.
31089         * benchtests/bench-strchr-ifunc.c: New file.
31090         * benchtests/bench-strchr.c: New file.
31091         * benchtests/bench-strchrnul-ifunc.c: New file.
31092         * benchtests/bench-strchrnul.c: New file.
31093         * benchtests/bench-strcmp-ifunc.c: New file.
31094         * benchtests/bench-strcmp.c: New file.
31095         * benchtests/bench-strcpy-ifunc.c: New file.
31096         * benchtests/bench-strcpy.c: New file.
31097         * benchtests/bench-strcspn-ifunc.c: New file.
31098         * benchtests/bench-strcspn.c: New file.
31099         * benchtests/bench-strlen-ifunc.c: New file.
31100         * benchtests/bench-strlen.c: New file.
31101         * benchtests/bench-strncasecmp-ifunc.c: New file.
31102         * benchtests/bench-strncasecmp.c: New file.
31103         * benchtests/bench-strncat-ifunc.c: New file.
31104         * benchtests/bench-strncat.c: New file.
31105         * benchtests/bench-strncmp-ifunc.c: New file.
31106         * benchtests/bench-strncmp.c: New file.
31107         * benchtests/bench-strncpy-ifunc.c: New file.
31108         * benchtests/bench-strncpy.c: New file.
31109         * benchtests/bench-strnlen-ifunc.c: New file.
31110         * benchtests/bench-strnlen.c: New file.
31111         * benchtests/bench-strpbrk-ifunc.c: New file.
31112         * benchtests/bench-strpbrk.c: New file.
31113         * benchtests/bench-strrchr-ifunc.c: New file.
31114         * benchtests/bench-strrchr.c: New file.
31115         * benchtests/bench-strspn-ifunc.c: New file.
31116         * benchtests/bench-strspn.c: New file.
31117         * benchtests/bench-strstr-ifunc.c: New file.
31118         * benchtests/bench-strstr.c: New file.
31120         * benchtests/Makefile: Disable parallel execution of targets.
31121         (string-bench): Add memcpy.
31122         (benchset): New variable to store a list of benchmark sets.
31123         (bench-func): Renamed from bench.
31124         (bench-set): New target.
31125         (bench): Depend on bench-func and bench-set.
31126         * benchtests/README: Add section on benchmark sets.
31127         * benchtests/bench-memcpy-ifunc.c: New file.
31128         * benchtests/bench-memcpy.c: New file.
31129         * benchtests/bench-string.h: New file.
31131 2013-06-11  Andreas Schwab  <schwab@suse.de>
31133         [BZ #15577]
31134         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31135         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31136         values in the triple.
31137         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31138         terminator in the group key.
31140 2013-06-11  Andreas Jaeger  <aj@suse.de>
31142         * po/zh_TW.po: Update Chinese (traditional) translation from
31143         translation project.
31145 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31147         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31148         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31149         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31151         (clock_getcpuclockid): Likewise.
31152         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31153         Add weak_alias and libc_hidden_def.
31154         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31155         * rt/clock_gettime.c (clock_gettime): Rename to
31156         __clock_gettime.  Add weak_alias and libc_hidden_def.
31157         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31158         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31159         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31160         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31161         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31162         Likewise.
31163         * rt/clock_settime.c (clock_settime): Rename to
31164         __clock_settime.  Add weak_alias and libc_hidden_def.
31165         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31167 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31169         * mach/err_boot.sub: Remove trailing whitespace.
31170         * mach/err_ipc.sub: Likewise.
31171         * mach/err_mach.sub: Likewise.
31173         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31174         (ROUNDING_TESTS_double): Likewise.
31175         (ROUNDING_TESTS_long_double): Likewise.
31176         (ROUNDING_TESTS): Likewise.
31177         * math/libm-test.inc: Include <math-tests.h>.
31178         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31179         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31180         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31181         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31183 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31185         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31186         of assigning.
31188 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31190         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31191         otherwise empty TRANS lines.
31192         * sysdeps/gnu/errlist.c: Regenerated.
31194         * catgets/gencat.c (error_print): Use (void) in function
31195         definition.
31196         * crypt/crypt_util.c (__init_des): Likewise.
31197         * crypt/speeds.c (Stop): Likewise.
31198         (main): Likewise.
31199         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31200         * inet/ruserpass.c (token): Likewise.
31201         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31202         * intl/localealias.c (extend_alias_table): Likewise.
31203         * intl/plural-exp.c (init_germanic_plural): Likewise.
31204         * libio/fcloseall.c (__fcloseall): Likewise.
31205         * libio/genops.c (_IO_flush_all): Likewise.
31206         (_IO_flush_all_linebuffered): Likewise.
31207         (_IO_cleanup): Likewise.
31208         (_IO_iter_begin): Likewise.
31209         (_IO_iter_end): Likewise.
31210         (_IO_list_lock): Likewise.
31211         (_IO_list_unlock): Likewise.
31212         (_IO_list_resetlock): Likewise.
31213         * libio/getchar.c (getchar): Likewise.
31214         * libio/getchar_u.c (getchar_unlocked): Likewise.
31215         * libio/getwchar.c (getwchar): Likewise.
31216         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31217         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31218         * login/getpt.c (__getpt): Likewise.
31219         * login/tst-utmp.c (main): Likewise.
31220         * malloc/hooks.c (__malloc_check_init): Likewise.
31221         * malloc/malloc.c (__malloc_stats): Likewise.
31222         * malloc/mtrace.c (tr_break): Likewise.
31223         (mtrace): Likewise.
31224         (muntrace): Likewise.
31225         * misc/fstab.c (endfsent): Likewise.
31226         * misc/getclktck.c (__getclktck): Likewise.
31227         * misc/getdtsz.c (__getdtablesize): Likewise.
31228         * misc/gethostid.c (gethostid): Likewise.
31229         * misc/getpagesize.c (__getpagesize): Likewise.
31230         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31231         (__get_nprocs): Likewise.
31232         (__get_phys_pages): Likewise.
31233         (__get_avphys_pages): Likewise.
31234         * misc/getttyent.c (getttyent): Likewise.
31235         (setttyent): Likewise.
31236         (endttyent): Likewise.
31237         * misc/getusershell.c (getusershell): Likewise.
31238         (endusershell): Likewise.
31239         (setusershell): Likewise.
31240         (initshells): Likewise.
31241         * misc/hsearch.c (__hdestroy): Likewise.
31242         * misc/sync.c (sync): Likewise.
31243         * misc/syslog.c (closelog_internal): Likewise.
31244         (closelog): Likewise.
31245         * misc/ttyslot.c (ttyslot): Likewise.
31246         * misc/vhangup.c (vhangup): Likewise.
31247         * posix/fork.c (__fork): Likewise.
31248         * posix/getegid.c (__getegid): Likewise.
31249         * posix/geteuid.c (__geteuid): Likewise.
31250         * posix/getgid.c (__getgid): Likewise.
31251         * posix/getpid.c (__getpid): Likewise.
31252         * posix/getppid.c (__getppid): Likewise.
31253         * posix/getuid.c (__getuid): Likewise.
31254         * posix/pause.c (pause): Likewise.
31255         * posix/setpgrp.c (setpgrp): Likewise.
31256         * posix/setsid.c (__setsid): Likewise.
31257         * posix/test-vfork.c (noop): Likewise.
31258         * resolv/gethnamaddr.c (_endhtent): Likewise.
31259         (_gethtent): Likewise.
31260         (ht_endhostent): Likewise.
31261         (gethostent): Likewise.
31262         (dns_service): Likewise.
31263         * stdlib/drand48.c (drand48): Likewise.
31264         * stdlib/lrand48.c (lrand48): Likewise.
31265         * stdlib/mrand48.c (mrand48): Likewise.
31266         * stdlib/rand.c (rand): Likewise.
31267         * stdlib/random.c (__random): Likewise.
31268         * stdlib/setenv.c (clearenv): Likewise.
31269         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31270         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31271         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31272         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31273         (__get_nprocs): Likewise.
31274         (__get_phys_pages): Likewise.
31275         (__get_avphys_pages): Likewise.
31276         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31277         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31278         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31279         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31280         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31281         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31282         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31283         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31284         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31285         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31286         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31287         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31288         * sysdeps/posix/clock.c (clock): Likewise.
31289         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31290         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31291         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31292         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31293         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31294         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31295         (__get_nprocs_conf): Likewise.
31296         (__get_phys_pages): Likewise.
31297         (__get_avphys_pages): Likewise.
31298         * time/clock.c (clock): Likewise.
31299         * time/tzset.c (__tzname_max): Likewise.
31301 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31303         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31304         (__bswap_32): Do not use "register".
31305         * crypt/crypt.c (_ufc_doit_r): Likewise.
31306         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31307         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31308         * gmon/gmon.c (__monstartup): Likewise.
31309         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31310         * hurd/hurdmalloc.c (more_memory): Likewise.
31311         (malloc): Likewise.
31312         (free): Likewise.
31313         (realloc): Likewise.
31314         (malloc_fork_prepare): Likewise.
31315         (malloc_fork_parent): Likewise.
31316         (malloc_fork_child): Likewise.
31317         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31318         (_svcauth_des): Likewise.
31319         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31320         * inet/inet_net.c (inet_network): Likewise.
31321         * inet/inet_netof.c (inet_netof): Likewise.
31322         * inet/rcmd.c (__validuser2_sa): Likewise.
31323         * io/fts.c (fts_open): Likewise.
31324         (fts_load): Likewise.
31325         (fts_close): Likewise.
31326         (fts_read): Likewise.
31327         (fts_children): Likewise.
31328         (fts_build): Likewise.
31329         (fts_stat): Likewise.
31330         (fts_sort): Likewise.
31331         (fts_alloc): Likewise.
31332         (fts_lfree): Likewise.
31333         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31334         (_IO_file_xsgetn): Likewise.
31335         (_IO_file_xsgetn_mmap): Likewise.
31336         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31337         (_IO_cookie_write): Likewise.
31338         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31339         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31340         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31341         * malloc/obstack.c (_obstack_begin): Likewise.
31342         (_obstack_begin_1): Likewise.
31343         (_obstack_newchunk): Likewise.
31344         (_obstack_allocated_p): Likewise.
31345         (obstack_free): Likewise.
31346         (_obstack_memory_used): Likewise.
31347         * misc/getttyent.c (getttynam): Likewise.
31348         (getttyent): Likewise.
31349         (skip): Likewise.
31350         (value): Likewise.
31351         * misc/getusershell.c (initshells): Likewise.
31352         * misc/syslog.c (__vsyslog_chk): Likewise.
31353         * misc/ttyslot.c (ttyslot): Likewise.
31354         * nis/nis_hash.c (__nis_hash): Likewise.
31355         * posix/fnmatch_loop.c (FCT): Likewise.
31356         * posix/getconf.c (print_all): Likewise.
31357         (main): Likewise.
31358         * posix/getopt.c (exchange): Likewise.
31359         * posix/glob.c (globfree): Likewise.
31360         (prefix_array): Likewise.
31361         (__glob_pattern_type): Likewise.
31362         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31363         (NS_GET32): Likewise.
31364         (NS_PUT16): Likewise.
31365         (NS_PUT32): Likewise.
31366         * resolv/gethnamaddr.c (getanswer): Likewise.
31367         (gethostbyname2): Likewise.
31368         (gethostbyaddr): Likewise.
31369         (_gethtent): Likewise.
31370         (_gethtbyname2): Likewise.
31371         (_gethtbyaddr): Likewise.
31372         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31373         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31374         * resolv/res_init.c (__res_vinit): Likewise.
31375         (net_mask): Likewise.
31376         * resolv/res_mkquery.c (outchar): Likewise.
31377         (PRINT): Likewise.
31378         * stdio-common/printf_fp.c (outchar): Likewise.
31379         (PRINT): Likewise.
31380         * stdio-common/printf_fphex.c (outchar): Likewise.
31381         (PRINT): Likewise.
31382         * stdio-common/printf_size.c (outchar): Likewise.
31383         (PRINT): Likewise.
31384         * stdio-common/test_rdwr.c (main): Likewise.
31385         * stdio-common/tfformat.c (matches): Likewise.
31386         * stdio-common/vfprintf.c (outchar): Likewise.
31387         (printf_unknown): Likewise.
31388         (buffered_vfprintf): Likewise.
31389         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31390         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31391         (ReadFile): Likewise.
31392         * stdlib/qsort.c (SWAP): Likewise.
31393         (_quicksort): Likewise.
31394         * stdlib/setenv.c (__add_to_environ): Likewise.
31395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31396         * stdlib/strtol_l.c (__strtol_l): Likewise.
31397         * stdlib/tst-strtod.c (main): Likewise.
31398         * stdlib/tst-strtol.c (main): Likewise.
31399         * stdlib/tst-strtoll.c (main): Likewise.
31400         * string/bits/string2.h (__strcmp_cc): Likewise.
31401         (__strcmp_cg): Likewise.
31402         (__strcspn_c1): Likewise.
31403         (__strcspn_c2): Likewise.
31404         (__strcspn_c3): Likewise.
31405         (__strspn_c1): Likewise.
31406         (__strspn_c2): Likewise.
31407         (__strspn_c3): Likewise.
31408         (__strsep_1c): Likewise.
31409         (__strsep_2c): Likewise.
31410         (__strsep_3c): Likewise.
31411         * string/memccpy.c (__memccpy): Likewise.
31412         * string/stpcpy.c (__stpcpy): Likewise.
31413         * string/strcmp.c (strcmp): Likewise.
31414         * string/strrchr.c (strrchr): Likewise.
31415         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31416         Likewise.
31417         * sysdeps/mach/hurd/getcwd.c
31418         (_hurd_canonicalize_directory_name_internal): Likewise.
31419         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31420         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31421         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31422         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31423         Likewise, in both definitions.
31424         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31425         definitions.
31426         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31427         64] (__bswap_64): Likewise.
31428         * time/test_time.c (main): Likewise.
31429         * time/tzfile.c (__tzfile_read): Likewise.
31430         (__tzfile_compute): Likewise.
31431         * time/tzset.c (__tzset_parse_tz): Likewise.
31432         (tzset_internal): Likewise.
31433         (compute_change): Likewise.
31434         * wcsmbs/wcscat.c (__wcscat): Likewise.
31435         * wcsmbs/wcschr.c (wcschr): Likewise.
31436         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31437         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31438         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31439         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31440         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31441         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31442         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31443         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31444         * wcsmbs/wmemset.c (wmemset): Likewise.
31446 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31448         * scripts/config.guess: Update to version 2013-05-16.
31449         * scripts/config.sub: Update to version 2013-04-24.
31450         * scripts/install-sh: Update to version 2011-11-20.07.
31451         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31452         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31454 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31456         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31457         * elf/sln.c: Likewise.
31458         * hurd/hurd/ioctl.h: Likewise.
31459         * hurd/hurdmalloc.c: Likewise.
31460         * hurd/xattr.c: Likewise.
31461         * include/shlib-compat.h: Likewise.
31462         * inet/ruserpass.c: Likewise.
31463         * libio/iofgets_u.c: Likewise.
31464         * libio/iofgetws_u.c: Likewise.
31465         * locale/programs/ld-identification.c: Likewise.
31466         * locale/programs/ld-time.c: Likewise.
31467         * mach/msg-destroy.c: Likewise.
31468         * nss/nss_files/files-netgrp.c: Likewise.
31469         * resolv/res_data.c: Likewise.
31470         * soft-fp/op-1.h: Likewise.
31471         * soft-fp/op-2.h: Likewise.
31472         * soft-fp/op-4.h: Likewise.
31473         * soft-fp/op-common.h: Likewise.
31474         * stdio-common/printf_fphex.c: Likewise.
31475         * stdlib/strtod_l.c: Likewise.
31476         * sunrpc/rpc/clnt.h: Likewise.
31477         * sysdeps/generic/framestate.c: Likewise.
31478         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31479         * sysdeps/i386/bsd-setjmp.S: Likewise.
31480         * sysdeps/i386/__longjmp.S: Likewise.
31481         * sysdeps/i386/setjmp.S: Likewise.
31482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31484         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31485         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31486         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31487         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31489         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31490         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31491         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31492         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31493         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31494         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31495         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31496         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31497         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31498         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31499         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31500         * sysdeps/ieee754/support.c: Likewise.
31501         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31502         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31503         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31504         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31505         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31506         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31507         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31508         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31509         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31510         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31511         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31512         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31513         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31514         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31515         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31516         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31517         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31520 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31522         * posix/transbug.c: Remove executable mode.
31524 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31526         * crypt/speeds.c: Remove trailing whitespace.
31527         * dlfcn/default.c: Likewise.
31528         * elf/ifuncdep2.c: Likewise.
31529         * elf/ifuncmain1.c: Likewise.
31530         * elf/ifuncmain1vis.c: Likewise.
31531         * elf/testobj.h: Likewise.
31532         * elf/tst-stackguard1.c: Likewise.
31533         * gmon/sys/gmon.h: Likewise.
31534         * hurd/hurdmsg.c: Likewise.
31535         * hurd/new-fd.c: Likewise.
31536         * hurd/ports-get.c: Likewise.
31537         * iconvdata/ibm1008_420.c: Likewise.
31538         * inet/tst-getni1.c: Likewise.
31539         * inet/tst-getni2.c: Likewise.
31540         * libio/ioungetc.c: Likewise.
31541         * libio/wfiledoalloc.c: Likewise.
31542         * manual/libm-err-tab.pl: Likewise.
31543         * math/w_dremf.c: Likewise.
31544         * misc/ftruncate.c: Likewise.
31545         * posix/bug-glob2.c: Likewise.
31546         * posix/tst-pcre.c: Likewise.
31547         * posix/wait4.c: Likewise.
31548         * resolv/README: Likewise.
31549         * resolv/res_debug.h: Likewise.
31550         * resolv/tst-inet_ntop.c: Likewise.
31551         * setjmp/bug269-setjmp.c: Likewise.
31552         * soft-fp/extended.h: Likewise.
31553         * soft-fp/op-1.h: Likewise.
31554         * soft-fp/op-2.h: Likewise.
31555         * soft-fp/op-4.h: Likewise.
31556         * soft-fp/op-8.h: Likewise.
31557         * soft-fp/testit.c: Likewise.
31558         * stdio-common/bug16.c: Likewise.
31559         * stdlib/random.c: Likewise.
31560         * sunrpc/rpcsvc/rquota.x: Likewise.
31561         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31562         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31563         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31564         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31565         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31566         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31567         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31568         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31569         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31570         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31571         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31572         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31573         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31574         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31577         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31578         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31579         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31580         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31581         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31582         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31583         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31584         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31585         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31586         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31587         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31588         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31589         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31590         * sysdeps/ieee754/s_lib_version.c: Likewise.
31591         * sysdeps/mach/hurd/check_fds.c: Likewise.
31592         * sysdeps/mach/hurd/getsockname.c: Likewise.
31593         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31594         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31595         * sysdeps/powerpc/bits/link.h: Likewise.
31596         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31597         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31598         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31599         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31600         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31601         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31602         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31603         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31604         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31605         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31606         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31607         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31608         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31609         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31610         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31611         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31612         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31613         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31614         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31615         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31616         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31617         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31618         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31619         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31620         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31621         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31622         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31623         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31625         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31626         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31627         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31628         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31629         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31630         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31631         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31632         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31633         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31634         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31635         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31636         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31637         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31638         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31639         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31640         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31641         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31642         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31643         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31644         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31645         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31646         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31648         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31649         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31650         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31651         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31652         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31653         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31655         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31656         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31657         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31658         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31659         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31660         * sysdeps/powerpc/sysdep.h: Likewise.
31661         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31662         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31663         * sysdeps/sh/dl-trampoline.S: Likewise.
31664         * sysdeps/sh/memset.S: Likewise.
31665         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31666         * sysdeps/sh/strlen.S: Likewise.
31667         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31668         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31669         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31670         * sysdeps/sparc/sparc32/rem.S: Likewise.
31671         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31672         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31673         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31674         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31675         * sysdeps/sparc/sparc32/urem.S: Likewise.
31676         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31677         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31678         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31679         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31680         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31681         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31682         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31683         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31684         * sysdeps/unix/bsd/times.c: Likewise.
31685         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31686         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31690         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31691         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31692         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31693         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31694         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31695         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31696         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31697         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31698         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31699         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31700         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31701         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31702         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31703         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31704         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31705         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31706         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31707         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31708         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31709         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31710         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31711         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31712         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31713         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31714         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31715         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31716         * sysdeps/x86_64/strcspn.S: Likewise.
31718 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31720         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31721         generated file.  Regenerate properly from gen-translit.pl.
31722         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31723         locale/C-translit.h.
31725 2013-06-05  Andreas Schwab  <schwab@suse.de>
31727         [BZ #15100]
31728         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31729         week as 6 instead of -1.
31730         * time/tst-strptime.c (day_tests): Add test case.
31732 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31734         * sysdeps/generic/math_private.h
31735         (libc_feholdexcept_setround_53bit): Replace with
31736         libc_feholdsetround_53bit.
31737         (libc_feupdateenv_53bit): Replace with
31738         libc_feresetround_53bit.
31739         (SET_RESTORE_ROUND_53BIT): Adjust.
31741 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31743         * string/test-strchrnul.c: Add copyright header.
31745         * posix/tst-getaddrinfo4.c: Increase test timeout.
31747 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31749         [BZ #15536]
31750         * math/libm-test.inc (MAX_EXP): Remove
31751         (MIN_EXP): Define.
31752         (ulp): Use MIN_EXP - MANT_DIG.
31753         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31755 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31757         * po/be.po: Revert last change.
31758         * po/zh_CN.po: Likewise.
31759         * po/header.pot: Likewise.
31761 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31763         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31764         link-libc-deps to empty as target-specific variable.
31765         * Makerules (link-libc-args): New variable.
31766         (libc-for-link): Likewise.
31767         (link-libc-deps): Likewise.
31768         (lib%.so): Depend on $(link-libc-deps).  Link with
31769         $(link-libc-args).
31770         (build-module): Link with $(link-libc-args).
31771         (build-module-asneeded): Likewise.
31772         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31773         list of objects.
31774         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31775         target-specific variable.
31776         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31777         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31778         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31779         libc.
31780         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31781         libc and ld.so.
31782         ($(objpfx)libpcprofile.so): Likewise.
31783         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31784         libc_nonshared.a.
31785         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31786         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31787         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31788         $(link-libc-deps).
31789         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31790         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31791         * login/Makefile ($(objpfx)libutil.so): Likewise.
31792         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31793         * math/Makefile ($(objpfx)libm.so): Likewise.
31794         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31795         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31796         variable instead of depending directly on libc.
31797         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31798         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31799         $(link-libc-deps).
31800         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31801         libc.
31802         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31803         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31804         ($(objpfx)libanl.so): Likewise.
31805         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31806         ld.so.
31807         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31808         $(link-libc-deps).
31809         * sysdeps/i386/fpu/Makefile: Remove file.
31810         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31811         ($(objpfx)libm.so): Remove dependency on ld.so.
31813 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31815         [BZ # 15553]
31816         * nis/yp_xdr.c (XDRMAXNAME): Define.
31817         (XDRMAXRECORD): Define.
31818         (xdr_domainname): Use XDRMAXNAME.
31819         (xdr_mapname): Likewise.
31820         (xdr_peername): Likewise.
31821         (xdr_keydat): Use XDRMAXRECORD.
31822         (xdr_valdat): Likewise.
31824 2013-05-30  Jeff Law  <law@redhat.com>
31826         [BZ #14256]
31827         * manual/errno.texi (ESTALE): Update to account for more than
31828         just NFS file systems.
31829         * sysdeps/gnu/errlist.c: Regenerated.
31831 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31833         [BZ #15465]
31834         * elf/Makefile (tests): Add tst-null-argv.
31835         (modules-names):  Add tst-null-argv-lib.
31836         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31837         (tst-null-argv-ENV): Set environment for tst-null-argv.
31838         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31839         (RTLD_PROGNAME): New macro.
31840         * elf/tst-null-argv.c: New test case.
31841         * elf/tst-null-argv-lib.c: Library for test case.
31842         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31843         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31844         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31845         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31846         * elf/dl-init.c (call_init): Likewise.
31847         (_dl_init): Likewise.
31848         * elf/dl-load.c (print_search_path): Likewise.
31849         (_dl_map_object): Likewise.
31850         * elf/dl-lookup.c (do_lookup_x): Likewise.
31851         (add_dependency): Likewise.
31852         (_dl_lookup_symbol_x): Likewise.
31853         (_dl_debug_bindings): Likewise.
31854         * elf/dl-open.c (_dl_show_scope): Likewise.
31855         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31856         * elf/dl-version.c (match_symbol): Likewise.
31857         (_dl_check_map_versions): Likewise.
31858         * elf/rtld.c (dl_main): Likewise.
31859         (print_unresolved): Use RTLD_PROGNAME.
31860         (print_missing_version): Likewise.
31861         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31862         (elf_machine_rela): Likewise.
31863         * sysdeps/powerpc/powerpc32/dl-machine.c
31864         (__process_machine_rela): Likewise.
31865         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31866         Likewise.
31867         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31868         Likewise.
31869         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31870         Likewise.
31871         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31872         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31873         Likewise.
31874         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31875         Likewise.
31876         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31878 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31880         * po/be.po: Add descriptive title.
31881         * po/zh_CN.po: Likewise.
31882         * po/header.pot: Likewise.
31884 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31886         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31887         error message.
31888         (enlarge_archive): Likewise.
31890 2013-05-28  Ben North  <ben@redfrontdoor.org>
31892         * manual/arith.texi (frexp): It is the magnitude of the return
31893         value which lies in [0.5, 1), not the return value itself.
31895 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31899 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31901         * stdio-common/bug26.c (main): Correct fscanf template.
31903         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31904         declare _dl_skip_args.
31906         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31907         Don't declare.
31909         * manual/platform.texi: Add missing @end deftypefun.
31911 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31913         [BZ #15529]
31914         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31915         bit of mantissa of 2^16382.
31916         * math/libm-test.inc (hypot_test_data): Add more tests.
31918         * math/libm-test.inc: Add drem and pow10 to list of tested
31919         functions.
31920         (pow10_test): New function.
31921         (drem_test): Likewise.
31922         (drem_test_tonearest): Likewise.
31923         (drem_test_towardzero): Likewise.
31924         (drem_test_downward): Likewise.
31925         (drem_test_upward): Likewise.
31926         (main): Call the new functions.
31928         * math/libm-test.inc (finite_test_data): Remove.
31929         (finite_test): Run tests from isfinite_test_data.
31930         (gamma_test_data): Remove.
31931         (gamma_test): Run tests from lgamma_test_data.
31932         * sysdeps/i386/fpu/libm-test-ulps: Update.
31933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31935 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31937         * manual/platform.texi: Add PowerPC PPR function set documentation.
31938         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31939         implementation.
31941 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31943         * math/libm-test.inc (MAX_EXP): Define.
31944         (ULPDIFF): Define.
31945         (ulp): New function.
31946         (check_float_internal): Use ULPDIFF.
31947         (cpow_test): Disable failing test.
31948         (check_ulp): Test ulp() implemetnation.
31949         (main): Call check_ulp before starting tests.
31951 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31953         * math/gen-libm-test.pl (generate_testfile): Do not handle
31954         START_DATA and END_DATA.
31955         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31956         END_DATA.
31957         (acos_tonearest_test_data): Likewise.
31958         (acos_towardzero_test_data): Likewise.
31959         (acos_downward_test_data): Likewise.
31960         (acos_upward_test_data): Likewise.
31961         (acosh_test_data): Likewise.
31962         (asin_test_data): Likewise.
31963         (asin_tonearest_test_data): Likewise.
31964         (asin_towardzero_test_data): Likewise.
31965         (asin_downward_test_data): Likewise.
31966         (asin_upward_test_data): Likewise.
31967         (asinh_test_data): Likewise.
31968         (atan_test_data): Likewise.
31969         (atanh_test_data): Likewise.
31970         (atan2_test_data): Likewise.
31971         (cabs_test_data): Likewise.
31972         (cacos_test_data): Likewise.
31973         (cacosh_test_data): Likewise.
31974         (carg_test_data): Likewise.
31975         (casin_test_data): Likewise.
31976         (casinh_test_data): Likewise.
31977         (catan_test_data): Likewise.
31978         (catanh_test_data): Likewise.
31979         (cbrt_test_data): Likewise.
31980         (ccos_test_data): Likewise.
31981         (ccosh_test_data): Likewise.
31982         (ceil_test_data): Likewise.
31983         (cexp_test_data): Likewise.
31984         (cimag_test_data): Likewise.
31985         (clog_test_data): Likewise.
31986         (clog10_test_data): Likewise.
31987         (conj_test_data): Likewise.
31988         (copysign_test_data): Likewise.
31989         (cos_test_data): Likewise.
31990         (cos_tonearest_test_data): Likewise.
31991         (cos_towardzero_test_data): Likewise.
31992         (cos_downward_test_data): Likewise.
31993         (cos_upward_test_data): Likewise.
31994         (cosh_test_data): Likewise.
31995         (cosh_tonearest_test_data): Likewise.
31996         (cosh_towardzero_test_data): Likewise.
31997         (cosh_downward_test_data): Likewise.
31998         (cosh_upward_test_data): Likewise.
31999         (cpow_test_data): Likewise.
32000         (cproj_test_data): Likewise.
32001         (creal_test_data): Likewise.
32002         (csin_test_data): Likewise.
32003         (csinh_test_data): Likewise.
32004         (csqrt_test_data): Likewise.
32005         (ctan_test_data): Likewise.
32006         (ctan_tonearest_test_data): Likewise.
32007         (ctan_towardzero_test_data): Likewise.
32008         (ctan_downward_test_data): Likewise.
32009         (ctan_upward_test_data): Likewise.
32010         (ctanh_test_data): Likewise.
32011         (ctanh_tonearest_test_data): Likewise.
32012         (ctanh_towardzero_test_data): Likewise.
32013         (ctanh_downward_test_data): Likewise.
32014         (ctanh_upward_test_data): Likewise.
32015         (erf_test_data): Likewise.
32016         (erfc_test_data): Likewise.
32017         (exp_test_data): Likewise.
32018         (exp_tonearest_test_data): Likewise.
32019         (exp_towardzero_test_data): Likewise.
32020         (exp_downward_test_data): Likewise.
32021         (exp_upward_test_data): Likewise.
32022         (exp10_test_data): Likewise.
32023         (exp2_test_data): Likewise.
32024         (expm1_test_data): Likewise.
32025         (fabs_test_data): Likewise.
32026         (fdim_test_data): Likewise.
32027         (finite_test_data): Likewise.
32028         (floor_test_data): Likewise.
32029         (fma_test_data): Likewise.
32030         (fma_towardzero_test_data): Likewise.
32031         (fma_downward_test_data): Likewise.
32032         (fma_upward_test_data): Likewise.
32033         (fmax_test_data): Likewise.
32034         (fmin_test_data): Likewise.
32035         (fmod_test_data): Likewise.
32036         (fpclassify_test_data): Likewise.
32037         (frexp_test_data): Likewise.
32038         (gamma_test_data): Likewise.
32039         (hypot_test_data): Likewise.
32040         (ilogb_test_data): Likewise.
32041         (isfinite_test_data): Likewise.
32042         (isgreater_test_data): Likewise.
32043         (isgreaterequal_test_data): Likewise.
32044         (isinf_test_data): Likewise.
32045         (isless_test_data): Likewise.
32046         (islessequal_test_data): Likewise.
32047         (islessgreater_test_data): Likewise.
32048         (isnan_test_data): Likewise.
32049         (isnormal_test_data): Likewise.
32050         (issignaling_test_data): Likewise.
32051         (isunordered_test_data): Likewise.
32052         (j0_test_data): Likewise.
32053         (j1_test_data): Likewise.
32054         (jn_test_data): Likewise.
32055         (ldexp_test_data): Likewise.
32056         (lgamma_test_data): Likewise.
32057         (lrint_test_data): Likewise.
32058         (lrint_tonearest_test_data): Likewise.
32059         (lrint_towardzero_test_data): Likewise.
32060         (lrint_downward_test_data): Likewise.
32061         (lrint_upward_test_data): Likewise.
32062         (llrint_test_data): Likewise.
32063         (llrint_tonearest_test_data): Likewise.
32064         (llrint_towardzero_test_data): Likewise.
32065         (llrint_downward_test_data): Likewise.
32066         (llrint_upward_test_data): Likewise.
32067         (log_test_data): Likewise.
32068         (log10_test_data): Likewise.
32069         (log1p_test_data): Likewise.
32070         (log2_test_data): Likewise.
32071         (logb_test_data): Likewise.
32072         (logb_downward_test_data): Likewise.
32073         (lround_test_data): Likewise.
32074         (llround_test_data): Likewise.
32075         (modf_test_data): Likewise.
32076         (nearbyint_test_data): Likewise.
32077         (nextafter_test_data): Likewise.
32078         (nexttoward_test_data): Likewise.
32079         (pow_test_data): Likewise.
32080         (pow_tonearest_test_data): Likewise.
32081         (pow_towardzero_test_data): Likewise.
32082         (pow_downward_test_data): Likewise.
32083         (pow_upward_test_data): Likewise.
32084         (remainder_test_data): Likewise.
32085         (remainder_tonearest_test_data): Likewise.
32086         (remainder_towardzero_test_data): Likewise.
32087         (remainder_downward_test_data): Likewise.
32088         (remainder_upward_test_data): Likewise.
32089         (remquo_test_data): Likewise.
32090         (rint_test_data): Likewise.
32091         (rint_tonearest_test_data): Likewise.
32092         (rint_towardzero_test_data): Likewise.
32093         (rint_downward_test_data): Likewise.
32094         (rint_upward_test_data): Likewise.
32095         (round_test_data): Likewise.
32096         (scalb_test_data): Likewise.
32097         (scalbn_test_data): Likewise.
32098         (scalbln_test_data): Likewise.
32099         (signbit_test_data): Likewise.
32100         (sin_test_data): Likewise.
32101         (sin_tonearest_test_data): Likewise.
32102         (sin_towardzero_test_data): Likewise.
32103         (sin_downward_test_data): Likewise.
32104         (sin_upward_test_data): Likewise.
32105         (sincos_test_data): Likewise.
32106         (sinh_test_data): Likewise.
32107         (sinh_tonearest_test_data): Likewise.
32108         (sinh_towardzero_test_data): Likewise.
32109         (sinh_downward_test_data): Likewise.
32110         (sinh_upward_test_data): Likewise.
32111         (sqrt_test_data): Likewise.
32112         (tan_test_data): Likewise.
32113         (tan_tonearest_test_data): Likewise.
32114         (tan_towardzero_test_data): Likewise.
32115         (tan_downward_test_data): Likewise.
32116         (tan_upward_test_data): Likewise.
32117         (tanh_test_data): Likewise.
32118         (tgamma_test_data): Likewise.
32119         (trunc_test_data): Likewise.
32120         (y0_test_data): Likewise.
32121         (y1_test_data): Likewise.
32122         (yn_test_data): Likewise.
32123         (significand_test_data): Likewise.
32125         * math/gen-libm-test.pl (@functions): Remove variable.
32126         (generate_testfile): Don't handle START and END lines.
32127         * math/libm-test.inc (START): New macro.
32128         (END): Likewise.
32129         (END_COMPLEX): Likewise.
32130         (acos_test): Use END macro without arguments.
32131         (acos_test_tonearest): Likewise.
32132         (acos_test_towardzero): Likewise.
32133         (acos_test_downward): Likewise.
32134         (acos_test_upward): Likewise.
32135         (acosh_test): Likewise.
32136         (asin_test): Likewise.
32137         (asin_test_tonearest): Likewise.
32138         (asin_test_towardzero): Likewise.
32139         (asin_test_downward): Likewise.
32140         (asin_test_upward): Likewise.
32141         (asinh_test): Likewise.
32142         (atan_test): Likewise.
32143         (atanh_test): Likewise.
32144         (atan2_test): Likewise.
32145         (cabs_test): Likewise.
32146         (cacos_test): Use END_COMPLEX macro without arguments.
32147         (cacosh_test): Likewise.
32148         (carg_test): Use END macro without arguments.
32149         (casin_test): Use END_COMPLEX macro without arguments.
32150         (casinh_test): Likewise.
32151         (catan_test): Likewise.
32152         (catanh_test): Likewise.
32153         (cbrt_test): Use END macro without arguments.
32154         (ccos_test): Use END_COMPLEX macro without arguments.
32155         (ccosh_test): Likewise.
32156         (ceil_test): Use END macro without arguments.
32157         (cexp_test): Use END_COMPLEX macro without arguments.
32158         (cimag_test): Use END macro without arguments.
32159         (clog_test): Use END_COMPLEX macro without arguments.
32160         (clog10_test): Likewise.
32161         (conj_test): Likewise.
32162         (copysign_test): Use END macro without arguments.
32163         (cos_test): Likewise.
32164         (cos_test_tonearest): Likewise.
32165         (cos_test_towardzero): Likewise.
32166         (cos_test_downward): Likewise.
32167         (cos_test_upward): Likewise.
32168         (cosh_test): Likewise.
32169         (cosh_test_tonearest): Likewise.
32170         (cosh_test_towardzero): Likewise.
32171         (cosh_test_downward): Likewise.
32172         (cosh_test_upward): Likewise.
32173         (cpow_test): Use END_COMPLEX macro without arguments.
32174         (cproj_test): Likewise.
32175         (creal_test): Use END macro without arguments.
32176         (csin_test): Use END_COMPLEX macro without arguments.
32177         (csinh_test): Likewise.
32178         (csqrt_test): Likewise.
32179         (ctan_test): Likewise.
32180         (ctan_test_tonearest): Likewise.
32181         (ctan_test_towardzero): Likewise.
32182         (ctan_test_downward): Likewise.
32183         (ctan_test_upward): Likewise.
32184         (ctanh_test): Likewise.
32185         (ctanh_test_tonearest): Likewise.
32186         (ctanh_test_towardzero): Likewise.
32187         (ctanh_test_downward): Likewise.
32188         (ctanh_test_upward): Likewise.
32189         (erf_test): Use END macro without arguments.
32190         (erfc_test): Likewise.
32191         (exp_test): Likewise.
32192         (exp_test_tonearest): Likewise.
32193         (exp_test_towardzero): Likewise.
32194         (exp_test_downward): Likewise.
32195         (exp_test_upward): Likewise.
32196         (exp10_test): Likewise.
32197         (exp2_test): Likewise.
32198         (expm1_test): Likewise.
32199         (fabs_test): Likewise.
32200         (fdim_test): Likewise.
32201         (finite_test): Likewise.
32202         (floor_test): Likewise.
32203         (fma_test): Likewise.
32204         (fma_test_towardzero): Likewise.
32205         (fma_test_downward): Likewise.
32206         (fma_test_upward): Likewise.
32207         (fmax_test): Likewise.
32208         (fmin_test): Likewise.
32209         (fmod_test): Likewise.
32210         (fpclassify_test): Likewise.
32211         (frexp_test): Likewise.
32212         (gamma_test): Likewise.
32213         (hypot_test): Likewise.
32214         (ilogb_test): Likewise.
32215         (isfinite_test): Likewise.
32216         (isgreater_test): Likewise.
32217         (isgreaterequal_test): Likewise.
32218         (isinf_test): Likewise.
32219         (isless_test): Likewise.
32220         (islessequal_test): Likewise.
32221         (islessgreater_test): Likewise.
32222         (isnan_test): Likewise.
32223         (isnormal_test): Likewise.
32224         (issignaling_test): Likewise.
32225         (isunordered_test): Likewise.
32226         (j0_test): Likewise.
32227         (j1_test): Likewise.
32228         (jn_test): Likewise.
32229         (ldexp_test): Likewise.
32230         (lgamma_test): Likewise.
32231         (lrint_test): Likewise.
32232         (lrint_test_tonearest): Likewise.
32233         (lrint_test_towardzero): Likewise.
32234         (lrint_test_downward): Likewise.
32235         (lrint_test_upward): Likewise.
32236         (llrint_test): Likewise.
32237         (llrint_test_tonearest): Likewise.
32238         (llrint_test_towardzero): Likewise.
32239         (llrint_test_downward): Likewise.
32240         (llrint_test_upward): Likewise.
32241         (log_test): Likewise.
32242         (log10_test): Likewise.
32243         (log1p_test): Likewise.
32244         (log2_test): Likewise.
32245         (logb_test): Likewise.
32246         (logb_test_downward): Likewise.
32247         (lround_test): Likewise.
32248         (llround_test): Likewise.
32249         (modf_test): Likewise.
32250         (nearbyint_test): Likewise.
32251         (nextafter_test): Likewise.
32252         (nexttoward_test): Likewise.
32253         (pow_test): Likewise.
32254         (pow_test_tonearest): Likewise.
32255         (pow_test_towardzero): Likewise.
32256         (pow_test_downward): Likewise.
32257         (pow_test_upward): Likewise.
32258         (remainder_test): Likewise.
32259         (remainder_test_tonearest): Likewise.
32260         (remainder_test_towardzero): Likewise.
32261         (remainder_test_downward): Likewise.
32262         (remainder_test_upward): Likewise.
32263         (remquo_test): Likewise.
32264         (rint_test): Likewise.
32265         (rint_test_tonearest): Likewise.
32266         (rint_test_towardzero): Likewise.
32267         (rint_test_downward): Likewise.
32268         (rint_test_upward): Likewise.
32269         (round_test): Likewise.
32270         (scalb_test): Likewise.
32271         (scalbn_test): Likewise.
32272         (scalbln_test): Likewise.
32273         (signbit_test): Likewise.
32274         (sin_test): Likewise.
32275         (sin_test_tonearest): Likewise.
32276         (sin_test_towardzero): Likewise.
32277         (sin_test_downward): Likewise.
32278         (sin_test_upward): Likewise.
32279         (sincos_test): Likewise.
32280         (sinh_test): Likewise.
32281         (sinh_test_tonearest): Likewise.
32282         (sinh_test_towardzero): Likewise.
32283         (sinh_test_downward): Likewise.
32284         (sinh_test_upward): Likewise.
32285         (sqrt_test): Likewise.
32286         (tan_test): Likewise.
32287         (tan_test_tonearest): Likewise.
32288         (tan_test_towardzero): Likewise.
32289         (tan_test_downward): Likewise.
32290         (tan_test_upward): Likewise.
32291         (tanh_test): Likewise.
32292         (tgamma_test): Likewise.
32293         (trunc_test): Likewise.
32294         (y0_test): Likewise.
32295         (y1_test): Likewise.
32296         (yn_test): Likewise.
32297         (significand_test): Likewise.
32299 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32301         [BZ #15381]
32302         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32304 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32306         [BZ #14894]
32307         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32308         __ppc_mdoio and __ppc_mdoom.
32309         * manual/platform.texi: Document new functions __ppc_yield,
32310         __ppc_mdoio and __ppc_mdoom.
32312 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32314         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32315         (main): Mention "tls" pseudo-hwcap is legacy.
32316         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32318 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32320         * math/gen-libm-test.pl (parse_args): Output only string of
32321         arguments as text for test name, not full call or descriptions of
32322         tests for extra outputs.
32323         (generate_testfile): Do not pass function name to parse_args.
32324         Generate this_func variable from START.
32325         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32326         field to arg_str.
32327         (struct test_ff_f_data): Likewise.
32328         (test_ff_f_data_nexttoward): Likewise.
32329         (struct test_fi_f_data): Likewise.
32330         (struct test_fl_f_data): Likewise.
32331         (struct test_if_f_data): Likewise.
32332         (struct test_fff_f_data): Likewise.
32333         (struct test_c_f_data): Likewise.
32334         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32335         (struct test_fF_f1_data): Likewise.
32336         (struct test_ffI_f1_data): Likewise.
32337         (struct test_c_c_data): Rename test_name field to arg_str.
32338         (struct test_cc_c_data): Likewise.
32339         (struct test_f_i_data): Likewise.
32340         (struct test_ff_i_data): Likewise.
32341         (struct test_f_l_data): Likewise.
32342         (struct test_f_L_data): Likewise.
32343         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32344         and extra2_name.
32345         (COMMON_TEST_SETUP): New macro.
32346         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32347         (COMMON_TEST_CLEANUP): Likewise.
32348         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32349         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32350         macros.
32351         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32352         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32353         macros.
32354         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32355         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32356         cleanup macros.
32357         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32358         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32359         macros.
32360         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32361         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32362         macros.
32363         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32364         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32365         cleanup macros.
32366         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32367         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32368         cleanup macros.
32369         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32370         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32371         cleanup macros.
32372         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32373         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32374         macros.
32375         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32376         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32377         macros.
32378         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32379         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32380         macros.
32381         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32382         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32383         cleanup macros.
32384         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32385         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32386         cleanup macros.
32387         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32388         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32389         macros.
32390         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32391         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32392         cleanup macros.
32393         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32394         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32395         macros.
32396         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32397         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32398         macros.
32399         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32400         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32401         cleanup macros.
32402         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32404 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32406         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32407         to _sifields.sigfault.
32408         (si_addr_lsb): Define new macro.
32409         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32411         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32413 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32415         [BZ #15441]
32416         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32417         returns -1.
32418         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32419         null return -1.
32420         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32421         loading the domain.
32423 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32425         * math/gen-libm-test.pl (parse_args): Do not include expected
32426         result in test name.
32427         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32429         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32430         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32431         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32434 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32436         * benchtests/Makefile: Sort function entries.
32438         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32439         tanh, asinh, acosh, atanh.
32440         * benchtests/acos-inputs: New file.
32441         * benchtests/acosh-inputs: New file.
32442         * benchtests/asin-inputs: New file.
32443         * benchtests/asinh-inputs: New file.
32444         * benchtests/atanh-inputs: New file.
32445         * benchtests/cosh-inputs: New file.
32446         * benchtests/log-inputs: New file.
32447         * benchtests/sinh-inputs: New file.
32448         * benchtests/tanh-inputs: New file.
32450 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32452         [BZ #15339]
32453         * posix/tst-getaddrinfo4.c: New test.
32454         * posix/Makefile (tests): Add it.
32456 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32458         [BZ #15339]
32459         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32460         when no services were used.
32461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32462         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32464 2013-05-21  Andreas Schwab  <schwab@suse.de>
32466         [BZ #15014]
32467         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32468         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32469         successful.
32470         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32471         redundant variable declarations and reallocation of buffer when
32472         parsing as IPv6 address.  Always set NSS status when called from
32473         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32474         buffer too small.  Correct computation of needed size.
32475         * nss/Makefile (tests): Add test-digits-dots.
32476         * nss/test-digits-dots.c: New test.
32478 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32480         * benchtests/Makefile: Remove instructions for adding
32481         benchmark tests.
32482         * benchtests/README: New file to explain how to execute and
32483         enhance the benchmark tests.
32485 2013-05-21  Andreas Schwab  <schwab@suse.de>
32487         [BZ #15493]
32488         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32489         * setjmp/tst-sigsetjmp.c: New test.
32491 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32493         * sysdeps/x86_64/memset.S (memset): New implementation.
32494         (__bzero): Likewise.
32495         (__memset_tail): New function.
32497 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32499         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32500         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32501         __memcpy_sse2_unaligned ifunc selection.
32502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32503         Add memcpy-sse2-unaligned.S.
32504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32505         Add: __memcpy_sse2_unaligned.
32507 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32509         [BZ #15490]
32510         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32511         math_force_eval before restoring floating-point envrionment.
32512         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32513         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32514         Likewise.
32515         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32516         <math_private.h>.
32517         (__nearbyintl): Use math_force_eval before restoring
32518         floating-point environment.
32519         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32521         * math/gen-libm-test.pl (special_functions): Remove.
32522         (parse_args): Don't handle TEST_extra.  Handle functions with no
32523         return value.
32524         * math/libm-test.inc (struct test_sincos_data): Replace with
32525         struct test_fFF_11_data.
32526         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32527         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32528         (sincos_test_data): Change element type to struct
32529         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32530         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32531         RUN_TEST_LOOP_sincos.
32532         * math/README.libm-test: Don't mention special handling of
32533         individual functions.
32534         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32535         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32536         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32537         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32538         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32541         * math/gen-libm-test.pl (get_variable): Remove function.
32542         (parse_args): Don't show pointer parameters to call in test
32543         names.  Use "extra output N" in test names for extra outputs
32544         rather than naming variables.
32546 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32548         [BZ #15488]
32549         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32550         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32551         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32552         double tests.
32553         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32554         disable.
32555         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32556         check_long_double.
32558         * math/gen-libm-test.pl (@tests): Remove variable.
32559         ($count): Likewise.
32560         (new_test): Remove function.
32561         (show_exceptions): New function.
32562         (special_functions): Use show_exceptions instead of new_test.
32563         (parse_args): Likewise.
32564         (generate_testfile): Pass only function name in generated call to
32565         print_max_error or print_complex_max_error.
32566         (get_ulps): Do not handle complex tests specially.
32567         (output_test): Rename to ...
32568         (get_all_ulps_for_test): ... this.  Return a string rather than
32569         printing to a file.  Require ulps to be present.
32570         (output_ulps): Generate arrays rather than #defines.
32571         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32572         (struct ulp_data): New type.
32573         (BUILD_COMPLEX_ULP): Remove macro.
32574         (compare_ulp_data): New function.
32575         (find_ulps): Likewise.
32576         (find_test_ulps): Likewise.
32577         (find_function_ulps): Likewise.
32578         (find_complex_function_ulps): Likewise.
32579         (print_max_error): Determine allowed ulps using
32580         find_function_ulps.
32581         (print_complex_max_error): Determine allowed ulps using
32582         find_complex_function_ulps.
32583         (check_float_internal): Determine max ulps using find_test_ulps.
32584         (check_float): Do not take max_ulp parameter.  Update call to
32585         check_float_internal.
32586         (check_complex): Likewise.
32587         (check_int): Do not take max_ulp parameter.
32588         (check_long): Likewise.
32589         (check_bool): Likewise.
32590         (check_longlong): Likewise.
32591         (struct test_f_f_data): Remove max_ulp field.
32592         (struct test_ff_f_data): Likewise.
32593         (struct test_ff_f_data_nexttoward): Likewise.
32594         (struct test_fi_f_data): Likewise.
32595         (struct test_fl_f_data): Likewise.
32596         (struct test_if_f_data): Likewise.
32597         (struct test_fff_f_data): Likewise.
32598         (struct test_c_f_data): Likewise.
32599         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32600         (struct test_fF_f1_data): Likewise.
32601         (struct test_ffI_f1_data): Likewise.
32602         (struct test_c_c_data): Remove max_ulp field.
32603         (struct test_cc_c_data): Likewise.
32604         (struct test_f_i_data): Likewise.
32605         (struct test_ff_i_data): Likewise.
32606         (struct test_f_l_data): Likewise.
32607         (struct test_f_L_data): Likewise.
32608         (struct test_sincos_data): Likewise.
32609         (RUN_TEST_f_f): Do not handle ulps.
32610         (RUN_TEST_LOOP_f_f): Likewise.
32611         (RUN_TEST_2_f): Likewise.
32612         (RUN_TEST_LOOP_2_f): Likewise.
32613         (RUN_TEST_fff_f): Likewise.
32614         (RUN_TEST_LOOP_fff_f): Likewise.
32615         (RUN_TEST_c_f): Likewise.
32616         (RUN_TEST_LOOP_c_f): Likewise.
32617         (RUN_TEST_f_f1): Likewise.
32618         (RUN_TEST_LOOP_f_f1): Likewise.
32619         (RUN_TEST_fF_f1): Likewise.
32620         (RUN_TEST_LOOP_fF_f1): Likewise.
32621         (RUN_TEST_fI_f1): Likewise.
32622         (RUN_TEST_LOOP_fI_f1): Likewise.
32623         (RUN_TEST_ffI_f1): Likewise.
32624         (RUN_TEST_LOOP_ffI_f1): Likewise.
32625         (RUN_TEST_c_c): Likewise.
32626         (RUN_TEST_LOOP_c_c): Likewise.
32627         (RUN_TEST_cc_c): Likewise.
32628         (RUN_TEST_LOOP_cc_c): Likewise.
32629         (RUN_TEST_f_i): Likewise.
32630         (RUN_TEST_LOOP_f_i): Likewise.
32631         (RUN_TEST_f_i_tg): Likewise.
32632         (RUN_TEST_LOOP_f_i_tg): Likewise.
32633         (RUN_TEST_ff_i_tg): Likewise.
32634         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32635         (RUN_TEST_f_b): Likewise.
32636         (RUN_TEST_LOOP_f_b): Likewise.
32637         (RUN_TEST_f_b_tg): Likewise.
32638         (RUN_TEST_LOOP_f_b_tg): Likewise.
32639         (RUN_TEST_f_l): Likewise.
32640         (RUN_TEST_LOOP_f_l): Likewise.
32641         (RUN_TEST_f_L): Likewise.
32642         (RUN_TEST_LOOP_f_L): Likewise.
32643         (RUN_TEST_sincos): Likewise.
32644         (RUN_TEST_LOOP_sincos): Likewise.
32646 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #15480]
32649         [BZ #15485]
32650         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32651         main case of finite arguments, set rounding mode to FE_TONEAREST
32652         and discard exceptions.
32653         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32654         exceptions.
32655         (remainder_tonearest_test_data): New variable.
32656         (remainder_test_tonearest): New function.
32657         (remainder_towardzero_test_data): New variable.
32658         (remainder_test_towardzero): New function.
32659         (remainder_downward_test_data): New variable.
32660         (remainder_test_downward): New function.
32661         (remainder_upward_test_data): New variable.
32662         (remainder_test_upward): New function.
32663         (main): Call the new test functions.
32665         * math/libm-test.inc (struct test_f_f1_data): Remove field
32666         extra_init.
32667         (struct test_fF_f1_data): Likewise.
32668         (struct test_ffI_f1_data): Likewise.
32669         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32670         based on value of EXTRA_EXPECTED.
32671         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32672         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32673         EXTRA_VAR based on value of EXTRA_EXPECTED.
32674         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32675         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32676         EXTRA_VAR based on value of EXTRA_EXPECTED.
32677         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32678         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32679         EXTRA_VAR based on value of EXTRA_EXPECTED.
32680         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32681         * math/gen-libm-test.pl (parse_args): Don't output initializers
32682         for extra output values.
32684         * math/libm-test.inc (check_int): Expect result to be exactly
32685         equal to expected value and do not handle ulps.
32686         (check_long): Likewise.
32687         (check_longlong): Likewise.
32689         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32690         exceptions.
32691         (cimag_test_data): Likewise.
32692         (conj_test_data): Likewise.
32693         (copysign_test_data): Likewise.
32694         (cproj_test_data): Likewise.
32695         (creal_test_data): Likewise.
32696         (fabs_test_data): Likewise.
32697         (fdim_test_data): Likewise.
32698         (finite_test_data): Likewise.
32699         (floor_test_data): Likewise.
32700         (fmax_test_data): Likewise.
32701         (fmin_test_data): Likewise.
32702         (fmod_test_data): Likewise.
32703         (fpclassify_test_data): Likewise.
32704         (frexp_test_data): Likewise.
32705         (ilogb_test_data): Likewise.
32706         (isfinite_test_data): Likewise.
32707         (isgreater_test_data): Likewise.
32708         (isgreaterequal_test_data): Likewise.
32709         (isinf_test_data): Likewise.
32710         (isless_test_data): Likewise.
32711         (islessequal_test_data): Likewise.
32712         (islessgreater_test_data): Likewise.
32713         (isnan_test_data): Likewise.
32714         (isnormal_test_data): Likewise.
32715         (issignaling_test_data): Likewise.
32716         (isunordered_test_data): Likewise.
32717         (ldexp_test_data): Likewise.
32718         (lrint_test_data): Likewise.
32719         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32720         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32721         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32722         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32723         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32724         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32725         test input.
32726         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32727         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32728         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32729         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32730         that test input.
32731         (lrint_downward_test_data): Test for "inexact" exceptions.
32732         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32733         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32734         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32735         test input.
32736         (lrint_upward_test_data): Test for "inexact" exceptions.
32737         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32738         test input.
32739         (llrint_test_data): Test for "inexact" exceptions.
32740         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32741         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32742         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32743         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32744         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32745         (llrint_downward_test_data): Test for "inexact" exceptions.
32746         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32747         (llrint_upward_test_data): Test for "inexact" exceptions.
32748         (logb_test_data): Likewise.
32749         (logb_downward_test_data): Likewise.
32750         (nextafter_test_data): Likewise.
32751         (nexttoward_test_data): Likewise.
32752         (remainder_test_data): Likewise.
32753         (remquo_test_data): Likewise.
32754         (scalbn_test_data): Likewise.
32755         (scalbln_test_data): Likewise.
32756         (signbit_test_data): Likewise.
32757         (sqrt_test_data): Likewise.
32758         (significand_test_data): Likewise.
32760 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32762         [BZ #15424]
32763         * benchtests/bench-modf.c (struct args): Mark arg0 as
32764         volatile.
32765         * scripts/bench.pl: Mark members of struct args as volatile.
32767 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32769         [BZ # 15497]
32770         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32771         negative infinity on POWER6 or lower.
32772         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32774 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32776         [BZ #15442]
32777         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32778         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32779         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32780         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32781         (_FP_SETQNAN): New macro.
32782         (_FP_SETQNAN_SEMIRAW): Likewise.
32783         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32784         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32785         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32786         (FP_EXTEND): Use _FP_FRAC_SNANP.
32787         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32788         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32789         into account.
32790         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32791         New macro.
32792         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32793         Likewise.
32795 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32797         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32798         with DIVIDE_BY_ZERO_EXCEPTION.
32799         (gamma_test_data): Likewise.
32800         (lgamma_test_data): Likewise.
32801         (log_test_data): Likewise.
32802         (log10_test_data): Likewise.
32803         (log2_test_data): Likewise.
32804         (tgamma_test_data): Likewise.
32806         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32807         (acos_test_tonearest): Likewise.
32808         (acos_test_towardzero): Likewise.
32809         (acos_test_downward): Likewise.
32810         (acos_test_upward): Likewise.
32811         (acosh_test): Likewise.
32812         (asin_test): Likewise.
32813         (asin_test_tonearest): Likewise.
32814         (asin_test_towardzero): Likewise.
32815         (asin_test_downward): Likewise.
32816         (asin_test_upward): Likewise.
32817         (asinh_test): Likewise.
32818         (atan_test): Likewise.
32819         (atanh_test): Likewise.
32820         (atan2_test): Likewise.
32821         (cabs_test): Likewise.
32822         (cacos_test): Likewise.
32823         (cacosh_test): Likewise.
32824         (casin_test): Likewise.
32825         (casinh_test): Likewise.
32826         (catan_test): Likewise.
32827         (catanh_test): Likewise.
32828         (cbrt_test): Likewise.
32829         (ccos_test): Likewise.
32830         (ccosh_test): Likewise.
32831         (cexp_test): Likewise.
32832         (clog_test): Likewise.
32833         (clog10_test): Likewise.
32834         (cos_test): Likewise.
32835         (cos_test_tonearest): Likewise.
32836         (cos_test_towardzero): Likewise.
32837         (cos_test_downward): Likewise.
32838         (cos_test_upward): Likewise.
32839         (cosh_test): Likewise.
32840         (cosh_test_tonearest): Likewise.
32841         (cosh_test_towardzero): Likewise.
32842         (cosh_test_downward): Likewise.
32843         (cosh_test_upward): Likewise.
32844         (cpow_test): Likewise.
32845         (csin_test): Likewise.
32846         (csinh_test): Likewise.
32847         (csqrt_test): Likewise.
32848         (ctan_test): Likewise.
32849         (ctan_test_tonearest): Likewise.
32850         (ctan_test_towardzero): Likewise.
32851         (ctan_test_downward): Likewise.
32852         (ctan_test_upward): Likewise.
32853         (ctanh_test): Likewise.
32854         (ctanh_test_tonearest): Likewise.
32855         (ctanh_test_towardzero): Likewise.
32856         (ctanh_test_downward): Likewise.
32857         (ctanh_test_upward): Likewise.
32858         (erf_test): Likewise.
32859         (erfc_test): Likewise.
32860         (exp_test): Likewise.
32861         (exp_test_tonearest): Likewise.
32862         (exp_test_towardzero): Likewise.
32863         (exp_test_downward): Likewise.
32864         (exp_test_upward): Likewise.
32865         (exp10_test): Likewise.
32866         (exp2_test): Likewise.
32867         (expm1_test): Likewise.
32868         (fmod_test): Likewise.
32869         (gamma_test): Likewise.
32870         (hypot_test): Likewise.
32871         (j0_test): Likewise.
32872         (j1_test): Likewise.
32873         (jn_test): Likewise.
32874         (lgamma_test): Likewise.
32875         (log_test): Likewise.
32876         (log10_test): Likewise.
32877         (log1p_test): Likewise.
32878         (log2_test): Likewise.
32879         (logb_test_downward): Likewise.
32880         (pow_test): Likewise.
32881         (pow_test_tonearest): Likewise.
32882         (pow_test_towardzero): Likewise.
32883         (pow_test_downward): Likewise.
32884         (pow_test_upward): Likewise.
32885         (remainder_test): Likewise.
32886         (remquo_test): Likewise.
32887         (sin_test): Likewise.
32888         (sin_test_tonearest): Likewise.
32889         (sin_test_towardzero): Likewise.
32890         (sin_test_downward): Likewise.
32891         (sin_test_upward): Likewise.
32892         (sincos_test): Likewise.
32893         (sinh_test): Likewise.
32894         (sinh_test_tonearest): Likewise.
32895         (sinh_test_towardzero): Likewise.
32896         (sinh_test_downward): Likewise.
32897         (sinh_test_upward): Likewise.
32898         (sqrt_test): Likewise.
32899         (tan_test): Likewise.
32900         (tan_test_tonearest): Likewise.
32901         (tan_test_towardzero): Likewise.
32902         (tan_test_downward): Likewise.
32903         (tan_test_upward): Likewise.
32904         (tanh_test): Likewise.
32905         (tgamma_test): Likewise.
32906         (y0_test): Likewise.
32907         (y1_test): Likewise.
32908         (yn_test): Likewise.
32910         * math/gen-libm-test.pl (adjust_arg): Remove function.
32911         (special_function): Remove argument $in_func.  Only handle
32912         generating output for tables of tests, not inside functions.
32913         (parse_args): Likewise.
32914         (generate_testfile): Remove variable $in_func.  Update call to
32915         parse_args.
32916         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32917         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32918         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32919         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32920         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32921         (MAX_VALUE_INIT): Rename macro to max_value.
32922         (MIN_VALUE_INIT): Rename macro to min_value.
32923         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32924         (plus_zero): Remove variable.
32925         (minus_zero): Likewise.
32926         (plus_infty): Likewise.
32927         (minus_infty): Likewise.
32928         (qnan_value): Likewise.
32929         (max_value): Likewise.
32930         (min_value): Likewise.
32931         (min_subnorm_value): Likewise.
32933 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32935         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32936         uint64_t or uint32_t usage.
32937         * crypt/sha256-block.c: Likewise.
32938         * crypt/sha256-crypt.c: Likewise.
32939         * crypt/sha256.c: Likewise.
32940         * crypt/sha512-block.c: Likewise.
32941         * crypt/sha512-crypt.c: Likewise.
32942         * crypt/sha512.c: Likewise.
32943         * debug/backtrace-tst.c: Likewise.
32944         * debug/pcprofiledump.c: Likewise.
32945         * elf/cache.c: Likewise.
32946         * elf/dl-cache.c: Likewise.
32947         * elf/dl-misc.c: Likewise.
32948         * elf/dl-profile.c: Likewise.
32949         * elf/dl-support.c: Likewise.
32950         * elf/ldconfig.c: Likewise.
32951         * elf/sprof.c: Likewise.
32952         * iconv/dummy-repertoire.c: Likewise.
32953         * iconv/iconv_charmap.c: Likewise.
32954         * iconv/skeleton.c: Likewise.
32955         * iconvdata/8bit-generic.c: Likewise.
32956         * iconvdata/cp737.h: Likewise.
32957         * iconvdata/cp775.h: Likewise.
32958         * iconvdata/ibm1008.h: Likewise.
32959         * iconvdata/ibm1025.h: Likewise.
32960         * iconvdata/ibm1046.h: Likewise.
32961         * iconvdata/ibm1097.h: Likewise.
32962         * iconvdata/ibm1112.h: Likewise.
32963         * iconvdata/ibm1122.h: Likewise.
32964         * iconvdata/ibm1123.h: Likewise.
32965         * iconvdata/ibm1124.h: Likewise.
32966         * iconvdata/ibm1129.h: Likewise.
32967         * iconvdata/ibm1130.h: Likewise.
32968         * iconvdata/ibm1132.h: Likewise.
32969         * iconvdata/ibm1133.h: Likewise.
32970         * iconvdata/ibm1137.h: Likewise.
32971         * iconvdata/ibm1140.h: Likewise.
32972         * iconvdata/ibm1141.h: Likewise.
32973         * iconvdata/ibm1142.h: Likewise.
32974         * iconvdata/ibm1143.h: Likewise.
32975         * iconvdata/ibm1144.h: Likewise.
32976         * iconvdata/ibm1145.h: Likewise.
32977         * iconvdata/ibm1146.h: Likewise.
32978         * iconvdata/ibm1147.h: Likewise.
32979         * iconvdata/ibm1148.h: Likewise.
32980         * iconvdata/ibm1149.h: Likewise.
32981         * iconvdata/ibm1153.h: Likewise.
32982         * iconvdata/ibm1154.h: Likewise.
32983         * iconvdata/ibm1155.h: Likewise.
32984         * iconvdata/ibm1156.h: Likewise.
32985         * iconvdata/ibm1157.h: Likewise.
32986         * iconvdata/ibm1158.h: Likewise.
32987         * iconvdata/ibm1160.h: Likewise.
32988         * iconvdata/ibm1161.h: Likewise.
32989         * iconvdata/ibm1162.h: Likewise.
32990         * iconvdata/ibm1163.h: Likewise.
32991         * iconvdata/ibm1164.h: Likewise.
32992         * iconvdata/ibm1166.h: Likewise.
32993         * iconvdata/ibm1167.h: Likewise.
32994         * iconvdata/ibm12712.h: Likewise.
32995         * iconvdata/ibm1390.h: Likewise.
32996         * iconvdata/ibm1399.h: Likewise.
32997         * iconvdata/ibm16804.h: Likewise.
32998         * iconvdata/ibm4517.h: Likewise.
32999         * iconvdata/ibm4899.h: Likewise.
33000         * iconvdata/ibm4909.h: Likewise.
33001         * iconvdata/ibm4971.h: Likewise.
33002         * iconvdata/ibm5347.h: Likewise.
33003         * iconvdata/ibm803.h: Likewise.
33004         * iconvdata/ibm856.h: Likewise.
33005         * iconvdata/ibm901.h: Likewise.
33006         * iconvdata/ibm902.h: Likewise.
33007         * iconvdata/ibm9030.h: Likewise.
33008         * iconvdata/ibm9066.h: Likewise.
33009         * iconvdata/ibm921.h: Likewise.
33010         * iconvdata/ibm922.h: Likewise.
33011         * iconvdata/ibm9448.h: Likewise.
33012         * iconvdata/isiri-3342.h: Likewise.
33013         * iconvdata/jis0201.h: Likewise.
33014         * include/link.h: Likewise.
33015         * include/netdb.h: Likewise.
33016         * inet/check_native.c: Likewise.
33017         * inet/check_pf.c: Likewise.
33018         * inet/getipv4sourcefilter.c: Likewise.
33019         * inet/getnameinfo.c: Likewise.
33020         * inet/getsourcefilter.c: Likewise.
33021         * inet/htonl.c: Likewise.
33022         * inet/setipv4sourcefilter.c: Likewise.
33023         * inet/setsourcefilter.c: Likewise.
33024         * inet/test-inet6_opt.c: Likewise.
33025         * inet/tst-network.c: Likewise.
33026         * locale/C-collate.c: Likewise.
33027         * locale/C-ctype.c: Likewise.
33028         * locale/C-time.c: Likewise.
33029         * locale/C-translit.h: Likewise.
33030         * locale/loadarchive.c: Likewise.
33031         * locale/programs/3level.h: Likewise.
33032         * locale/programs/charmap.c: Likewise.
33033         * locale/programs/charmap.h: Likewise.
33034         * locale/programs/ld-address.c: Likewise.
33035         * locale/programs/ld-collate.c: Likewise.
33036         * locale/programs/ld-ctype.c: Likewise.
33037         * locale/programs/ld-identification.c: Likewise.
33038         * locale/programs/ld-measurement.c: Likewise.
33039         * locale/programs/ld-messages.c: Likewise.
33040         * locale/programs/ld-monetary.c: Likewise.
33041         * locale/programs/ld-name.c: Likewise.
33042         * locale/programs/ld-numeric.c: Likewise.
33043         * locale/programs/ld-paper.c: Likewise.
33044         * locale/programs/ld-telephone.c: Likewise.
33045         * locale/programs/ld-time.c: Likewise.
33046         * locale/programs/linereader.c: Likewise.
33047         * locale/programs/locale.c: Likewise.
33048         * locale/programs/locarchive.c: Likewise.
33049         * locale/programs/locfile.h: Likewise.
33050         * locale/programs/repertoire.c: Likewise.
33051         * locale/programs/simple-hash.c: Likewise.
33052         * locale/programs/simple-hash.h: Likewise.
33053         * malloc/memusage.c: Likewise.
33054         * malloc/memusagestat.c: Likewise.
33055         * nis/nis_defaults.c: Likewise.
33056         * nis/nis_hash.c: Likewise.
33057         * nis/nis_print.c: Likewise.
33058         * nis/nis_xdr.c: Likewise.
33059         * nscd/connections.c: Likewise.
33060         * nscd/hstcache.c: Likewise.
33061         * nscd/nscd_gethst_r.c: Likewise.
33062         * nscd/nscd_getserv_r.c: Likewise.
33063         * nscd/nscd_helper.c: Likewise.
33064         * nscd/servicescache.c: Likewise.
33065         * nss/makedb.c: Likewise.
33066         * nss/nss_db/db-XXX.c: Likewise.
33067         * nss/nss_db/db-initgroups.c: Likewise.
33068         * nss/nss_db/db-netgrp.c: Likewise.
33069         * nss/nss_files/files-network.c: Likewise.
33070         * nss/nss_files/files-parse.c: Likewise.
33071         * posix/bug-regex5.c: Likewise.
33072         * posix/fnmatch_loop.c: Likewise.
33073         * posix/regcomp.c: Likewise.
33074         * posix/regexec.c: Likewise.
33075         * posix/tst-rfc3484-2.c: Likewise.
33076         * posix/tst-rfc3484-3.c: Likewise.
33077         * posix/tst-rfc3484.c: Likewise.
33078         * resolv/nss_dns/dns-canon.c: Likewise.
33079         * resolv/nss_dns/dns-network.c: Likewise.
33080         * resolv/res_init.c: Likewise.
33081         * resolv/res_mkquery.c: Likewise.
33082         * resolv/tst-aton.c: Likewise.
33083         * stdlib/cxa_atexit.c: Likewise.
33084         * stdlib/cxa_finalize.c: Likewise.
33085         * stdlib/gen-fpioconst.c: Likewise.
33086         * stdlib/strtol_l.c: Likewise.
33087         * string/tst-endian.c: Likewise.
33088         * sunrpc/auth_des.c: Likewise.
33089         * sunrpc/clnt_udp.c: Likewise.
33090         * sunrpc/rtime.c: Likewise.
33091         * sunrpc/svcauth_des.c: Likewise.
33092         * sunrpc/xdr.c: Likewise.
33093         * sunrpc/xdr_intXX_t.c: Likewise.
33094         * sunrpc/xdr_rec.c: Likewise.
33095         * sysdeps/generic/ldconfig.h: Likewise.
33096         * sysdeps/generic/ldsodefs.h: Likewise.
33097         * sysdeps/generic/memusage.h: Likewise.
33098         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33099         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33100         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33101         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33102         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33104         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33105         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33108         * sysdeps/posix/getaddrinfo.c: Likewise.
33109         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33110         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33111         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33112         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33113         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33114         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33115         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33116         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33117         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33118         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33119         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33120         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33121         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33122         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33123         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33124         * sysdeps/x86_64/dl-tls.h: Likewise.
33125         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33126         * time/alt_digit.c: Likewise.
33127         * time/era.c: Likewise.
33128         * wcsmbs/tst-c16c32-1.c: Likewise.
33130 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33132         * math/libm-test.inc (struct test_sincos_data): New type.
33133         (RUN_TEST_LOOP_sincos): New macro.
33134         (sincos_test_data): New variable.
33135         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33137 2013-05-16  Richard Henderson  <rth@redhat.com>
33139         * math/atest-exp2.c (LIMB64): New macro.
33140         (CONSTSZ): New macro.
33141         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33142         (hexdig): Move ...
33143         (print_mpn_fp): ... to function scope.
33144         (read_mpn_hex): Remove.
33145         (get_log2): Remove.
33146         (exp2_mpn): Use mp_log2.
33147         (main): Use mp_exp1.
33149 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33151         * math/libm-test.inc: Remove comment about not testing "inexact"
33152         exceptions.
33153         (INEXACT_EXCEPTION): New macro.
33154         (NO_INEXACT_EXCEPTION): Likewise.
33155         (INVALID_EXCEPTION_OK): Update value.
33156         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33157         (OVERFLOW_EXCEPTION_OK): Likewise.
33158         (UNDERFLOW_EXCEPTION_OK): Likewise.
33159         (IGNORE_ZERO_INF_SIGN): Likewise.
33160         (ERRNO_UNCHANGED): Likewise.
33161         (ERRNO_EDOM): Likewise.
33162         (ERRNO_ERANGE): Likewise.
33163         (test_exceptions): Handle testing "inexact" exceptions.
33164         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33165         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33166         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33167         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33168         INEXACT_EXCEPTION.
33169         (rint_towardzero_test_data): Likewise.
33170         (rint_downward_test_data): Likewise.
33171         (rint_upward_test_data): Likewise.
33173         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33174         with OVERFLOW_EXCEPTION.
33175         (exp10_test_data): Likewise.
33176         (exp2_test_data): Likewise.
33177         (expm1_test_data): Likewise.
33178         (lgamma_test_data): Likewise.
33179         (pow_test_data): Likewise.
33180         (tgamma_test_data): Likewise.
33181         (yn_test_data): Remove duplicate test of overflow.
33183         * math/libm-test.inc (struct test_cc_c_data): New type.
33184         (RUN_TEST_LOOP_cc_c): New macro.
33185         (cpow_test_data): New variable.
33186         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33188         * math/libm-test.inc (struct test_f_L_data): New type.
33189         (RUN_TEST_LOOP_f_L): New macro.
33190         (llrint_test_data): New variable.
33191         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33192         (llrint_tonearest_test_data): New variable.
33193         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33194         (llrint_towardzero_test_data): New variable.
33195         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33196         (llrint_downward_test_data): New variable.
33197         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33198         (llrint_upward_test_data): New variable.
33199         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33200         (llround_test_data): New variable.
33201         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33203 2013-05-13  Peter Collingbourne  <pcc@google.com>
33205         * math/atest-exp2.c (get_log2): Remove const attribute.
33207 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33209         * math/libm-test.inc (struct test_f_l_data): New type.
33210         (RUN_TEST_LOOP_f_l): New macro.
33211         (lrint_test_data): New variable.
33212         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33213         (lrint_tonearest_test_data): New variable.
33214         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33215         (lrint_towardzero_test_data): New variable.
33216         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33217         (lrint_downward_test_data): New variable.
33218         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33219         (lrint_upward_test_data): New variable.
33220         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33221         (lround_test_data): New variable.
33222         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33224 2013-05-15  Peter Collingbourne  <pcc@google.com>
33226         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33227         (EXTRACT_WORDS64) Use where appropriate.
33228         (INSERT_WORDS64) Likewise.
33230         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33231         constraints with x constraints.
33232         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33234         * malloc/obstack.c (_obstack_compat): Add initializer.
33236 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33238         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33239         si_trapno and add si_addr_lsb to _sifields.sigfault.
33240         (si_trapno): Remove macro.
33241         (si_addr_lsb): Define new macro.
33242         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33244 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33246         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33247         instead of TEST_f_l.
33248         (llrint_test_tonearest): Likewise.
33249         (llrint_test_towardzero): Likewise.
33250         (llrint_test_downward): Likewise.
33251         (llrint_test_upward): Likewise.
33252         (llround_test): Likewise.
33254         * math/libm-test.inc (struct test_f_i_data): Add comment.
33255         (RUN_TEST_LOOP_f_b): New macro.
33256         (RUN_TEST_LOOP_f_b_tg): Likewise.
33257         (finite_test_data): New variable.
33258         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33259         (isfinite_test_data): New variable.
33260         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33261         (isinf_test_data): New variable.
33262         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33263         (isnan_test_data): New variable.
33264         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33265         (isnormal_test_data): New variable.
33266         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33267         (issignaling_test_data): New variable.
33268         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33269         (signbit_test_data): New variable.
33270         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33272         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33273         with INVALID_EXCEPTION.
33274         (acosh_test_data): Likewise.
33275         (asin_test_data): Likewise.
33276         (atanh_test_data): Likewise.
33277         (fmod_test_data): Likewise.
33278         (log_test_data): Likewise.
33279         (log10_test_data): Likewise.
33280         (log2_test_data): Likewise.
33281         (pow_test_data): Likewise.
33282         (sqrt_test_data): Likewise.
33283         (y0_test_data): Likewise.
33284         (y1_test_data): Likewise.
33285         (yn_test_data): Likewise.
33287         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33288         function contents.
33290         * math/libm-test.inc (struct test_ff_i_data): New type.
33291         (RUN_TEST_LOOP_ff_i_tg): New macro.
33292         (isgreater_test_data): New variable.
33293         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33294         (isgreaterequal_test_data): New variable.
33295         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33296         (isless_test_data): New variable.
33297         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33298         (islessequal_test_data): New variable.
33299         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33300         (islessgreater_test_data): New variable.
33301         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33302         (isunordered_test_data): New variable.
33303         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33305 2013-05-14  David S. Miller  <davem@davemloft.net>
33307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33309 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33311         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33313         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33314         extra_test to int.
33315         (struct test_f_i_data): Change type of max_ulp to int.
33317         * math/libm-test.inc (test_ffI_f1_data): New type.
33318         (RUN_TEST_LOOP_ffI_f1): New macro.
33319         (remquo_test_data): New variable.
33320         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33322         * setjmp/tst-setjmp-fp.c: New file.
33323         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33324         (link-libm): New variable.
33325         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33327         * math/libm-test.inc (struct test_f_i_data): New type.
33328         (RUN_TEST_LOOP_f_i): New macro.
33329         (RUN_TEST_LOOP_f_i_tg): Likewise.
33330         (fpclassify_test_data): New variable.
33331         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33332         (ilogb_test_data): New variable.
33333         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33335         * math/libm-test.inc (scalbln_test): Correct function name in END
33336         call.
33338         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33339         (RUN_TEST_LOOP_fI_f1): New macro.
33340         (frexp_test_data): New variable.
33341         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33343         * math/libm-test.inc (struct test_fF_f1_data): New type.
33344         (RUN_TEST_LOOP_fF_f1): New macro.
33345         (modf_test_data): New variable.
33346         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33348         * math/libm-test.inc (struct test_f_f1_data): New type.
33349         (RUN_TEST_LOOP_f_f1): New macro.
33350         (gamma_test_data): New variable.
33351         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33352         (lgamma_test_data): New variable.
33353         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33355 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33357         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33358         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33359         (main): Comment "tls" pseudo-hwcap.
33361 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33363         * math/libm-test.inc (struct test_fl_f_data): New type.
33364         (RUN_TEST_LOOP_fl_f): New variable.
33365         (scalbln_test_data): New variable.
33366         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33368         * math/libm-test.inc (struct test_fi_f_data): New type.
33369         (RUN_TEST_LOOP_fi_f): New macro.
33370         (ldexp_test_data): New variable.
33371         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33372         (scalbn_test_data): New variable.
33373         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33375         * math/libm-test.inc (struct test_c_f_data): New type.
33376         (RUN_TEST_LOOP_c_f): New macro.
33377         (cabs_test_data): New variable.
33378         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33379         (carg_test_data): New variable.
33380         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33381         (cimag_test_data): New variable.
33382         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33383         (creal_test_data): New variable.
33384         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33386         * math/libm-test.inc (struct test_if_f_data): New type.
33387         (RUN_TEST_LOOP_if_f): New macro.
33388         (jn_test_data): New variable.
33389         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33390         (yn_test_data): New variable.
33391         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33393         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33395 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33397         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33398         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33400 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33402         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33403         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33404         (bench-deps): Add bench-timing.h.
33405         * benchtests-bench-skeleton.c: Include bench-timing.h.
33406         (main): Use TIMING_* macros instead of clock_gettime.
33407         * benchtests/bench-timing.h: New file.
33409         [BZ #14582]
33410         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33411         Renamed from _LIB_VERSION.
33412         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33414 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33416         * math/libm-test.inc (struct test_fff_f_data): New type.
33417         (RUN_TEST_LOOP_fff_f): New macro.
33418         (fma_test_data): New variable.
33419         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33420         (fma_towardzero_test_data): New variable.
33421         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33422         (fma_downward_test_data): New variable.
33423         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33424         (fma_upward_test_data): New variable.
33425         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33427         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33428         (struct test_c_c_data): New type.
33429         (RUN_TEST_LOOP_c_c): New macro.
33430         (cacos_test_data): New variable.
33431         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33432         (cacosh_test_data): New variable.
33433         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33434         (casin_test_data): New variable.
33435         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33436         (casinh_test_data): New variable.
33437         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33438         (catan_test_data): New variable.
33439         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33440         (catanh_test_data): New variable.
33441         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33442         (ccos_test_data): New variable.
33443         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33444         (ccosh_test_data): New variable.
33445         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33446         (cexp_test_data): New variable.
33447         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33448         (clog_test_data): New variable.
33449         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33450         (clog10_test_data): New variable.
33451         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33452         (conj_test_data): New variable.
33453         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33454         (cproj_test_data): New variable.
33455         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33456         (csin_test_data): New variable.
33457         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33458         (csinh_test_data): New variable.
33459         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33460         (csqrt_test_data): New variable.
33461         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33462         (ctan_test_data): New variable.
33463         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33464         (ctan_tonearest_test_data): New variable.
33465         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33466         (ctan_towardzero_test_data): New variable.
33467         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33468         (ctan_downward_test_data): New variable.
33469         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33470         (ctan_upward_test_data): New variable.
33471         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33472         (ctanh_test_data): New variable.
33473         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33474         (ctanh_tonearest_test_data): New variable.
33475         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33476         (ctanh_towardzero_test_data): New variable.
33477         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33478         (ctanh_downward_test_data): New variable.
33479         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33480         (ctanh_upward_test_data): New variable.
33481         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33482         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33483         of BUILD_COMPLEX.
33485         * math/libm-test.inc (struct test_ff_f_data): New type.
33486         (struct test_ff_f_data_nexttoward): Likewise.
33487         (RUN_TEST_LOOP_2_f): New macro.
33488         (RUN_TEST_LOOP_ff_f): Likewise.
33489         (atan2_test_data): New variable.
33490         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33491         (copysign_test_data): New variable.
33492         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33493         (fdim_test_data): New variable.
33494         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33495         (fmax_test_data): New variable.
33496         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33497         (fmin_test_data): New variable.
33498         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33499         (fmod_test_data): New variable.
33500         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33501         (hypot_test_data): New variable.
33502         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33503         (nextafter_test_data): New variable.
33504         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33505         (nexttoward_test_data): New variable.
33506         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33507         (pow_test_data): New variable.
33508         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33509         (pow_tonearest_test_data): New variable.
33510         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33511         (pow_towardzero_test_data): New variable.
33512         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33513         (pow_downward_test_data): New variable.
33514         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33515         (pow_upward_test_data): New variable.
33516         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33517         (remainder_test_data): New variable.
33518         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33519         (scalb_test_data): New variable.
33520         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33521         * sysdeps/i386/fpu/libm-test-ulps: Update.
33523 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33525         * math/libm-test.inc (fma_test): Use max_value instead of local
33526         variable fltmax.
33527         (nextafter_test): Likewise.
33529         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33530         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33531         (acos_downward_test_data): New variable.
33532         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33533         (acos_upward_test_data): New variable.
33534         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33535         (acosh_test_data): New variable.
33536         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33537         (asin_test_data): New variable.
33538         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33539         (asin_tonearest_test_data): New variable.
33540         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33541         (asin_towardzero_test_data): New variable.
33542         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33543         (asin_downward_test_data): New variable.
33544         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33545         (asin_upward_test_data): New variable.
33546         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33547         (asinh_test_data): New variable.
33548         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33549         (atan_test_data): New variable.
33550         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33551         (atanh_test_data): New variable.
33552         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33553         (cbrt_test_data): New variable.
33554         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33555         (ceil_test_data): New variable.
33556         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33557         (cos_test_data): New variable.
33558         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33559         (cos_tonearest_test_data): New variable.
33560         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33561         (cos_towardzero_test_data): New variable.
33562         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33563         (cos_downward_test_data): New variable.
33564         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33565         (cos_upward_test_data): New variable.
33566         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33567         (cosh_test_data): New variable.
33568         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33569         (cosh_tonearest_test_data): New variable.
33570         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33571         (cosh_towardzero_test_data): New variable.
33572         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33573         (cosh_downward_test_data): New variable.
33574         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33575         (cosh_upward_test_data): New variable.
33576         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33577         (erf_test_data): New variable.
33578         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33579         (erfc_test_data): New variable.
33580         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33581         (exp_test_data): New variable.
33582         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33583         (exp_tonearest_test_data): New variable.
33584         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33585         (exp_towardzero_test_data): New variable.
33586         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33587         (exp_downward_test_data): New variable.
33588         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33589         (exp_upward_test_data): New variable.
33590         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33591         (exp10_test_data): New variable.
33592         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33593         (exp2_test_data): New variable.
33594         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33595         (expm1_test_data): New variable.
33596         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33597         (fabs_test_data): New variable.
33598         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33599         (floor_test_data): New variable.
33600         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33601         (j0_test_data): New variable.
33602         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33603         (j1_test_data): New variable.
33604         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33605         (log_test_data): New variable.
33606         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33607         (log10_test_data): New variable.
33608         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33609         (log1p_test_data): New variable.
33610         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33611         (log2_test_data): New variable.
33612         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33613         (logb_test_data): New variable.
33614         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33615         (logb_downward_test_data): New variable.
33616         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33617         (nearbyint_test_data): New variable.
33618         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33619         (rint_test_data): New variable.
33620         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33621         (rint_tonearest_test_data): New variable.
33622         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33623         (rint_towardzero_test_data): New variable.
33624         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33625         (rint_downward_test_data): New variable.
33626         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33627         (rint_upward_test_data): New variable.
33628         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33629         (round_test_data): New variable.
33630         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33631         (sin_test_data): New variable.
33632         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33633         (sin_tonearest_test_data): New variable.
33634         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33635         (sin_towardzero_test_data): New variable.
33636         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33637         (sin_downward_test_data): New variable.
33638         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33639         (sin_upward_test_data): New variable.
33640         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33641         (sinh_test_data): New variable.
33642         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33643         (sinh_tonearest_test_data): New variable.
33644         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33645         (sinh_towardzero_test_data): New variable.
33646         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33647         (sinh_downward_test_data): New variable.
33648         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33649         (sinh_upward_test_data): New variable.
33650         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33651         (sqrt_test_data): New variable.
33652         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33653         (tan_test_data): New variable.
33654         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33655         (tan_tonearest_test_data): New variable.
33656         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33657         (tan_towardzero_test_data): New variable.
33658         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33659         (tan_downward_test_data): New variable.
33660         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33661         (tan_upward_test_data): New variable.
33662         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33663         (tanh_test_data): New variable.
33664         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33665         (tgamma_test_data): New variable.
33666         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33667         (trunc_test_data): New variable.
33668         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33669         (y0_test_data): New variable.
33670         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33671         (y1_test_data): New variable.
33672         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33673         (significand_test_data): New variable.
33674         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33676 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33678         [BZ #12387]
33679         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33681 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33683         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33685 2013-05-10  Andreas Jaeger  <aj@suse.de>
33687         [BZ #15448]
33688         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33689         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33691 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33693         * math/gen-libm-test.pl (adjust_arg): New function.
33694         (special_functions): Handle generating output in both functions
33695         and arrays.
33696         (parse_args): Likewise.
33697         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33698         $in_func argument to parse_args.
33699         * math/libm-test.inc (struct test_f_f_data): New type.
33700         (IF_ROUND_INIT_): New macro.
33701         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33702         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33703         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33704         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33705         (ROUND_RESTORE_): Likewise.
33706         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33707         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33708         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33709         (ROUND_RESTORE_FE_UPWARD): Likewise.
33710         (RUN_TEST_LOOP_f_f): New macro.
33711         (acos_test_data): New variable.
33712         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33713         (acos_tonearest_test_data): New variable.
33714         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33716 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33718         * benchtests/bench-skeleton.c (startup): Fix coding style.
33720 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33722         [BZ #6809]
33723         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33724         negative infinity argument.
33725         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33726         negative infinity argument.
33727         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33728         negative infinity argument.
33729         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33730         domain errors.
33732 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33734         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33735         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33736         * iconv/iconv_prog.c (main): Likewise.
33737         * locale/programs/charmap-dir.c (charmap_readdir)
33738         (fopen_uncompressed): Likewise.
33739         * locale/programs/locfile.c (siblings_uncached)
33740         (write_locale_data): Use lstat64 instead of lstat.
33741         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33742         stat.
33744 2013-05-10  Andreas Jaeger  <aj@suse.de>
33746         [BZ #15395]
33747         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33748         localization.
33749         Include <locale.h>.
33751 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33753         * elf/dl-close.c (_dl_close_worker): Add comments.
33755 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33757         [BZ #15359]
33758         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33759         high part of pi/2.
33760         (__ieee754_rem_pio2l): Update comments.
33762         [BZ #15429]
33763         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33764         high part of pi/2.
33765         (__ieee754_rem_pio2l): Update comments.
33767         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33768         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33770         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33771         M_PI_4l.
33773         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33774         (M_PI_34_LOG10El): Likewise.
33775         (M_PI2_LOG10El): Likewise.
33776         (M_PI4_LOG10El): Likewise.
33777         (M_PI_LOG10El): Likewise.
33779 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33783 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33785         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33786         (MINUS_ZERO_INIT): Likewise.
33787         (PLUS_INFTY_INIT): Likewise.
33788         (MINUS_INFTY_INIT): Likewise.
33789         (QNAN_VALUE_INIT): Likewise.
33790         (MAX_VALUE_INIT): Likewise.
33791         (MIN_VALUE_INIT): Likewise.
33792         (MIN_SUBNORM_VALUE_INIT): Likewise.
33793         (plus_zero): Initialize with PLUS_ZERO_INIT.
33794         (minus_zero): Initialize with MINUS_ZERO_INIT.
33795         (plus_infty): Initialize with PLUS_INFTY_INIT.
33796         (minus_infty): Initialize with MINUS_INFTY_INIT.
33797         (qnan_value): Initialize with QNAN_VALUE_INIT.
33798         (max_value): Initialize with MAX_VALUE_INIT.
33799         (min_value): Initialize with MIN_VALUE_INIT.
33800         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33802         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33803         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33804         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33805         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33807         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33808         (RUN_TEST_2_f): Likewise.
33809         (RUN_TEST_ff_f): Likewise.
33810         (RUN_TEST_fi_f): Likewise.
33811         (RUN_TEST_fl_f): Likewise.
33812         (RUN_TEST_fff_f): Likewise.
33813         (RUN_TEST_c_f): Likewise.
33814         (RUN_TEST_f_f1): Likewise.
33815         (RUN_TEST_fF_f1): Likewise.
33816         (RUN_TEST_fI_f1): Likewise.
33817         (RUN_TEST_ffI_f1): Likewise.
33818         (RUN_TEST_c_c): Likewise.
33819         (RUN_TEST_cc_c): Likewise.
33820         (RUN_TEST_f_i): Likewise.
33821         (RUN_TEST_f_i_tg): Likewise.
33822         (RUN_TEST_ff_i_tg): Likewise.
33823         (RUN_TEST_f_b): Likewise.
33824         (RUN_TEST_f_b_tg): Likewise.
33825         (RUN_TEST_f_l): Likewise.
33826         (RUN_TEST_f_L): Likewise.
33827         (RUN_TEST_sincos): Likewise.
33828         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33829         whether to show exceptions.  Do not include ");\n" in return
33830         value.
33831         (special_functions): Output call to RUN_TEST_sincos instead of
33832         check_float calls.  Update calls to new_test.
33833         (parse_args): Output call to single RUN_TEST_* macro instead of
33834         check_* calls and other assignments.  Update calls to new_test.
33836         [BZ #2546]
33837         [BZ #2560]
33838         [BZ #5159]
33839         [BZ #15426]
33840         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33841         input to result for tgamma overflow.
33842         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33843         (gamma_coeff): New variable.
33844         (NCOEFF): New macro.
33845         (gamma_positive): New function.
33846         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33847         underflow here.  Use gamma_positive instead of exp (lgamma) for
33848         other arguments.
33849         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33850         (gamma_coeff): New variable.
33851         (NCOEFF): New macro.
33852         (gammaf_positive): New function.
33853         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33854         underflow here.  Use gamma_positive instead of exp (lgamma) for
33855         other arguments.
33856         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33857         (gamma_coeff): New variable.
33858         (NCOEFF): New macro.
33859         (gammal_positive): New function.
33860         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33861         underflow here.  Use gamma_positive instead of exp (lgamma) for
33862         other arguments.
33863         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33864         (gamma_coeff): New variable.
33865         (NCOEFF): New macro.
33866         (gammal_positive): New function.
33867         (__ieee754_gammal_r): Handle positive infinity, overflow and
33868         underflow here.  Handle NaN the same as positive infinity.  Remove
33869         check x < 0xffffffff for negative integers.  Use gamma_positive
33870         instead of exp (lgamma) for other arguments.
33871         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33872         (gamma_coeff): New variable.
33873         (NCOEFF): New macro.
33874         (gammal_positive): New function.
33875         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33876         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33877         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33879         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33880         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33881         * sysdeps/generic/math_private.h (__gamma_productf): New
33882         prototype.
33883         (__gamma_product): Likewise.
33884         (__gamma_productl): Likewise.
33885         * math/Makefile (libm-calls): Add gamma_product.
33886         * math/libm-test.inc (tgamma_test): Add more tests.
33887         * sysdeps/i386/fpu/libm-test-ulps: Update.
33888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33890 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33892         * benchtests/bench-skeleton.c (main): Preheat CPU.
33894 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33896         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33898 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33900         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33901         and _dl_skip_args_internal.
33903 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33905         * manual/message.texi (Message Translation): Talk about users.
33906         Message to key mapping impacts design.
33908 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33910         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33912         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33914         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33915         * sysdeps/wordsize-64/glob64.c: ... here.
33917         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33918         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33919         New macros.
33921         * debug/getlogin_r_chk.c: Moved to ...
33922         * login/getlogin_r_chk.c: ... here.
33923         * debug/Makefile (routines): Move getlogin_r_chk to ...
33924         * login/Makefile (routines): ... here.
33925         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33926         * login/Versions (libc: GLIBC_2.4): ... here.
33928         * io/poll.c (__poll): Renamed from poll.
33929         Add libc_hidden_def.
33930         (poll): Define as weak alias.
33932         * debug/ptsname_r_chk.c: Moved to ...
33933         * login/ptsname_r_chk.c: ... here.
33934         * debug/Makefile (routines): Move ptsname_r_chk to ...
33935         * login/Makefile (routines): ... here.
33936         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33937         * login/Versions (libc: GLIBC_2.4): ... here.
33939         * posix/getlogin.c: Moved to ...
33940         * login/getlogin.c: ... here.
33941         * posix/getlogin_r.c: Moved to ...
33942         * login/getlogin_r.c: ... here.
33943         * posix/getlogin_r.c: Moved to ...
33944         * login/getlogin_r.c: ... here.
33945         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33946         * login/Makefile (routines): ... here.
33947         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33948         * login/Versions (libc: GLIBC_2.0): ... here.
33950         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33951         (setrlimit): Define as weak alias.
33953         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33954         Call __ names for open, ftruncate, and close.
33955         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33956         (truncate): Define as weak alias.
33958 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33960         * math/gen-libm-test.pl (parse_args): Initialize x before each
33961         test of frexp, modf and remquo.
33963         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33964         test signgam value.
33966 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33968         [BZ #15418]
33969         [BZ #15419]
33970         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33971         internal tests.
33972         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33974 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33976         * elf/dl-writev.h: New file.
33977         * elf/dl-misc.c: Include it.
33978         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33979         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33981 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33983         * math/libm-test.inc (noXFails): Remove variable.
33984         (noXPasses): Likewise.
33985         (BUILD_COMPLEX_INT): Remove macro.
33986         (print_screen): Remove xfail argument.
33987         (print_screen_max_error): Likewise.
33988         (update_stats): Likewise.
33989         (print_max_error): Likewise.  Update calls to other affected
33990         functions.
33991         (print_complex_max_error): Likewise.
33992         (test_single_exception): Update calls to print_screen.
33993         (test_single_errno): Likewise.
33994         (check_float_internal): Remove xfail argument.  Update calls to
33995         other affected functions.
33996         (check_float): Likewise.
33997         (check_complex): Likewise.
33998         (check_int): Likewise.
33999         (check_long): Likewise.
34000         (check_bool): Likewise.
34001         (check_longlong): Likewise.
34002         (main): Don't print noXFails and noXPasses.
34003         * math/gen-libm-test.pl (top level): Don't mention expected
34004         failure handling in comment.
34005         (new_test): Don't handle expected failures.
34006         (parse_args): Don't mention expected failure handling in comment.
34007         (generate_testfile): Don't handle expected failures.
34008         (parse_ulps): Likewise.
34009         (print_ulps_file): Likewise.
34010         (get_failure): Remove function.
34011         (output_test): Don't handle expected failures.
34012         * make/README.libm-test: Don't mention expected failure handling.
34014         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34015         (minus_zero): Likewise.
34016         (plus_infty): Likewise.
34017         (minus_infty): Likewise.
34018         (qnan_value): Likewise.
34019         (max_value): Likewise.
34020         (min_value): Likewise.
34021         (min_subnorm_value): Likewise.
34022         (initialize): Do not initialize those variables dynamically.
34024 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34026         * io/open.c (__open_2): Moved to ...
34027         * io/open_2.c: ... this new file.
34028         * io/open64.c (__open64_2): Moved to ...
34029         * io/open64_2.c: ... this new file.
34030         * io/openat.c (__openat_2): Moved to ...
34031         * io/openat_2.c: ... this new file.
34032         * io/openat64.c (__openat64_2): Moved to ...
34033         * io/openat64_2.c: ... this new file.
34034         * io/Makefile (routines): Add them.
34035         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34036         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34037         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34038         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34039         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34040         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34041         (__openat64): Add hidden_ver.
34042         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34043         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34045         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34046         Separately conditionalize setting of GLRO(dl_sysinfo) so
34047         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34048         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34050 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34052         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34053         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34054         definition.
34055         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34056         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34057         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34058         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34059         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34061 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34063         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34064         test signgam value.
34066         * math/libm-test.inc (hypot_test): Do not use
34067         IGNORE_ZERO_INF_SIGN.
34069 2013-05-03  Andreas Jaeger  <aj@suse.de>
34071         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34072         Linux 3.9.
34073         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34074         (PF_MAX): Adjust for VSOCK change.
34076 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34080 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34082         [BZ #15264]
34083         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34084         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34085         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34087 2013-05-02  David S. Miller  <davem@davemloft.net>
34089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34091 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34093         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34095 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34097         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34099 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34101         [BZ #14952]
34102         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34103         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34104         Use __attribute__ ((__gnu_inline__)).
34105         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34106         Don't use __attribute__ ((__gnu_inline__)).
34108 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34110         [BZ #15423]
34111         * math/s_catan.c (__catan): Handle small real or imaginary part of
34112         input specially to avoid spurious underflow.
34113         * math/s_catanf.c (__catanf): Likewise.
34114         * math/s_catanh.c (__catanh): Likewise.
34115         * math/s_catanhf.c (__catanhf): Likewise.
34116         * math/s_catanhl.c (__catanhl): Likewise.
34117         * math/s_catanl.c (__catanl): Likewise.
34118         * math/libm-test.inc (catan_test): Add more tests.
34119         (catanh_test): Likewise.
34120         * sysdeps/i386/fpu/libm-test-ulps: Update.
34121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34123 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34127 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34129         [BZ #15416]
34130         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34131         accurately for denominator in atan2.
34132         * math/s_catanf.c (__catanf): Likewise.
34133         * math/s_catanh.c (__catanh): Likewise.
34134         * math/s_catanhf.c (__catanhf): Likewise.
34135         * math/s_catanhl.c (__catanhl): Likewise.
34136         * math/s_catanl.c (__catanl): Likewise.
34137         * math/libm-test.inc (catan_test): Add more tests.
34138         (catanh_test): Likewise.
34139         * sysdeps/i386/fpu/libm-test-ulps: Update.
34140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34142 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34144         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34146         * benchtests/Makefile (bench): Remove slow benchmarks.
34147         * benchtests/atan-inputs: Add slow benchmark inputs.
34148         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34149         (BENCH_FUNC): Accept variant offset.
34150         (VARIANT): Define.
34151         * benchtests/bench-skeleton.c (main): Run benchmark for each
34152         variant.
34153         * benchtests/cos-inputs: Add slow benchmark inputs.
34154         * benchtests/exp-inputs: Likewise.
34155         * benchtests/pow-inputs: Likewise.
34156         * benchtests/sin-inputs: Likewise.
34157         * benchtests/slowatan-inputs: Remove.
34158         * benchtests/slowatan.c: Remove.
34159         * benchtests/slowcos-inputs: Remove.
34160         * benchtests/slowcos.c: Remove.
34161         * benchtests/slowexp-inputs: Remove.
34162         * benchtests/slowexp.c: Remove.
34163         * benchtests/slowpow-inputs: Remove.
34164         * benchtests/slowpow.c: Remove.
34165         * benchtests/slowsin-inputs: Remove.
34166         * benchtests/slowsin.c: Remove.
34167         * benchtests/slowtan-inputs: Remove.
34168         * benchtests/slowtan.c: Remove.
34169         * benchtests/tan-inputs: Add slow benchmark inputs.
34170         * scripts/bench.pl: Parse comments and directives.
34172         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34173         in CPPFLAGS.
34174         ($(objpfx)bench-%.c): Remove *-ITER.
34175         * benchtests/bench-modf.c: Remove definition of ITER.
34176         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34177         (main): Loop for DURATION seconds instead of fixed number of
34178         iterations.
34179         * scripts/bench.pl: Don't expect iterations in parameters.
34181 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34183         * io/fchdir.c (__fchdir): Renamed from fchdir.
34184         (fchdir): Define as weak alias.
34186 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34188         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34189         (ERRNO_EDOM): Likewise.
34190         (ERRNO_ERANGE): Likewise.
34191         (noErrnoTests): New variable.
34192         (init_max_error): Set errno to 0.
34193         (test_single_errno): New function.
34194         (test_errno): Likewise.
34195         (check_float_internal): Call test_errno.  Set errno to 0.
34196         (check_complex): Refer to errno tests in comment.
34197         (check_int): Call test_errno.  Set errno to 0.
34198         (check_long): Likewise.
34199         (check_bool): Likewise.
34200         (check_longlong): Likewise.
34201         (cos_test): Use ERRNO_* flags for errno tests instead of
34202         check_int.
34203         (expm1_test): Likewise.
34204         (fmod_test): Likewise.
34205         (ilogb_test): Likewise.
34206         (lgamma_test): Likewise.
34207         (pow_test): Likewise.
34208         (remainder_test): Likewise.
34209         (sin_test): Likewise.
34210         (tan_test): Likewise.
34211         (yn_test): Likewise.
34212         (initialize): Set errno to 0.
34213         (main): Print number of errno tests.
34214         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34216 2013-04-29  Andreas Jaeger  <aj@suse.de>
34218         [BZ #15084]
34219         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34220         and RES_USEVC.
34222         [BZ #15085]
34223         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34224         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34225         unimplemented.
34227         [BZ #15380]
34228         * stdlib/random.c (__initstate): Return NULL if
34229         __initstate fails.
34231         [BZ #15086]
34232         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34233         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34234         RES_SNGLKUPREOP.
34236 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34240 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34242         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34243         of individual tests.
34244         (casin_test): Likewise.
34245         (casinh_test): Likewise.
34247 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34249         [BZ #15409]
34250         * math/s_catan.c (__catan): Handle arguments with large real or
34251         imaginary part separately without squaring.
34252         * math/s_catanf.c (__catanf): Likewise.
34253         * math/s_catanh.c (__catanh): Likewise.
34254         * math/s_catanhf.c (__catanhf): Likewise.
34255         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34256         and redefine.
34257         (__catanhl): Handle arguments with large real or imaginary part
34258         separately without squaring.
34259         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34260         and redefine.
34261         (__catanl): Handle arguments with large real or imaginary part
34262         separately without squaring.
34263         * math/libm-test.inc (catan_test): Add more tests.
34264         (catanh_test): Likewise.
34265         * sysdeps/i386/fpu/libm-test-ulps: Update.
34266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34268 2013-04-27  Andreas Jaeger  <aj@suse.de>
34270         [BZ #15007]
34271         * stdlib/stdlib.h: Update guards for qecvt.
34272         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34273         <stdlib.h>.
34275 2013-04-27  Allan McRae  <allan@archlinux.org>
34277         * sysdeps/i386/fpu/libm-test-ulps: Update.
34279 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34281         [BZ #15406]
34282         * math/s_catan.c: Include <float.h>.
34283         (__catan): Ensure underflow exception occurs for underflowed
34284         result.
34285         * math/s_catanf.c: Include <float.h>.
34286         (__catanf): Ensure underflow exception occurs for underflowed
34287         result.
34288         * math/s_catanh.c: Include <float.h>.
34289         (__catanh): Ensure underflow exception occurs for underflowed
34290         result.
34291         * math/s_catanhf.c: Include <float.h>.
34292         (__catanhf): Ensure underflow exception occurs for underflowed
34293         result.
34294         * math/s_catanhl.c: Include <float.h>.
34295         (__catanhl): Ensure underflow exception occurs for underflowed
34296         result.
34297         * math/s_catanl.c: Include <float.h>.
34298         (__catanl): Ensure underflow exception occurs for underflowed
34299         result.
34300         * math/libm-test.inc (catan_test): Add more tests.
34301         (catanh_test): Likewise.
34303         [BZ #15405]
34304         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34305         underflowed result.
34306         * math/s_ccoshf.c (__ccoshf): Likewise.
34307         * math/s_ccoshl.c (__ccoshl): Likewise.
34308         * math/s_csin.c (__csin): Likewise.
34309         * math/s_csinf.c (__csinf): Likewise.
34310         * math/s_csinh.c (__csinh): Likewise.
34311         * math/s_csinhf.c (__csinhf): Likewise.
34312         * math/s_csinhl.c (__csinhl): Likewise.
34313         * math/s_csinl.c (__csinl): Likewise.
34314         * math/libm-test.inc (ccos_test): Add more tests.
34315         (ccosh_test): Likewise.
34316         (csin_test): Likewise.
34317         (csinh_test): Likewise.
34319 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34321         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34322         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34323         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34324         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34325         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34326         powerpc/power5+/fpu folders.
34327         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34330 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34334 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34336         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34337         additions to variable.
34338         [$(config-machine) = x86_64] (modules-names): Likewise.
34339         ($(objpfx)tst-audit3): Remove dependency.
34340         ($(objpfx)tst-audit3.out): Likewise.
34341         ($(objpfx)tst-audit4): Likewise.
34342         ($(objpfx)tst-audit4.out): Likewise.
34343         ($(objpfx)tst-audit5): Likewise.
34344         ($(objpfx)tst-audit5.out): Likewise.
34345         ($(objpfx)tst-audit6): Likewise.
34346         ($(objpfx)tst-audit6.out): Likewise.
34347         ($(objpfx)tst-audit7): Likewise.
34348         ($(objpfx)tst-audit7.out): Likewise.
34349         (tst-audit3-ENV): Remove variable.
34350         (tst-audit4-ENV): Likewise.
34351         (tst-audit5-ENV): Likewise.
34352         (tst-audit6-ENV): Likewise.
34353         (tst-audit7-ENV): Likewise.
34354         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34355         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34356         addition to variable.
34357         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34358         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34359         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34360         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34361         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34362         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34363         tst-audit3, tst-audit4 and tst-audit5.
34364         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34365         tst-audit6 and tst-audit7.
34366         [$(subdir) = elf] (modules-names): Add audit modules for those
34367         tests.
34368         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34369         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34370         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34371         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34372         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34373         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34374         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34375         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34376         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34377         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34378         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34379         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34380         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34381         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34382         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34383         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34384         Likewise.
34385         [$(subdir) = elf && $(config-cflags-avx) = yes]
34386         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34387         [$(subdir) = elf && $(config-cflags-avx) = yes]
34388         (CFLAGS-tst-auditmod4a.c): Likewise.
34389         [$(subdir) = elf && $(config-cflags-avx) = yes]
34390         (CFLAGS-tst-auditmod4b.c): Likewise.
34391         [$(subdir) = elf && $(config-cflags-avx) = yes]
34392         (CFLAGS-tst-auditmod6b.c): Likewise.
34393         [$(subdir) = elf && $(config-cflags-avx) = yes]
34394         (CFLAGS-tst-auditmod6c.c): Likewise.
34395         [$(subdir) = elf && $(config-cflags-avx) = yes]
34396         (CFLAGS-tst-auditmod7b.c): Likewise.
34397         * elf/tst-audit3.c: Move to ...
34398         * sysdeps/x86_64/tst-audit3.c: ... here.
34399         * elf/tst-audit4.c: Move to ...
34400         * sysdeps/x86_64/tst-audit4.c: ... here.
34401         * elf/tst-audit5.c: Move to ...
34402         * sysdeps/x86_64/tst-audit5.c: ... here.
34403         * elf/tst-audit6.c: Move to ...
34404         * sysdeps/x86_64/tst-audit6.c: ... here.
34405         * elf/tst-audit7.c: Move to ...
34406         * sysdeps/x86_64/tst-audit7.c: ... here.
34407         * elf/tst-auditmod3a.c: Move to ...
34408         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34409         * elf/tst-auditmod3b.c: Move to ...
34410         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34411         * elf/tst-auditmod4a.c: Move to ...
34412         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34413         * elf/tst-auditmod4b.c: Move to ...
34414         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34415         * elf/tst-auditmod5a.c: Move to ...
34416         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34417         * elf/tst-auditmod5b.c: Move to ...
34418         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34419         * elf/tst-auditmod6a.c: Move to ...
34420         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34421         * elf/tst-auditmod6b.c: Move to ...
34422         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34423         * elf/tst-auditmod6c.c: Move to ...
34424         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34425         * elf/tst-auditmod7a.c: Move to ...
34426         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34427         * elf/tst-auditmod7b.c: Move to ...
34428         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34430 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34432         [BZ #15366]
34433         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34434         define unconditionally.
34435         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34436         define unconditionally.
34437         (INT8_C, INT16_C, etc.): Likewise.
34439 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34441         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34442         __ehdr_start with hidden visibility.
34444         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34446 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34448         * math/libm-test.inc (cos_test): Use accurate hex constants.
34449         (sincost_test): Likewise.
34451 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34453         * math/libm-test.inc (catan_test): Add more tests.
34454         (catanh_test): Likewise.
34456         * math/s_catanf.c (__catanf): Use suffixed floating-point
34457         constants.
34458         * math/s_catanhf.c (__catanhf): Likewise.
34459         * math/s_catanhl.c (__catanhl): Likewise.
34460         * math/s_catanl.c (__catanl): Likewise.
34462         [BZ #15394]
34463         * math/s_catan.c (__catan): Calculate imaginary part of result
34464         with log1p not log unless computing log of number close to 0.
34465         * math/s_catanf.c (__catanf): Likewise.
34466         * math/s_catanl.c (__catanl): Likewise.
34467         * math/s_catanh.c (__catanh): Calculate real part of result with
34468         log1p not log unless computing log of number close to 0.
34469         * math/s_catanhf.c (__catanhf): Likewise.
34470         * math/s_catanhl.c (__catanhl): Likewise.
34471         * math/libm-test.inc (catan_test): Add more tests.
34472         (catanh_test): Likewise.
34473         * sysdeps/i386/fpu/libm-test-ulps: Update.
34474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34476 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34478         * benchtests/Makefile: Mention files in which fast and slow
34479         paths of math functions are implemented.
34481 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34483         * sysdeps/posix/timespec_get.c: New file.
34485 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34487         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34488         POWER.
34489         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34490         for POWER.
34491         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34492         powerpc/power5/fpu folders.
34493         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34494         * benchtests/Makefile: Add modf testcase.
34495         * benchtests/bench-modf.c: New file: Benchmark test for mo
34497 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34499         [BZ #14888]
34500         * time/Makefile (tests): Add tst-strptime-whitespace.
34501         * time/strptime_l.c (get_number): Use ISSPACE.
34502         (__strptime_internal): Likewise.
34503         * time/tst-strptime-whitespace.c: New test case.
34505 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34507         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34508         member.
34509         (_nss_files_init): Set it here.
34511 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34513         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34514         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34515         unsigned.
34517 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34519         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34521 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34523         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34524         size just once.
34526 2013-04-21  David S. Miller  <davem@davemloft.net>
34528         * po/ru.po: Update Russion translation from translation project.
34530 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34532         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34533         and setfsgid.
34535 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34537         * configure.in: Remove i386 configure warning. Remove i386 case.
34538         * configure: Regenerate.
34539         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34540         Add example to error message.
34541         * sysdeps/i386/configure: Regenerate.
34543 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34545         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34546         slowtan.
34547         * benchtests/cos-inputs: New file.
34548         * benchtests/slowcos-inputs: New file.
34549         * benchtests/slowcos.c: New file.
34550         * benchtests/slowtan-inputs: New file.
34551         * benchtests/slowtan.c: New file.
34552         * benchtests/tan-inputs: New file.
34554 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34556         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34557         considered kosher.
34559 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34561         * benchtests/Makefile: Include cppflags-iterator.mk to add
34562         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34564         * Makefile.in (bench-clean): New target.
34565         * benchtests/Makefile (bench-clean): Likewise.
34567 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34569         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34571 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34573         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34575 2013-04-15  Andreas Schwab  <schwab@suse.de>
34577         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34578         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34579         * nscd/pwdcache.c (cache_addpw): Likewise.
34580         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34581         more than recsize.
34583 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34585         * benchtests/Makefile (bench): Write all output to
34586         bench-out.tmp together.
34588 2013-04-15  Andreas Schwab  <schwab@suse.de>
34590         * nscd/nscd.c (main): Don't fork again after closing files.
34592 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34594         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34596         * benchtests/Rules (bench-deps): Collect dependencies into a
34597         single variable.  Add Makefile to dependencies.
34598         ($(objpfx)bench-%.c): Depend on bench-deps.
34600 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34601             Xavier Roche  <roche+kml2@exalead.com>
34603         [BZ #15361]
34604         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34605         just that it's a file descriptor.
34606         * manual/llio.texi (Synchronizing AIO Operations): Update description
34607         for EBADF error from aio_fsync.
34609 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34611         * Rules (bench): Move target definition...
34612         * benchtests/Makefile: ... here.
34614 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34616         * math/libm-test.inc (cos_test): Fix PI/2 test.
34617         (sincos_test): Likewise.
34618         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34619         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34621 2013-04-11  Andreas Schwab  <schwab@suse.de>
34623         [BZ #13988]
34624         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34625         accept exponent character only when digits were seen.
34626         * stdio-common/Makefile (tests): Add bug26.
34627         * stdio-common/bug26.c: New file.
34629         [BZ #14293]
34630         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34631         non-freeable.
34633 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34635         * Makeconfig (rtld-prefix): Define built linker prefix.
34636         * Rules (run-bench): Use it.
34637         * math/Makefile (run-regen-ulps): Likewise.
34639         * Rules (bench): Remove eval.
34641 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34642             Roland McGrath  <roland@hack.frob.com>
34643             Ondrej Bilka  <neleai@seznam.cz>
34645         [BZ #15346]
34646         * time/getdate.c: Include ctype.h and alloca.h.
34647         (__getdate_r): Trim leading and trailing spaces of input.
34648         * time/tst-getdate.c (tests): Add tests with leading and
34649         trailing spaces.
34651 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34653         [BZ #14280]
34654         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34655         when computing value.
34657 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34659         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34660         Use testrun.sh to run libm tests.
34662         [BZ #15309]
34663         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34665 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34667         [BZ #15264]
34668         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34670 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34672         * Makefile.in (regen-ulps): New target.
34673         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34674         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34675         [ifneq (no,$(PERL)] (regen-ulps): New target.
34676         [ifeq (no,$(PERL)] (regen-ulps): New target.
34677         * math/libm-test.inc (ulps_file_name): Define.
34678         (output_dir): New variable.
34679         (options): Add "output-dir" option.
34680         (parse_opt): Handle 'o' case.
34681         (main): If output_dir is non-NULL use it as a prefix
34682         otherwise use "".
34683         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34685 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34687         [BZ #10060, #10062]
34688         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34689         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34690         fail configure if __sync_val_compare_and_swap is not inlined.
34691         * sysdeps/i386/configure: Regenerate.
34692         * configure.in: Build for i686 when configured for i386.
34693         * configure: Regenerate.
34694         * README: Remove i386 reference.
34696 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34698         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34699         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34701 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34703         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34704         (lmsnanval): New variables.
34705         (F): Add conversion tests.
34706         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34707         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34709         * stdio-common/tstdiomisc.c (F): Properly collect individual
34710         tests' results.
34712         [BZ #14686, #15336]
34713         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34714         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34715         Instead, use input NaN values or generate a qNaN by arithmetic
34716         operation.  Also fix bugs to comply with the standard.
34717         * math/libm-test.inc (remainder_test): Add more tests.
34719         [BZ #15335, #15342]
34720         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34722         input NaN values or generate a qNaN by arithmetic operation.
34724         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34725         unreachable code.
34727         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34728         definitions.
34730 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34732         [BZ #14478]
34733         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34734         underflowed result.
34735         * math/s_cexpf.c (__cexpf): Likewise.
34736         * math/s_cexpl.c (__cexpl): Likewise.
34737         * math/libm-test.inc (cexp_test): Add more tests.
34739 2013-04-03  Andreas Schwab  <schwab@suse.de>
34741         [BZ #15330]
34742         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34743         order arrays from heap if bigger than alloca cutoff.
34745 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34747         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34748         (SNAN_TESTS_double): Refer to GCC PR56831.
34749         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34750         GCC PR56828.
34752 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34754         * Rules (bench): Move bench.out after the run is complete.
34756         * Rules (bench): Echo currently running benchmark.
34758         * benchtests/Makefile (bench): Add atan and slowatan.
34759         * benchtests/atan-inputs: New file.
34760         * benchtests/slowatan-inputs: New file.
34761         * benchtests/slowatan.c: New file.
34763         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34764         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34765         its value.
34767         [BZ #15305]
34768         * sysdeps/unix/sysv/linux/kernel-features.h
34769         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34770         __ASSUME_XFS_RESTRICTED_CHOWN.
34771         * sysdeps/unix/sysv/linux/pathconf.c
34772         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34773         Save and restore errno.
34775 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34777         [BZ #15327]
34778         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34779         arguments using __kernel_casinh.
34780         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34781         arguments using __kernel_casinhf.
34782         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34783         arguments using __kernel_casinhl.
34784         * math/libm-test.inc (cacosh_test): Add more tests.
34785         * sysdeps/i386/fpu/libm-test-ulps: Update.
34786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34788 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34790         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34793         * bench/Makefile (bench): Add sin and slowsin.
34794         * benchtests/sin-inputs: New file.
34795         * benchtests/slowsin-inputs: New file.
34796         * benchtests/slowsin.c: New file.
34798         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34799         (bench): Add slowexp and slowpow.
34800         (exp-ITER): Increase iterations.
34801         (pow-ITER): Likewise.
34802         * benchtests/exp-inputs: Change input.
34803         * benchtests/pow-inputs: Likewise.
34804         * benchtests/slowexp-inputs: New file.
34805         * benchtests/slowexp.c: New file.
34806         * benchtests/slowpow-inputs: New file.
34807         * benchtests/slowpow.c: New file.
34809 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34811         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34812         instructions.
34813         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34814         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34815         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34816         * benchtests/Makefile: Add rint benchtest.
34817         * benchtests/rint-inputs: Input for rint benchtest.
34819 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34821         * Versions.def (libm): Add GLIBC_2.18.
34822         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34823         hidden libm prototypes.
34824         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34825         * math/Makefile (libm-calls): Add s_issignaling.
34826         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34827         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34828         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34829         declaration.
34830         * math/math.h [__USE_GNU] (issignaling): New macro.
34831         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34832         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34833         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34834         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34835         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34836         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34837         * manual/arith.texi (issignaling): New section.
34838         * manual/libm-err-tab.pl (@all_functions): Update comment.
34839         * math/gen-libm-test.pl (parse_args): Apply special handling for
34840         issignaling.
34841         * math/libm-test.inc (print_float, issignaling_test): New
34842         functions.
34843         (check_float_internal): Add issignaling checks.
34844         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34845         default definition.
34846         * sysdeps/powerpc/math-tests.h: New file.
34847         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34848         tests.
34849         * math/test-snan.c (TEST_FUNC): Likewise.
34851 2013-03-30  David S. Miller  <davem@davemloft.net>
34853         * po/de.po: Update from translation team.
34855 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34857         [BZ #10357]
34858         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34859         imaginary part less than 1.0 and real part less than 0.5
34860         specially.
34861         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34862         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34863         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34864         (cacos_test): Add more tests.
34865         (casin_test): Likewise.
34866         (casinh_test): Likewise.
34867         * sysdeps/i386/fpu/libm-test-ulps: Update.
34868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34870 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34872         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34873         ONE with its value.
34875         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34876         (__pow_mp): Replace ONE and MONE with their values.
34877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34878         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34879         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34880         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34881         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34882         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34884         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34886         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34887         (__pow_mp): Replace ZERO and MZERO with their values.
34888         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34889         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34890         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34892         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34893         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34894         (__sqr): Likewise.
34896         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34898         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34900 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34902         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34903         Declare with __attribute__ ((weak)).
34904         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34905         Call __call_tls_dtors only if it's not NULL.
34907 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34909         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34910         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34911         magic __ehdr_start linker symbol if it's defined.
34912         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34913         them up here if it was already done.
34915         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34916         (_dl_aux_init): Use const in cast when setting it.
34917         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34918         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34919         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34921         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34922         Declare them here.
34923         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34924         * csu/libc-tls.c: Nor here.
34925         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34927         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34928         (__libc_message): Never call vsyslog.
34930 2013-03-28  Alan Modra  <amodra@gmail.com>
34932         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34933         Define as empty.
34934         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34935         Likewise.
34937 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34939         [BZ #15214]
34940         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34941         underflow.
34942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34944 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34946         [BZ #15304]
34947         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34948         Don't add gid passed as argument.
34950         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34952 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34954         [BZ #15307]
34955         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34956         imaginary part between 1.0 and 1.5 and real part less than 0.5
34957         specially.
34958         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34959         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34960         * math/libm-test.inc (cacos_test): Add more tests.
34961         (casin_test): Likewise.
34962         (casinh_test): Likewise.
34963         * sysdeps/i386/fpu/libm-test-ulps: Update.
34964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34968         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34969         constants.
34970         (norm): Likewise.
34971         (denorm): Likewise.
34972         (__dbl_mp): Likewise.
34973         (add_magnitudes): Likewise.
34974         (sub_magnitudes): Likewise.
34975         (__add): Likewise.
34976         (__sub): Likewise.
34977         (__mul): Likewise.
34978         (__sqr): Likewise.
34979         (__inv): Likewise.
34980         (__dvd): Likewise.
34982         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34983         commented code.
34984         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34985         (__dubcos): Likewise.
34986         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34987         (__ieee754_acos): Likewise.
34988         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34989         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34990         (__exp1): Likewise.
34991         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34992         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34993         (log1): Likewise.
34994         (my_log2): Likewise.
34995         (checkint): Likewise.
34996         * sysdeps/ieee754/dbl-64/e_remainder.c
34997         (__ieee754_remainder): Likewise.
34998         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34999         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35000         (bsloww): Likewise.
35001         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35003         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35004         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35005         MANTISSA_STORE_T to store computations on mantissa.  Use
35006         macros for rounding and division.
35007         (denorm): Likewise.
35008         (__dbl_mp): Likewise.
35009         (add_magnitudes): Likewise.
35010         (sub_magnitudes): Likewise.
35011         (__mul): Likewise.
35012         (__sqr): Likewise.
35013         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35014         powers of two in terms of TWOPOW macro.
35015         (mp_no): Make type of mantissa as MANTISSA_T.
35016         [!RADIXI]: Define RADIXI.
35017         [!TWO52]: Define TWO52.
35018         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35020 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35022         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35023         llroundl symbol when building for PPC32.
35025 2013-03-24  Mark H Weaver  <mhw@netris.org>
35027         * manual/arith.texi (Normalization Functions): Fix prototypes for
35028         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35030 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35032         [BZ #13889]
35033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35034         high value to check if expl overflow.
35035         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35036         to check for underflow and overflow.
35037         * math/libm-test.inc: Add exp test.
35039 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35041         [BZ #11120]
35042         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35043         with NOT_IN_libc.
35045 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35047         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35048         symbol.
35050 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35052         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35053         wrap blocks consisting of several statements.
35055         * sysdeps/generic/math-tests.h: New file.
35056         * sysdeps/i386/fpu/math-tests.h: Likewise.
35057         * math/test-snan.c: Include it.
35058         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35060 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35062         [BZ #15285]
35063         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35064         (__ieee754_j0l): Do not improve calculations using cos of twice
35065         input for inputs above LDBL_MAX / 2.0L.
35066         (__ieee754_y0l): Likewise.
35067         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35068         (__ieee754_j1l): Do not improve calculations using cos of twice
35069         input for inputs above LDBL_MAX / 2.0L.
35070         (__ieee754_y1l): Likewise.
35071         * math/libm-test.inc (j0_test): Add another test.
35072         (j1_test): Likewise.
35073         (y0_test): Likewise.
35074         (y1_test): Likewise.
35075         * sysdeps/i386/fpu/libm-test-ulps: Update.
35077 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35079         * Rules ($(objpfx)bench-%.c): Include code from a C source
35080         file.
35082 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35084         [BZ #15287]
35085         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35086         imaginary part 1.0 and real part less than 0.5 specially.
35087         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35088         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35089         * math/libm-test.inc (cacos_test): Add more tests.
35090         (casin_test): Likewise.
35091         (casinh_test): Likewise.
35092         * sysdeps/i386/fpu/libm-test-ulps: Update.
35093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35095 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35098         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35100 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35102         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35103         * config.make.in (config-cflags-sse4): Remove variable.
35104         (config-cflags-avx): Likewise.
35105         (config-cflags-sse2avx): Likewise.
35106         (config-cflags-novzeroupper): Likewise.
35107         (config-asflags-i686): Likewise.
35108         (have-mfma4): Likewise.
35109         (have-as-vis3): Likewise.
35110         (MIG): Likewise.
35111         * configure.in (MIG): Do not AC_SUBST.
35112         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35113         (libc_cv_cc_sse4): Do not AC_SUBST.
35114         (libc_cv_cc_avx): Likewise.
35115         (libc_cv_cc_sse2avx): Likewise.
35116         (libc_cv_cc_novzeroupper): Likewise.
35117         (libc_cv_cc_fma4): Likewise.
35118         (libc_cv_as_i686): Likewise.
35119         (libc_cv_sparc_as_vis3): Likewise.
35120         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35121         LIBC_CONFIG_VAR.
35122         (config-asflags-i686): Likewise.
35123         (config-cflags-avx): Likewise.
35124         (config-cflags-sse2avx): Likewise.
35125         (have-mfma4): Likewise.
35126         (config-cflags-novzeroupper): Likewise.
35127         * sysdeps/mach/configure.in (MIG): Likewise.
35128         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35129         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35130         LIBC_CONFIG_VAR.
35131         (config-cflags-avx): Likewise.
35132         (config-cflags-sse2avx): Likewise.
35133         (have-mfma4): Likewise.
35134         (config-cflags-novzeroupper): Likewise.
35135         * configure: Regenerated.
35136         * sysdeps/i386/configure: Likewise.
35137         * sysdeps/mach/configure: Likewise.
35138         * sysdeps/sparc/configure: Likewise.
35139         * sysdeps/x86_64/configure: Likewise.
35141 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35143         [BZ #14812]
35144         * locale/programs/localedef.c (options): Put N_ translation marker
35145         on argument names, not just descriptions.
35147 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35149         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35151 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35153         [BZ #14176]
35154         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35156 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35158         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35159         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35160         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35161         [!BEFORE_ABORT] (before_abort): New function.
35162         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35163         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35164         (writev_for_fatal): New function.
35165         (WRITEV_FOR_FATAL): New macro; call that.
35166         (backtrace_and_maps): New function.
35167         (BEFORE_ABORT): New macro; call that.
35168         (struct str_list): Type removed.
35169         (__libc_message, __libc_fatal): Functions removed.
35170         Include <sysdeps/posix/libc_fatal.c> instead.
35172 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35174         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35175         constants.
35176         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35177         double constants.
35179 2013-03-19  Andreas Schwab  <schwab@suse.de>
35181         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35182         * sysdeps/gnu/configure: Regenerate.
35184         * configure.in: Substitute libc_cv_rtlddir.
35185         * configure: Regenerate.
35186         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35187         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35188         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35189         * elf/Makefile (install-others, CFLAGS-interp.c)
35190         (ldso_install, common-ldd-rewrite): Likewise.
35191         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35192         $(inst_slibdir)/$(rtld-installed-name).
35193         * scripts/rellns-sh: Add -p option.
35194         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35195         for source.
35197 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35199         * manual/nptl.texi: Renamed to ...
35200         * manual/threads.texi: ... this.
35201         * manual/Makefile (chapters): Update.
35203 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35205         [BZ #14812]
35206         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35207         on argument names, not just descriptions.
35208         * malloc/memusagestat.c (options): Likewise.
35209         * nss/getent.c (options): Likewise.
35211 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35213         [BZ #14812]
35214         * iconv/iconv_prog.c (options): Put N_ translation marker
35215         on argument names, not just descriptions.
35216         * iconv/iconvconfig.c (options): Likewise.
35218 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35220         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35221         implementation which is faster on all x86_64 architectures.
35222         Tested on AMD, Intel Nehalem, SNB, IVB.
35223         * sysdeps/x86_64/strnlen.S: Likewise.
35225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35226         Remove all multiarch strlen and strnlen versions.
35227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35228         Remove strlen and strnlen related parts.
35230         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35231         Inline strlen part.
35232         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35234         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35235         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35236         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35237         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35238         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35239         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35241 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35243         * manual/memory.texi (Malloc Tunable Parameters):
35244         Sort parameters alphabetically. Add comments for missing entries.
35246 2013-03-17  David S. Miller  <davem@davemloft.net>
35248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35250 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35252         [BZ #15283]
35253         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35254         for arguments at most half maximum finite value.
35255         * math/libm-test.inc (j0_test): Add more tests.
35256         (j1_test): Likewise.
35257         (y0_test): Likewise.
35258         (y1_test): Likewise.
35259         * sysdeps/i386/fpu/libm-test-ulps: Update.
35260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35262         [BZ #14155]
35263         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35264         1 / x and functions P and Q for arguments above 0x1p256L.
35265         (__ieee754_y0l): Likewise.
35266         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35267         (__ieee754_y1l): Likewise.
35268         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35269         (j1_test): Likewise.
35270         (y0_test): Likewise.
35271         (y1_test): Likewise.
35273 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35275         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35276         variable.
35278 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35280         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35281         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35282         zero since it's initialized to EXEC_PAGESIZE.
35284         * sysdeps/unix/sysv/linux/ldsodefs.h
35285         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35286         * sysdeps/generic/ldsodefs.h: ... here.
35288 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35290         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35292         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35293         math/test-snan.c.
35294         * math/test-snan.c: Renamed from
35295         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35296         * math/Makefile (tests): Add test-snan.
35297         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35298         test-powerpc-snan.
35300         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35301         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35302         functions.
35303         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35304         __builtin_nan family of functions.
35305         * math/libm-test.inc (initialize): Initialize qnan_value with
35306         __builtin_nan family of functions.
35307         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35308         Remove variables.
35309         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35310         Remove functions.
35311         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35312         storage class.  Initialize qNaN_var and sNaN_var with
35313         __builtin_nan and __builtin_nans families of functions,
35314         respectively.
35316         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35317         (sqrt_test): Remove duplicate test with qNaN input.
35318         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35319         (round_test, signbit_test, significand_test): Note missing +/-Inf
35320         as well as qNaN tests.
35322         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35323         qNaN_var.  Fix a few strings, too.
35324         * math/libm-test.inc (nan_value): Rename to qnan_value.
35325         * math/gen-libm-test.pl (%beautify): Adjust to that.
35326         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35327         * math/test-misc.c (main): Likewise.
35328         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35329         to __qnan_bytes, and __qnan_union, respectively.
35330         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35331         Likewise.
35332         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35333         and lqnanval, respectively.
35334         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35335         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35336         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35337         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35339         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35340         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35341         doubles.
35343         * math/test-misc.c (main): Fix copy'n'pastos.
35344         * misc/tst-efgcvt.c (special): Likewise.
35346         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35347         Remove declarations.
35349 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35351         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35352         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35353         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35354         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35356 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35358         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35359         macro to return vdso values correctly in IFUNC implementations.
35360         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35361         Optimization by using IFUNC.
35363 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35364             Richard Henderson  <rth@redhat.com>
35365             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35367         * Makefile.in (bench): New target.
35368         * NEWS: Mention the benchmark framework.
35369         * Rules (bench): Likewise.
35370         (binaries-bench): Generate binaries for functions to
35371         benchmark.
35372         * benchtests/Makefile: New makefile for benchmark tests.
35373         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35374         programs.
35375         * benchtests/exp-inputs: New input file for EXP function.
35376         * benchtests/pow-inputs: New input file for POW function.
35377         * scripts/bench.pl: New script to generate source files for
35378         benchmark programs.
35380 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35382         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35383         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35384         computations on mantissa.  Use macros for rounding and
35385         division.
35386         (denorm): Likewise.
35387         (__dbl_mp): Likewise.
35388         (add_magnitudes): Likewise.
35389         (sub_magnitudes): Likewise.
35390         (__mul): Likewise.
35391         (__sqr): Likewise.
35392         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35393         powers of two in terms of TWOPOW macro.
35394         (mp_no): Make type of mantissa as MANTISSA_T.
35395         [!RADIXI]: Define RADIXI.
35396         [!TWO52]: Define TWO52.
35397         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35399         * manual/nptl.texi (cindex): Modify threads to pthreads.
35401 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35403         * sysdeps/x86_64/preconfigure: Regenerated.
35405 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35407         [BZ #14155]
35408         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35409         0x1p28 and above.
35410         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35411         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35412         0x1p28 and above.
35413         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35414         * math/libm-test.inc (j0_test): Do not allow one spurious
35415         underflow exception.
35416         (y1_test): Likewise.
35418 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35420         * manual/Makefile (chapters): Add nptl.
35421         * manual/debug.texi (Debugging Support): Add link to Threads
35422         chapter.
35423         * manual/nptl.texi: New file.
35425         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35427 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35429         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35430         for non-NULL pointer before the memory validity test. Pointed
35431         out by Holger Brunck <holger.brunck@keymile.com>.
35433 2013-03-13  Andreas Schwab  <schwab@suse.de>
35435         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35436         instead of .os.
35438 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35440         * timezone/zic.c: Update from tzcode 2013b.
35442 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35444         * manual/install.texi (Configuring and compiling):
35445         Mention i686 and i586.
35446         * INSTALL: Regenerate.
35448 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35450         * sysdeps/init_array/elf-init.c: New file.
35451         * csu/elf-init.c
35452         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35453         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35455         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35456         __gmon_start__ as global, but as static with a .preinit_array pointer.
35457         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35458         * sysdeps/init_array/crti.S: New file, empty except for comments.
35459         * sysdeps/init_array/crtn.S: Likewise.
35461 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35463         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35464         definining bcopy.
35465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35466         Remove Prefer_SSE_for_memop.
35467         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35468         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35469         HAS_PREFER_SSE_FOR_MEMOP.
35470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35471         memset-x86-64.
35472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35473         Remove bzero, memset ifunc support.
35474         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35475         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35476         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35477         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35479 2013-03-11  Andreas Schwab  <schwab@suse.de>
35481         [BZ #15234]
35482         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35483         by SHLIB_COMPAT.
35484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35485         (GLIBC_2.16): Remove pthread_atfork.
35487 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35489         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35490         (ptestcases.h): Likewise.
35492 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35494         * Makeconfig ($(common-objpfx)config.status): Depend on
35495         sysdeps/*/preconfigure{,.in} too.
35497 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35499         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35500         (__free_hook): Use void * instead of __malloc_ptr_t.
35501         (__malloc_hook): Likewise.
35502         (__realloc_hook): Likewise.
35503         (__memalign_hook): Likewise.
35504         (__after_morecore_hook): Likewise.
35505         * malloc/arena.c (save_malloc_hook): Likewise.
35506         (save_free_hook): Likewise.
35507         * malloc/hooks.c (malloc_hook_ini): Likewise.
35508         (realloc_hook_ini): Likewise.
35509         (memalign_hook_ini): Likewise.
35510         * malloc/malloc.c (malloc_hook_ini): Likewise.
35511         (realloc_hook_ini): Likewise.
35512         (memalign_hook_ini): Likewise.
35513         (__free_hook): Likewise.
35514         (__malloc_hook): Likewise.
35515         (__realloc_hook): Likewise.
35516         (__memalign_hook): Likewise.
35517         (__libc_malloc): Likewise.
35518         (__libc_free): Likewise.
35519         (__libc_realloc): Likewise.
35520         (__libc_memalign): Likewise.
35521         (__libc_valloc): Likewise.
35522         (__libc_pvalloc): Likewise.
35523         (__libc_calloc): Likewise.
35524         (__posix_memalign): Likewise.
35525         * malloc/morecore.c (__sbrk): Likewise.
35526         (__default_morecore): Likewise.
35528         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35530         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35531         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35532         __malloc_ptrdiff_t.
35534         * malloc/malloc.h (__malloc_size_t): Remove macro.
35535         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35536         __malloc_size_t.
35537         (old_memalign_hook): Likewise.
35538         (old_realloc_hook): Likewise.
35539         (struct hdr): Likewise.
35540         (flood): Likewise.
35541         (mallochook): Likewise.
35542         (memalignhook): Likewise.
35543         (reallochook): Likewise.
35544         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35545         (tr_old_realloc_hook): Likewise.
35546         (tr_old_memalign_hook): Likewise.
35547         (tr_mallochook): Likewise.
35548         (tr_reallochook): Likewise.
35549         (tr_memalignhook): Likewise.
35551 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35553         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35554         default_ldbl_pack and using as default implementation.
35555         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35556         implementation.
35557         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35558         redundant definition.
35559         (ldbl_insert_mantissa): Likewise.
35560         (ldbl_canonicalize): Likewise.
35561         (ldbl_nearbyint): Likewise.
35562         (ldbl_pack): Rename to ldbl_pack_ppc.
35563         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35564         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35565         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35567 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35570         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35571         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35572         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35574         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35575         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35576         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35578 2013-03-07  Andreas Jaeger  <aj@suse.de>
35580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35581         bits/mman-linux.h.
35583 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35585         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35586         Include mpa.h and declare __MPEXP.
35587         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35588         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35589         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35590         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35591         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35592         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35593         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35595         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35596         (__slowpow): Use long double EXPL and LOGL functions to
35597         compute POW.
35598         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35599         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35600         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35601         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35602         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35603         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35606         intermediate variable to calculate exponent.
35607         (__sqr): Likewise.
35608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35609         Likewise.
35610         (__sqr): Likewise.
35612         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35613         [!NO__SQR]: Define __sqr.
35614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35615         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35616         sysdeps/ieee754/dbl-64/mpa.c.
35617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35619         [BZ #12723]
35620         * posix/Makefile (tests): Add tst-pathconf.
35621         * posix/tst-pathconf.c: New test case.
35622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35623         _PC_PIPE_BUF.
35624         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35626 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35628         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35630 2013-03-06  Andreas Jaeger  <aj@suse.de>
35632         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35633         definition via __MAP_ANONYMOUS.
35635         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35636         it's not part of Linux headers.
35638         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35639         (MAP_HUGE_MASK): Define.
35641         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35642         Define.
35643         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35645         Define.
35646         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35647         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35648         Define.
35649         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35650         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35651         Define.
35652         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35654         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35655         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35656         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35657         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35658         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35659         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35661         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35662         Handle f2fs.
35664         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35665         Handle f2fs and efivarfs.
35667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35668         f2fs.
35670         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35671         (EFIVARFS_MAGIC): Add.
35672         (F2FS_LINK_MAX): Add.
35674 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35676         * stdio-common/vfprintf.c: Replace __builtin_expect with
35677         __glibc_unlikely.
35679 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35681         [BZ #13550]
35682         * sysdeps/generic/bp-sym.h: Remove file.
35683         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35684         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35685         <bp-sym.h> and <bp-asm.h>.
35686         (__longjmp): Don't use BP_SYM.
35687         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35688         and <bp-asm.h>.
35689         (memcpy): Don't use BP_SYM.
35690         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35691         <bp-sym.h> and <bp-asm.h>.
35692         (memcpy): Don't use BP_SYM.
35693         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35694         <bp-asm.h>.
35695         (memcpy): Don't use BP_SYM.
35696         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35697         <bp-asm.h>.
35698         (memset): Don't use BP_SYM.
35699         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35700         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35701         (__bzero): Don't use BP_SYM.
35702         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35703         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35704         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35705         <bp-sym.h> and <bp-asm.h>.
35706         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35707         pointers.
35708         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35709         <bp-sym.h> and <bp-asm.h>.
35710         (memcpy): Don't use BP_SYM.
35711         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35712         <bp-sym.h> and <bp-asm.h>.
35713         (memset): Don't use BP_SYM.
35714         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35715         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35716         (__bzero): Don't use BP_SYM.
35717         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35718         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35719         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35720         <bp-sym.h> and <bp-asm.h>.
35721         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35722         pointers.
35723         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35724         <bp-sym.h> and <bp-asm.h>.
35725         (memcpy): Don't use BP_SYM.
35726         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35727         <bp-sym.h> and <bp-asm.h>.
35728         (memset): Don't use BP_SYM.
35729         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35730         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35731         (__bzero): Don't use BP_SYM.
35732         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35733         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35734         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35735         <bp-sym.h> and <bp-asm.h>.
35736         (__memchr): Don't use BP_SYM.
35737         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35738         <bp-sym.h> and <bp-asm.h>.
35739         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35740         pointers.
35741         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35742         <bp-sym.h> and <bp-asm.h>.
35743         (memcpy): Don't use BP_SYM.
35744         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35745         <bp-sym.h> and <bp-asm.h>.
35746         (__mempcpy): Don't use BP_SYM.
35747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35748         <bp-sym.h> and <bp-asm.h>.
35749         (__memrchr): Don't use BP_SYM.
35750         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35751         <bp-sym.h> and <bp-asm.h>.
35752         (memset): Don't use BP_SYM.
35753         (__bzero): Likewise.
35754         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35755         <bp-sym.h> and <bp-asm.h>.
35756         (__rawmemchr): Don't use BP_SYM.
35757         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35758         <bp-sym.h> and <bp-asm.h>.
35759         (__STRCMP): Don't use BP_SYM.
35760         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35761         <bp-sym.h> and <bp-asm.h>.
35762         (strchr): Don't use BP_SYM.
35763         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35764         <bp-sym.h> and <bp-asm.h>.
35765         (__strchrnul): Don't use BP_SYM.
35766         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35767         <bp-sym.h> and <bp-asm.h>.
35768         (strlen): Don't use BP_SYM.
35769         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35770         <bp-sym.h> and <bp-asm.h>.
35771         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35772         pointers.
35773         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35774         <bp-sym.h> and <bp-asm.h>.
35775         (__strnlen): Don't use BP_SYM.
35776         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35777         <bp-sym.h> and <bp-asm.h>.
35778         (__GI__setjmp): Don't use BP_SYM.
35779         (_setjmp): Likewise.
35780         (__sigsetjmp): Likewise.
35781         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35782         (L(start_addresses)): Don't use BP_SYM.
35783         (_start): Likewise.
35784         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35785         <bp-asm.h>.
35786         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35787         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35788         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35789         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35790         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35791         <bp-asm.h>.
35792         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35793         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35794         about bounded pointers.
35795         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35796         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35797         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35798         <bp-asm.h>.
35799         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35800         about bounded pointers.  Remove GKM FIXME comments.
35801         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35802         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35803         <bp-asm.h>.
35804         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35805         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35806         Remove GKM FIXME comments.
35807         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35808         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35809         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35810         <bp-asm.h>.
35811         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35812         about bounded pointers.  Remove GKM FIXME comment.
35813         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35814         and <bp-asm.h>.
35815         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35816         pointers.
35817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35818         <bp-sym.h> and <bp-asm.h>.
35819         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35821         <bp-sym.h> and <bp-asm.h>.
35822         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35823         comment.
35825 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35827         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35828         call free(NULL).
35830 2013-03-05  David S. Miller  <davem@davemloft.net>
35832         * po/es.po: Update from translation team.
35834 2013-03-05  Andreas Jaeger  <aj@suse.de>
35836         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35837         <bits/mman-linux.h>.
35838         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35839         is fine.
35840         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35841         <bits/mman-linux.h> to end of file.
35842         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35843         is fine.
35844         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35845         <bits/mman-linux.h> to end of file.
35846         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35847         is fine.
35848         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35849         <bits/mman-linux.h> to end of file.
35851         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35852         (MCL_CURRENT, MCL_FUTURE): Define here.
35854 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35856         [BZ #15232]
35857         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35858         attribute_hidden.
35859         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35861 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35864         fourth parameter needed for rt_sigprocmask syscall.
35865         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35866         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35867         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35868         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35869         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35870         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35872 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35874         [BZ #13550]
35875         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35876         comment about bounded pointers.
35877         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35878         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35880 2013-03-04  Andreas Jaeger  <aj@suse.de>
35882         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35883         common definitions.
35885         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35886         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35887         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35888         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35892 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35894         [BZ #15055]
35895         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35896         __ieee754_sqrl instead of __sqrl.
35898 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35900         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35901         * sysdeps/powerpc/fpu_control.h: ... here.
35902         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35903         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35904         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35905         * sysdeps/powerpc/bits/mathinline.h: ... here.
35907 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35909         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35910         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35911         to just [NEED_DL_SYSINFO_DSO].
35912         * elf/dl-support.c: Likewise.
35913         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35914         * elf/rtld.c (dl_main): Likewise.
35915         * elf/setup-vdso.h (setup_vdso): Likewise.
35916         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35917         * sysdeps/unix/sysv/linux/dl-sysdep.c
35918         (_dl_discover_osversion): Likewise.
35920 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35922         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35923         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35925 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35927         * NEWS: Mention libm performance improvements and non-x86 PI
35928         futex support.
35930         * csu/libc-start.c (__pthread_initialize_minimal): Change
35931         function arguments.
35932         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35934 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35936         [BZ #13550]
35937         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35938         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35939         <bp-sym.h> and <bp-asm.h>.
35940         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35941         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35942         and <bp-asm.h>.
35943         (memcpy): Don't use BP_SYM.
35944         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35945         <bp-asm.h>.
35946         (__mpn_add_n): Don't use BP_SYM.
35947         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35948         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35949         and <bp-asm.h>.
35950         (__mpn_addmul_1): Don't use BP_SYM.
35951         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35952         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35953         <bp-sym.h>.
35954         (_setjmp): Don't use BP_SYM.
35955         (__novmx_setjmp): Likewise.
35956         (__GI__setjmp): Likewise.
35957         (__vmx_setjmp): Likewise.
35958         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35959         <bp-sym.h>.
35960         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35961         (__bzero): Don't use BP_SYM.
35962         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35963         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35964         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35965         <bp-sym.h> and <bp-asm.h>.
35966         (memcpy): Don't use BP_SYM.
35967         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35968         <bp-sym.h> and <bp-asm.h>.
35969         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35970         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35971         <bp-sym.h> and <bp-asm.h>.
35972         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35973         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35974         <bp-asm.h>.
35975         (__mpn_lshift): Don't use BP_SYM.
35976         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35977         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35978         <bp-asm.h>.
35979         (memset): Don't use BP_SYM.
35980         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35981         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35982         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35983         <bp-asm.h>.
35984         (__mpn_mul_1): Don't use BP_SYM.
35985         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35986         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35987         <bp-sym.h> and <bp-asm.h>.
35988         (memcmp): Don't use BP_SYM.
35989         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35990         <bp-sym.h> and <bp-asm.h>.
35991         (memcpy): Don't use BP_SYM.
35992         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35993         <bp-sym.h> and <bp-asm.h>.
35994         (memset): Don't use BP_SYM.
35995         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35996         <bp-sym.h> and <bp-asm.h>.
35997         (strncmp): Don't use BP_SYM.
35998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35999         <bp-sym.h> and <bp-asm.h>.
36000         (memcpy): Don't use BP_SYM.
36001         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36002         <bp-sym.h> and <bp-asm.h>.
36003         (memset): Don't use BP_SYM.
36004         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36005         <bp-sym.h> and <bp-asm.h>.
36006         (__memchr): Don't use BP_SYM.
36007         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36008         <bp-sym.h> and <bp-asm.h>.
36009         (memcmp): Don't use BP_SYM.
36010         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36011         <bp-sym.h> and <bp-asm.h>.
36012         (memcpy): Don't use BP_SYM.
36013         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36014         <bp-sym.h> and <bp-asm.h>.
36015         (__mempcpy): Don't use BP_SYM.
36016         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36017         <bp-sym.h> and <bp-asm.h>.
36018         (__memrchr): Don't use BP_SYM.
36019         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36020         <bp-sym.h> and <bp-asm.h>.
36021         (memset): Don't use BP_SYM.
36022         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36023         <bp-sym.h> and <bp-asm.h>.
36024         (__rawmemchr): Don't use BP_SYM.
36025         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36026         <bp-sym.h> and <bp-asm.h>.
36027         (__STRCMP): Don't use BP_SYM.
36028         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36029         <bp-sym.h> and <bp-asm.h>.
36030         (strchr): Don't use BP_SYM.
36031         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36032         <bp-sym.h> and <bp-asm.h>.
36033         (__strchrnul): Don't use BP_SYM.
36034         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36035         <bp-sym.h> and <bp-asm.h>.
36036         (strlen): Don't use BP_SYM.
36037         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36038         <bp-sym.h> and <bp-asm.h>.
36039         (strncmp): Don't use BP_SYM.
36040         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36041         <bp-sym.h> and <bp-asm.h>.
36042         (__strnlen): Don't use BP_SYM.
36043         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36044         <bp-asm.h>.
36045         (__mpn_rshift): Don't use BP_SYM.
36046         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36047         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36048         <bp-sym.h> and <bp-asm.h>.
36049         (__sigsetjmp): Don't use BP_SYM.
36050         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36051         (L(start_addresses)): Don't use BP_SYM.
36052         (_start): Likewise.
36053         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36054         <bp-asm.h>.
36055         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36056         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36057         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36058         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36059         <bp-asm.h>.
36060         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36061         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36062         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36063         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36064         <bp-asm.h>.
36065         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36066         comments.
36067         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36068         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36069         <bp-asm.h>.
36070         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36071         FIXME comments.
36072         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36073         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36074         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36075         <bp-asm.h>.
36076         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36077         comment.
36078         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36079         and <bp-asm.h>.
36080         (strncmp): Don't use BP_SYM,
36081         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36082         <bp-asm.h>.
36083         (__mpn_sub_n): Don't use BP_SYM.
36084         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36085         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36086         and <bp-asm.h>.
36087         (__mpn_submul_1): Don't use BP_SYM.
36088         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36090         <bp-sym.h> and <bp-asm.h>.
36091         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36093         <bp-sym.h> and <bp-asm.h>.
36094         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36095         comment.
36097 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36100         Use ZK to minimize writes to Z.
36101         (sub_magnitudes): Simplify code a bit.
36102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36103         Use ZK to minimize writes to Z.
36104         (sub_magnitudes): Simplify code a bit.
36106 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36108         * csu/gmon-start.c: Add special exception to license text.
36110 2013-02-27  Richard Henderson  <rth@redhat.com>
36112         * scripts/config.guess: Update from config.git.
36113         * scripts/config.sub: Likewise.
36115 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36117         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36119         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36121         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36123         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36125         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36127 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36129         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36130         [$(build-shared = yes].
36132 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36134         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36135         (__mul): Reduce iterations for calculating mantissa.
36137         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36138         MPTWO.
36139         (__mpranred): Likewise.
36141         [BZ #15160]
36142         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36143         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36145 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36147         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36148         Define __attribute__.
36150 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36152         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36153         unused.
36154         * posix/regex_internal.h (__attribute): Remove.
36155         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36156         (re_string_context_at): Likewise.
36157         (bitset_not): Use __attribute__ and mark function as possibly
36158         unused.
36159         (bitset_merge): Likewise.
36160         (bitset_mask): Likewise.
36161         (re_string_char_size_at): Likewise.
36162         (re_string_wchar_at): Likewise.
36163         (re_string_elem_size_at): Likewise.
36165 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36167         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36168         code.
36169         (cc32): Likewise.
36171         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36172         (__acr): Likewise.
36173         (__cpy): Likewise.
36174         (norm): Likewise.
36175         (denorm): Likewise.
36176         (__dbl_mp): Likewise.
36177         (add_magnitudes): Likewise.
36178         (sub_magnitudes): Likewise.
36179         (__mul): Likewise.
36180         (__inv): Likewise.
36182         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36183         style.
36185         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36186         style.
36188         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36189         code.
36191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36192         up changes with default code.
36193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36194         Likewise.
36196 2013-02-24  Allan McRae  <allan@archlinux.org>
36198         * manual/socket.texi (The Internet Namespace): Order menu items
36199         to match that in the file.
36201         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36202         node listing of the info page menu.
36204 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36206         [BZ #13550]
36207         * sysdeps/i386/bp-asm.h: Remove file.
36208         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36209         (PARMS): Do not use macros from bp-asm.h.
36210         (S1): Likewise.
36211         (S2): Likewise.
36212         (SIZE): Likewise.
36213         (__mpn_add_n): Do not use BP_SYM
36214         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36215         "bp-asm.h".
36216         (PARMS): Do not use macros from bp-asm.h.
36217         (S1): Likewise.
36218         (SIZE): Likewise.
36219         (__mpn_addmul_1): Do not use BP_SYM
36220         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36221         "bp-asm.h".
36222         (PARMS): Do not use macros from bp-asm.h.
36223         (SIGMSK): Likewise.
36224         (_setjmp): Likewise.  Do not use BP_SYM.
36225         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36226         "bp-asm.h".
36227         (PARMS): Do not use macros from bp-asm.h.
36228         (SIGMSK): Likewise.
36229         (setjmp): Likewise.  Do not use BP_SYM.
36230         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36231         "bp-asm.h".
36232         (PARMS): Do not use macros from bp-asm.h.
36233         (__frexp): Do not use BP_SYM.
36234         (frexp): Likewise.
36235         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36236         "bp-asm.h".
36237         (PARMS): Do not use macros from bp-asm.h.
36238         (__frexpf): Do not use BP_SYM.
36239         (frexpf): Likewise.
36240         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36241         "bp-asm.h".
36242         (PARMS): Do not use macros from bp-asm.h.
36243         (__frexpl): Do not use BP_SYM.
36244         (frexpl): Likewise.
36245         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36246         "bp-asm.h".
36247         (PARMS): Do not use macros from bp-asm.h.
36248         (__remquo): Do not use BP_SYM.
36249         (remquo): Likewise.
36250         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36251         "bp-asm.h".
36252         (PARMS): Do not use macros from bp-asm.h.
36253         (__remquof): Do not use BP_SYM.
36254         (remquof): Likewise.
36255         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36256         "bp-asm.h".
36257         (PARMS): Do not use macros from bp-asm.h.
36258         (__remquol): Do not use BP_SYM.
36259         (remquol): Likewise.
36260         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36261         "bp-asm.h".
36262         (PARMS): Do not use macros from bp-asm.h.
36263         (DEST): Likewise.
36264         (SRC): Likewise.
36265         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36266         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36267         "bp-asm.h".
36268         (PARMS): Do not use macros from bp-asm.h.
36269         (strlen): Do not use BP_SYM.
36270         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36271         "bp-asm.h".
36272         (PARMS): Do not use macros from bp-asm.h.
36273         (S1): Likewise.
36274         (S2): Likewise.
36275         (SIZE): Likewise.
36276         (__mpn_add_n): Do not use BP_SYM.
36277         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36278         "bp-asm.h".
36279         (PARMS): Do not use macros from bp-asm.h.
36280         (S1): Likewise.
36281         (SIZE): Likewise.
36282         (__mpn_addmul_1): Do not use BP_SYM.
36283         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36284         weak_alias.
36285         (bzero): Likewise.
36286         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36287         "bp-asm.h".
36288         (PARMS): Do not use macros from bp-asm.h.
36289         (S): Likewise.
36290         (SIZE): Likewise.
36291         (__mpn_lshift): Do not use BP_SYM.
36292         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36293         "bp-asm.h".
36294         (PARMS): Do not use macros from bp-asm.h.
36295         (DEST): Likewise.
36296         (SRC): Likewise.
36297         (LEN): Likewise.
36298         (memcpy): Likewise.  Do not use BP_SYM.
36299         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36300         libc_hidden_def and weak_alias.
36301         (mempcpy): Do not use BP_SYM in weak_alias.
36302         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36303         "bp-asm.h".
36304         (PARMS): Do not use macros from bp-asm.h.
36305         (DEST): Likewise.
36306         (LEN): Likewise.
36307         [!BZERO_P] (CHR): Likewise.
36308         (memset): Likewise.  Do not use BP_SYM.
36309         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36310         "bp-asm.h".
36311         (PARMS): Do not use macros from bp-asm.h.
36312         (S1): Likewise.
36313         (SIZE): Likewise.
36314         (__mpn_mul_1): Do not use BP_SYM.
36315         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36316         "bp-asm.h".
36317         (PARMS): Do not use macros from bp-asm.h.
36318         (S): Likewise.
36319         (SIZE): Likewise.
36320         (__mpn_rshift): Do not use BP_SYM.
36321         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36322         "bp-asm.h".
36323         (PARMS): Do not use macros from bp-asm.h.
36324         (STR): Likewise.
36325         (CHR): Likewise.
36326         (strchr): Likewise.  Do not use BP_SYM.
36327         (index): Do not use BP_SYM in weak_alias.
36328         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36329         "bp-asm.h".
36330         (PARMS): Do not use macros from bp-asm.h.
36331         (DEST): Likewise.
36332         (SRC): Likewise.
36333         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36334         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36335         "bp-asm.h".
36336         (PARMS): Do not use macros from bp-asm.h.
36337         (strlen): Do not use BP_SYM.
36338         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36339         "bp-asm.h".
36340         (PARMS): Do not use macros from bp-asm.h.
36341         (S1): Likewise.
36342         (S2): Likewise.
36343         (SIZE): Likewise.
36344         (__mpn_sub_n): Do not use BP_SYM.
36345         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36346         "bp-asm.h".
36347         (PARMS): Do not use macros from bp-asm.h.
36348         (S1): Likewise.
36349         (SIZE): Likewise.
36350         (__mpn_submul_1): Do not use BP_SYM.
36351         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36352         "bp-asm.h".
36353         (PARMS): Do not use macros from bp-asm.h.
36354         (S1): Likewise.
36355         (S2): Likewise.
36356         (SIZE): Likewise.
36357         (__mpn_add_n): Do not use BP_SYM.
36358         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36359         weak_alias.
36360         (bzero): Likewise.
36361         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36362         "bp-asm.h".
36363         (PARMS): Do not use macros from bp-asm.h.
36364         (BLK2): Likewise.
36365         (LEN): Likewise.
36366         (memcmp): Do not use BP_SYM.
36367         (bcmp): Do not use BP_SYM in weak_alias.
36368         * sysdeps/i386/i686/memcpy.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         (SRC): Likewise.
36373         (LEN): Likewise.
36374         (memcpy): Likewise.  Do not use BP_SYM.
36375         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36376         "bp-asm.h".
36377         (PARMS): Do not use macros from bp-asm.h.
36378         (DEST): Likewise.
36379         (SRC): Likewise.
36380         (LEN): Likewise.
36381         (memmove): Likewise.  Do not use BP_SYM.
36382         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36383         "bp-asm.h".
36384         (PARMS): Do not use macros from bp-asm.h.
36385         (DEST): Likewise.
36386         (SRC): Likewise.
36387         (LEN): Likewise.
36388         (__mempcpy): Likewise.  Do not use BP_SYM.
36389         (mempcpy): Do not use BP_SYM in weak_alias.
36390         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36391         "bp-asm.h".
36392         (PARMS): Do not use macros from bp-asm.h.
36393         (DEST): Likewise.
36394         (LEN): Likewise.
36395         [!BZERO_P] (CHR): Likewise.
36396         (memset): Likewise.  Do not use BP_SYM.
36397         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36398         "bp-asm.h".
36399         (PARMS): Do not use macros from bp-asm.h.
36400         (STR2): Likewise.
36401         (strcmp): Do not use BP_SYM.
36402         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36403         "bp-asm.h".
36404         (PARMS): Do not use macros from bp-asm.h.
36405         (STR): Likewise.
36406         (DELIM): Likewise.
36407         [USE_AS_STRTOK_R] (SAVE): Likewise.
36408         (FUNCTION): Likewise.  Do not use BP_SYM.
36409         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36410         aliases.
36411         (strtok_r): Likewise.
36412         (__GI___strtok_r): Likewise.
36413         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36414         (PARMS): Do not use macros from bp-asm.h.
36415         (S): Likewise.
36416         (SIZE): Likewise.
36417         (__mpn_lshift): Do not use BP_SYM.
36418         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36419         (PARMS): Do not use macros from bp-asm.h.
36420         (STR): Likewise.
36421         (CHR): Likewise.
36422         (__memchr): Do not use BP_SYM.
36423         (memchr): Do not use BP_SYM in weak_alias.
36424         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36425         (PARMS): Do not use macros from bp-asm.h.
36426         (BLK2): Likewise.
36427         (LEN): Likewise.
36428         (memcmp): Do not use BP_SYM.
36429         (bcmp): Do not use BP_SYM in weak_alias.
36430         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36431         (PARMS): Do not use macros from bp-asm.h.
36432         (S1): Likewise.
36433         (SIZE): Likewise.
36434         (__mpn_mul_1): Do not use BP_SYM.
36435         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36436         "bp-asm.h".
36437         (PARMS): Do not use macros from bp-asm.h.
36438         (STR): Likewise.
36439         (CHR): Likewise.
36440         (__rawmemchr): Do not use BP_SYM.
36441         (rawmemchr): Do not use BP_SYM in weak_alias.
36442         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36443         (PARMS): Do not use macros from bp-asm.h.
36444         (S): Likewise.
36445         (SIZE): Likewise.
36446         (__mpn_rshift): Do not use BP_SYM.
36447         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36448         (PARMS): Do not use macros from bp-asm.h.
36449         (SIGMSK): Likewise.
36450         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36451         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36452         (_start): Do not use BP_SYM.
36453         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36454         (PARMS): Do not use macros from bp-asm.h.
36455         (DEST): Likewise.
36456         (SRC): Likewise.
36457         (__stpcpy): Likewise.  Do not use BP_SYM.
36458         (stpcpy): Do not use BP_SYM in weak_alias.
36459         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36460         "bp-asm.h".
36461         (PARMS): Do not use macros from bp-asm.h.
36462         (DEST): Likewise.
36463         (SRC): Likewise.
36464         (LEN): Likewise.
36465         (__stpncpy): Likewise.  Do not use BP_SYM.
36466         (stpncpy): Do not use BP_SYM in weak_alias.
36467         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36468         (PARMS): Do not use macros from bp-asm.h.
36469         (STR): Likewise.
36470         (CHR): Likewise.
36471         (strchr): Likewise.  Do not use BP_SYM.
36472         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36473         "bp-asm.h".
36474         (PARMS): Do not use macros from bp-asm.h.
36475         (STR): Likewise.
36476         (CHR): Likewise.
36477         (__strchrnul): Likewise.  Do not use BP_SYM.
36478         (strchrnul): Do not use BP_SYM in weak_alias.
36479         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36480         "bp-asm.h".
36481         (PARMS): Do not use macros from bp-asm.h.
36482         (STOP): Likewise.
36483         (strcspn): Do not use BP_SYM.
36484         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36485         "bp-asm.h".
36486         (PARMS): Do not use macros from bp-asm.h.
36487         (STR): Likewise.
36488         (STOP): Likewise.
36489         (strpbrk): Likewise.  Do not use BP_SYM.
36490         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36491         "bp-asm.h".
36492         (PARMS): Do not use macros from bp-asm.h.
36493         (STR): Likewise.
36494         (CHR): Likewise.
36495         (strrchr): Likewise.  Do not use BP_SYM.
36496         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36497         (PARMS): Do not use macros from bp-asm.h.
36498         (SKIP): Likewise.
36499         (strspn): Do not use BP_SYM.
36500         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36501         (PARMS): Do not use macros from bp-asm.h.
36502         (STR): Likewise.
36503         (DELIM): Likewise.
36504         (SAVE): Likewise.
36505         (FUNCTION): Likewise.  Do not use BP_SYM.
36506         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36507         aliases.
36508         (strtok_r): Likewise.
36509         (__GI___strtok_r): Likewise.
36510         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36511         (PARMS): Do not use macros from bp-asm.h.
36512         (S1): Likewise.
36513         (S2): Likewise.
36514         (SIZE): Likewise.
36515         (__mpn_sub_n): Do not use BP_SYM.
36516         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36517         "bp-asm.h".
36518         (PARMS): Do not use macros from bp-asm.h.
36519         (S1): Likewise.
36520         (SIZE): Likewise.
36521         (__mpn_submul_1): Do not use BP_SYM.
36522         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36523         <bp-sym.h>.
36524         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36525         and <bp-asm.h>.
36526         (PARMS): Do not use macros from bp-asm.h.
36527         (FLAGS): Likewise.
36528         (PTID): Likewise.
36529         (TLS): Likewise.
36530         (CTID): Likewise.
36531         (__clone): Do not use BP_SYM.
36532         (clone): Do not use BP_SYM in weak_alias.
36533         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36534         and <bp-asm.h>.
36535         (PARMS): Do not use macros from bp-asm.h.
36536         (LEN): Likewise.
36537         (__mmap64): Do not use BP_SYM.
36538         (mmap64): Do not use BP_SYM in weak_alias.
36539         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36540         <bp-sym.h> and <bp-asm.h>.
36541         (PARMS): Do not use macros from bp-asm.h.
36542         (__posix_fadvise64_l64): Do not use BP_SYM.
36543         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36544         (PARMS): Do not use macros from bp-asm.h.
36545         (NSOPS): Likewise.
36546         (semtimedop): Do not use BP_SYM.
36547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36548         and <bp-asm.h>.
36550 2013-02-21  Allan McRae  <allan@archlinux.org>
36552         * manual/message.texi (Charset conversion in gettext):
36553         Move @end statement to beginning of line.
36555 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36558         static.
36559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36560         Likewise.
36562         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36563         (denorm): Likewise.
36564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36567 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36569         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36570         tail-call to the resolved function if pltexit isn't needed.
36572 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36575         or Y being zero as being unlikely.
36576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36577         Likewise.
36579 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36581         * manual/nss.texi (System Databases and Name Service Switch):
36582         Remove frobnicate @pxref.
36584 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36586         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36587         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36589 2013-02-20  Petr Machata  <pmachata@redhat.com>
36591         * elf/elf.h (R_ARM_TARGET1): New macro.
36592         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36593         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36594         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36595         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36596         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36597         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36598         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36599         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36600         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36601         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36602         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36603         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36604         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36605         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36606         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36607         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36608         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36609         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36610         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36611         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36612         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36613         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36614         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36615         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36616         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36617         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36618         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36619         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36620         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36621         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36622         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36623         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36624         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36625         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36626         (R_ARM_THM_GOT_BREL12): Likewise.
36627         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36628         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36629         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36630         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36631         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36632         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36633         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36634         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36635         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36637 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36639         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36640         __attribute_used__ to __attribute__ ((unused)).
36642 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36644         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36645         powerpc mpa.c.
36646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36647         comment formatting.
36648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36650 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36652         [BZ #13550]
36653         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36654         Remove macro.
36655         (ENTER): Remove both macro definitions.
36656         (LEAVE): Likewise.
36657         (CHECK_BOUNDS_LOW): Likewise.
36658         (CHECK_BOUNDS_HIGH): Likewise.
36659         (CHECK_BOUNDS_BOTH): Likewise.
36660         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36661         (RETURN_BOUNDED_POINTER): Likewise.
36662         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36663         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36664         (POP_ERRNO_LOCATION_RETURN): Likewise.
36665         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36666         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36667         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36668         macros.
36669         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36670         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36671         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36672         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36673         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36674         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36675         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36676         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36677         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36678         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36679         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36680         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36681         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36682         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36683         removed macros.
36684         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36685         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36686         macros.
36687         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36688         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36689         * sysdeps/i386/i586/memset.S (memset): Likewise.
36690         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36691         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36692         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36693         macros.
36694         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36695         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36696         Change uses of L(2) to L(out).
36697         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36698         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36699         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36700         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36701         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36702         removed macros.
36703         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36704         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36705         macros.
36706         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36707         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36708         (RETURN): Do not use macro LEAVE.
36709         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36710         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36711         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36712         * sysdeps/i386/i686/memset.S (memset): Likewise.
36713         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36714         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36715         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36716         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36717         Likewise.
36718         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36719         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36720         L(1_2) and L(1_3) into L(1).
36721         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36722         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36723         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36724         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36725         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36726         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36727         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36728         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36729         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36730         macros.
36731         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36732         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36733         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36734         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36735         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36736         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36737         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36738         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36739         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36740         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36741         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36742         * sysdeps/i386/strspn.S (strspn): Likewise.
36743         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36744         conditional code.
36745         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36746         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36747         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36748         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36749         L(1_3) into L(1_1).
36750         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36751         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36752         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36753         macros.
36754         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36756 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36758         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36759         macro.
36761 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36763         * math/atest-exp.c (exp_mpn): Remove ROUND.
36764         * math/atest-exp2.c (exp_mpn): Likewise.
36765         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36767         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36768         * stdlib/tst-tls-atexit-lib.c: Likewise.
36769         * stdlib/tst-tls-atexit.c: Likewise.
36771 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36773         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36774         and __attribute_alloc_size__.
36776 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36778         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36779         __attribute_alloc_size__.
36780         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36781         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36783 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36785         * include/programs/xmalloc.h: New file.
36786         * catgets/gencat.c: Include it.
36787         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36788         * elf/pldd.c: Likewise.
36789         * iconv/iconv_charmap.c: Likewise.
36790         * iconv/iconvconfig.c: Likewise.
36791         * iconv/strtab.c: Likewise.
36792         * locale/programs/locale.c: Likewise.
36793         * locale/programs/localedef.h: Likewise.
36794         * locale/programs/simple-hash.c: Likewise.
36795         * nscd/nscd.h: Likewise.
36796         * nss/makedb.c: Likewise.
36797         * sysdeps/generic/ldconfig.h: Likewise.
36799 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36801         * Versions.def: Add GLIBC_2.18.
36802         * include/link.h (struct link_map): New member l_tls_dtor_count.
36803         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36804         (__call_tls_dtors): Likewise.
36805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36806         __cxa_thread_atexit_impl.
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36808         Likewise.
36809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36810         Likewise.
36811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36812         Likewise.
36813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36814         Likewise.
36815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36817         Likewise.
36818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36819         Likewise.
36820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36822         Likewise.
36823         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36824         (tests): Add test case tst-tls-atexit.
36825         (modules-names): Add shared library for tst-tls-atexit.
36826         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36827         (GLIBC_PRIVATE): Add __call_tls_dtors.
36828         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36829         for libstdc++.
36830         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36831         * stdlib/tst-tls-atexit.c: New test case.
36832         * stdlib/tst-tls-atexit-lib.c: New test case.
36834         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36836         * elf/Versions (ld): Add _dl_find_dso_for_object.
36837         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36838         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36839         (dl_open_worker): Use _dl_find_dso_for_object.
36840         * elf/dl-sym.c (do_sym): Likewise.
36841         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36843 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36845         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36846         Syntactic changes only.
36847         (_dl_runtime_profile): Do a tail-call to the resolved function.
36849 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36851         [BZ #13550]
36852         * sysdeps/x86_64/bp-asm.h: Remove file.
36853         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36854         <bp-sym.h> and <bp-asm.h>.
36855         (__clone): Do not use BP_SYM.
36856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36857         <bp-sym.h> and <bp-asm.h>.
36858         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36859         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36860         "bp-asm.h".
36861         (_setjmp): Do not use BP_SYM.
36862         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36863         "bp-asm.h".
36864         (setjmp): Do not use BP_SYM.
36865         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36866         libc_hidden_def.
36867         (mempcpy): Do not use BP_SYM in weak_alias.
36868         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36869         "bp-asm.h".
36870         (strchr): Do not use BP_SYM.
36871         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36872         "bp-asm.h".
36873         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36874         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36875         (_start): Do not use BP_SYM.
36876         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36877         "bp-asm.h".
36878         (strcat): Do not use BP_SYM.
36879         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36880         "bp-asm.h".
36881         (STRCMP): Do not use BP_SYM.
36882         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36883         "bp-asm.h".
36884         (STRCPY): Do not use BP_SYM.
36885         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36886         "bp-asm.h".
36887         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36888         "bp-asm.h".
36889         (FUNCTION): Do not use BP_SYM.
36890         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36891         weak_alias.
36892         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36894 2013-02-17  Andreas Jaeger  <aj@suse.de>
36896         * time/Versions: Sort entries.
36897         * string/Versions: Likewise.
36898         * resolv/Versions: Likewise.
36899         * posix/Versions: Likewise.
36900         * iconv/Versions: Likewise.
36901         * elf/Versions: Likewise.
36902         * wcsmbs/Versions: Likewise.
36904 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36906         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36907         loop termination condition.
36909         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36910         variable to calculate EZ.
36911         (__sqr): Likewise.
36913         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36914         the lower precision input.
36916 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36918         [BZ #13550]
36919         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36920         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36921         (run-via-rtld-prefix): Do not handle %-bp tests.
36922         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36923         (all-object-suffixes): Remove .ob.
36924         (bppfx): Remove variable.
36925         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36926         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36927         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36928         [$(build-bounded) = yes] (libtype.ob): Likewise.
36929         * Makerules (elide-routines.ob): Remove variable.
36930         (do-tests-clean): Do not handle *-bp.out.
36931         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36932         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36933         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36934         (tests): Do not include $(tests-bp.out).
36935         (xtests): Do not include $(xtests-bp.out).
36936         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36937         [$(build-bounded) = yes] ($(addprefix
36938         $(objpfx),$(binaries-bounded))): Remove rule.
36939         ($(objpfx)%-bp.out): Remove rule.
36940         * config.make.in (build-bounded): Remove variable.
36941         * crypt/Makefile [$(build-bounded) = yes]
36942         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36943         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36944         append to variable.
36945         [$(build-bounded) = yes] (install-lib): Likewise.
36946         [$(build-bounded) = yes] (generated): Likewise.
36947         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36948         Remove rule.
36949         * intl/Makefile [$(build-bounded) = yes]
36950         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36951         * math/Makefile [$(build-bounded) = yes]
36952         ($(tests:%=$(objpfx)%-bp): Likewise.
36953         * misc/Makefile [$(build-bounded) = yes]
36954         ($(objpfx)tst-tsearch-bp): Likewise.
36955         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36956         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36957         Remove dependency.
36958         * string/Makefile (o-objects.ob): Remove variable.
36959         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36960         (CFLAGS-.ob): Remove variable.
36961         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36962         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36963         both definitions of variable.
36964         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36965         (ASFLAGS-.ob): Remove variable.
36967 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36969         [BZ #13550]
36970         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36971         Remove __BOUNDED_POINTERS__ from condition.
36972         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36973         * string/bits/string2.h [!__NO_STRING_INLINES &&
36974         !__BOUNDED_POINTERS__]: Likewise.
36975         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36976         Likewise.
36977         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36978         Remove conditional code.
36979         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36980         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36981         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36982         condition.
36984         [BZ #13550]
36985         * csu/libc-start.c: Do not include <bp-sym.h>.
36986         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36987         * elf/dl-open.c: Do not include <bp-sym.h>.
36988         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36989         * math/fegetenv.c: Do not include <bp-sym.h>.
36990         (fegetenv): Do not use BP_SYM in versioned symbols.
36991         * nptl/sysdeps/pthread/bits/libc-lockP.h
36992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36993         <bp-sym.h>.
36994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36995         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36997         (__pthread_mutex_destroy): Likewise.
36998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36999         (__pthread_mutex_lock): Likewise.
37000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37001         (__pthread_mutex_trylock): Likewise.
37002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37003         (__pthread_mutex_unlock): Likewise.
37004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37005         (__pthread_mutexattr_init): Likewise.
37006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37007         (__pthread_mutexattr_destroy): Likewise.
37008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37009         (__pthread_mutexattr_settype): Likewise.
37010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37011         (__pthread_rwlock_init): Likewise.
37012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37013         (__pthread_rwlock_destroy): Likewise.
37014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37015         (__pthread_rwlock_rdlock): Likewise.
37016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37017         (__pthread_rwlock_tryrdlock): Likewise.
37018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37019         (__pthread_rwlock_wrlock): Likewise.
37020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37021         (__pthread_rwlock_trywrlock): Likewise.
37022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37023         (__pthread_rwlock_unlock): Likewise.
37024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37025         (__pthread_key_create): Likewise.
37026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37027         (__pthread_setspecific): Likewise.
37028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37029         (__pthread_getspecific): Likewise.
37030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37031         Likewise.
37032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37033         (_pthread_cleanup_push_defer): Likewise.
37034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37035         (_pthread_cleanup_pop_restore): Likewise.
37036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37037         (pthread_setcancelstate): Likewise.
37038         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37039         <bp-sym.h>.
37040         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37041         (memchr): Do not use BP_SYM in weak_alias.
37042         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37043         (fegetenv): Do not use BP_SYM in versioned symbols.
37044         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37045         (fesetenv): Do not use BP_SYM in versioned symbols.
37046         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37047         (feupdateenv): Do not use BP_SYM in versioned symbols.
37048         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37049         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37050         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37051         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37052         (open64): Do not use BP_SYM in weak_alias.
37053         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37054         (fegetenv): Do not use BP_SYM in versioned symbols.
37055         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37056         (fesetenv): Do not use BP_SYM in versioned symbols.
37057         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37058         (feupdateenv): Do not use BP_SYM in versioned symbols.
37059         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37060         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37061         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37062         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37063         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37064         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37065         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37066         <bp-sym.h>.
37067         (__libc_start_main): Do not use BP_SYM.
37069 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37072         redundant return line.
37073         (norm): Likewise.
37074         (denorm): Likewise.
37075         (dbl_mp): Likewise.
37076         (sub_magnitudes): Likewise.
37077         (__add): Likewise.
37078         (__sub): Likewise.
37079         (__mul): Likewise.
37080         (__inv): Likewise.
37081         (__dvd): Likewise.
37082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37083         (norm): Likewise.
37084         (denorm): Likewise.
37085         (dbl_mp): Likewise.
37086         (sub_magnitudes): Likewise.
37087         (__add): Likewise.
37088         (__sub): Likewise.
37089         (__mul): Likewise.
37090         (__inv): Likewise.
37091         (__dvd): Likewise.
37093         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37094         instead of __mul.
37095         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37096         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37097         (cc32): Likewise.
37099         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37100         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37102         of __mul for squares.
37103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37104         function
37105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37106         Likewise.
37107         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37108         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37110 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37112         [BZ #13550]
37113         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37114         code.
37115         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37116         prototype or function definition.  Rename ubp_* variables and
37117         parameters.  Remove argv definitions conditional on
37118         [__BOUNDED_POINTERS__].
37119         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37120         * elf/dl-runtime.c (_dl_fixup): Likewise.
37121         * include/set-hooks.h (RUN_HOOK): Likewise.
37122         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37123         definition.
37124         * string/strcpy.c (strcpy): Do not use __unbounded.
37125         * sysdeps/generic/frame.h (struct layout): Likewise.
37126         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37127         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37128         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37129         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37130         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37131         (__backtrace): Likewise.
37132         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37133         use __ptrvalue.
37134         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37135         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37136         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37137         Likewise.
37138         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37139         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37140         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37141         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37142         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37143         Do not use __unbounded.
37144         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37145         Rename __unboundedrlimits parameter to rlimits in prototype.
37146         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37147         Do not use __unbounded.
37148         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37149         not use __ptrvalue.
37150         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37151         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37152         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37154         __ptrvalue or __unbounded.
37155         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37156         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37157         use __unbounded.
37158         (__new_msgctl): Do not use __ptrvalue.
37159         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37160         __unbounded.
37161         (__libc_msgrcv): Do not use __ptrvalue.
37162         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37163         startup_info): Do not use __unbounded.
37164         (__libc_start_main): Likewise.  Rename ubp_* variables and
37165         parameters.  Remove argv definitions conditional on
37166         [__BOUNDED_POINTERS__].
37167         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37168         __ptrvalue.
37169         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37170         use __unbounded.
37171         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37172         or __ptrvalue.
37173         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37174         use __unbounded.
37175         (__new_shmctl): Do not use __ptrvalue.
37176         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37177         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37178         Likewise.
37179         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37181         (__libc_sigaction): Likewise.
37182         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37183         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37184         Likewise.
37185         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37187 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37189         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37191         * string/mempcpy.c: Implement by calling memcpy.
37193 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37197         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37198         evaluation.
37200         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37201         values in the mantissa.
37203         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37204         minimize writes to Z.
37205         (sub_magnitudes): Simplify code a bit.
37207 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37209         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37210         from the message.  The linker prefixes all warnings with that already.
37212 2013-02-12  Andreas Schwab  <schwab@suse.de>
37214         [BZ #15078]
37215         * posix/regexec.c (extend_buffers): Add parameter min_len.
37216         (check_matching): Pass minimum needed length.
37217         (clean_state_log_if_needed): Likewise.
37218         (get_subexp): Likewise.
37219         * posix/Makefile (tests): Add bug-regex34.
37220         (bug-regex34-ENV): Define.
37221         * posix/bug-regex34.c: New file.
37223         [BZ #11561]
37224         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37225         elements compare against the byte sequence of it, not its name.
37226         * posix/Makefile (tests): Add bug-regex35.
37227         (bug-regex35-ENV): Define.
37228         * posix/bug-regex35.c: New file.
37230 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37232         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37233         comment.
37234         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37235         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37236         (CHECK_EOL): Add undef.
37238 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37240         * bits/stdlib-bsearch.h: New file.
37241         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37242         * stdlib/stdlib.h: Likewise.
37244 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37246         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37247         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37248         declaration.
37249         * manual/search.texi (Array Search Function): Add missing const in
37250         lfind prototype.
37251         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37252         declaration to use rlim_t.
37253         (Basic Scheduling Functions): Remove erroneous const from
37254         sched_getparam prototype.  Remove erroneous * from
37255         sched_get_priority_max and sched_get_priority_min prototypes.
37256         (Resource Usage): Fix summary @comment on vtimes to refer to
37257         sys/vtimes.h rather than vtimes.h.
37258         Add missing *s in vtimes prototype.
37259         (Limits on Resources): Fix ulimit prototype to return long int.
37260         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37261         prototypes to use long int rather than double.
37262         (BSD Random): Fix initstate and setstate to use char *, not void *.
37263         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37264         prototype to make second argument 'struct aiocb64 *const[]'.
37265         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37266         (Status of AIO Operations): Remove erroneous const in aio_return and
37267         aio_return64 prototypes.
37268         (Synchronizing I/O): Fix sync prototype to return void.
37269         * manual/startup.texi (Suboptions): Remove an erroneous const in
37270         getsubopt prototype.
37271         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37272         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37273         use size_t rather than int.
37274         (Scanning All Users): Likewise for getpwent_r.
37275         (Setting Groups): Add missing const to setgroups prototype.
37276         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37277         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37278         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37279         'const void *' rather than 'const char *'.
37280         (Host Address Functions): Likewise for inet_ntop.
37281         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37282         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37283         ssize_t for return value.
37284         (Sending Data): Likewise for send, sendto, sendmsg.
37285         (Socket Option Functions): Add a missing const in setsockopt prototype.
37286         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37287         use wchar_t for the argument.
37288         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37289         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37290         take no arguments.
37291         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37292         double/float/long double for second argument.
37293         Fix return types of significand, significandf, significandl.
37294         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37295         argument in fchmod prototype.
37296         (File Owner): Use uid_t and gid_t in fchown prototype.
37297         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37298         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37299         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37300         use 'const struct dirent **' as argument types to CMP function pointer
37301         argument.
37302         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37303         (File Times): Fix summary magic @comment for struct utimbuf and utime
37304         to refer to utime.h, not time.h.
37305         * manual/string.texi (Argz Functions): Add missing const in
37306         argz_extract and argz_next prototypes.
37307         (Finding Tokens in a String): Likewise for basename.
37308         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37309         (Copying and Concatenation): Fix typo in wmemmove prototype.
37310         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37311         (Signal Stack): Remove erroneous const in sigstack prototype.
37312         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37313         prototype.
37314         (Simple Calendar Time): Likewise for stime.
37315         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37316         prototype.
37317         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37318         say sys/sysctl.h instead.
37319         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37320         and vsyslog prototypes.
37322 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37324         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37325         Remove.
37327 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37329         * misc/sys/mman.h: Fix typo in mremap comment.
37331 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37333         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37334         the '\0' terminator.
37336 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37338         [BZ #13550]
37339         * debug/segfault.c: Don't include <bp-checks.h>.
37340         * sysdeps/generic/bp-checks.h: Remove file.
37341         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37342         (__GETDENTS): Don't use CHECK_N.
37343         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37344         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37345         (__getgroups): Don't use CHECK_N.
37346         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37347         (setgroups): Don't use CHECK_N.
37348         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37349         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37350         (__libc_msgrcv): Don't use CHECK_N.
37351         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37352         (__libc_msgsnd): Don't use CHECK_N.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37354         <bp-checks.h>.
37355         (__libc_pread): Don't use CHECK_N.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37357         include <bp-checks.h>.
37358         (__libc_pread64): Don't use CHECK_N.
37359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37360         include <bp-checks.h>.
37361         (__libc_pwrite): Don't use CHECK_N.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37363         include <bp-checks.h>.
37364         (__libc_pwrite64): Don't use CHECK_N.
37365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37366         <bp-checks.h>.
37367         (__libc_pread): Don't use CHECK_N.
37368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37369         include <bp-checks.h>.
37370         (__libc_pread64): Don't use CHECK_N.
37371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37372         include <bp-checks.h>.
37373         (__libc_pwrite): Don't use CHECK_N.
37374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37375         include <bp-checks.h>.
37376         (__libc_pwrite64): Don't use CHECK_N.
37377         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37378         (do_pread): Don't use CHECK_N.
37379         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37380         (do_pread64): Don't use CHECK_N.
37381         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37382         (do_pwrite): Don't use CHECK_N.
37383         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37384         (do_pwrite64): Don't use CHECK_N.
37385         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37386         (__libc_readv): Don't use CHECK_N.
37387         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37388         (semop): Don't use CHECK_N.
37389         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37390         <bp-checks.h>.
37391         (semtimedop): Don't use CHECK_N.
37392         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37393         (__libc_pread): Don't use CHECK_N.
37394         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37395         <bp-checks.h>.
37396         (__libc_pread64): Don't use CHECK_N.
37397         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37398         <bp-checks.h>.
37399         (__libc_pwrite): Don't use CHECK_N.
37400         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37401         <bp-checks.h>.
37402         (__libc_pwrite64): Don't use CHECK_N.
37403         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37404         <bp-checks.h>.
37405         (__libc_msgrcv): Don't use CHECK_N.
37406         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37407         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37408         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37409         (__libc_writev): Don't use CHECK_N.
37411 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37413         * string/strcpy.c: Removed unused variable.
37415         * Makeconfig (+sysdep-includes): Define with := rather than =.
37416         Use an existing include/ subdir of each sysdeps dir before it.
37418 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37420         * nscd/connection.c (register_traced_file): Comment function.
37421         [HAVE_INOTIFY] (union __inev): Define.
37422         [HAVE_INOTIFY] (inotify_check_files): New function.
37423         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37424         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37425         clear_db_cache.
37426         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37428 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37430         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37431         loaded if not already and that a failure is permanent.
37433 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37435         [BZ #15006]
37436         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37437         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37439 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37441         [BZ #13550]
37442         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37443         (CHECK_1_NULL_OK): Likewise.
37444         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37445         (__fxstat): Do not use CHECK_1.
37446         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37447         <bp-checks.h>.
37448         (___fxstat64): Do not use CHECK_1.
37449         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37450         <bp-checks.h>.
37451         (__fxstatat): Do not use CHECK_1.
37452         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37453         <bp-checks.h>.
37454         (__fxstatat64): Do not use CHECK_1.
37455         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37456         <bp-checks.h>.
37457         (__fxstat): Do not use CHECK_1.
37458         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37459         <bp-checks.h>.
37460         (__fxstatat): Do not use CHECK_1.
37461         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37462         <bp-checks.h>.
37463         (__getresgid): Do not use CHECK_1.
37464         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37465         <bp-checks.h>.
37466         (__getresuid): Do not use CHECK_1.
37467         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37468         <bp-checks.h>.
37469         (__lxstat): Do not use CHECK_1.
37470         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37471         <bp-checks.h>.
37472         (__old_msgctl): Do not use CHECK_1.
37473         (__new_msgctl): Likewise.
37474         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37475         <bp-checks.h>.
37476         (__new_setrlimit): Do not use CHECK_1.
37477         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37478         <bp-checks.h>.
37479         (__old_shmctl): Do not use CHECK_1.
37480         (__new_shmctl): Likewise.
37481         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37482         <bp-checks.h>.
37483         (__xstat): Do not use CHECK_1.
37484         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37485         (__lxstat): Do not use CHECK_1.
37486         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37487         <bp-checks.h>.
37488         (___lxstat64): Do not use CHECK_1.
37489         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37490         (__old_msgctl): Do not use CHECK_1.
37491         (__new_msgctl): Likewise.
37492         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37493         <bp-checks.h>.
37494         (__gettimeofday): Do not use CHECK_1.
37495         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37496         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37497         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37498         <bp-checks.h>.
37499         (__gettimeofday): Do not use CHECK_1.
37500         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37501         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37502         (__new_shmctl): Do not use CHECK_1.
37503         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37504         <bp-checks.h>.
37505         (do_sigtimedwait): Do not use CHECK_1.
37506         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37507         <bp-checks.h>.
37508         (do_sigwaitinfo): Do not use CHECK_1.
37509         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37510         <bp-checks.h>.
37511         (msgctl): Do not use CHECK_1.
37512         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37513         <bp-checks.h>.
37514         (shmctl): Do not use CHECK_1.
37515         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37516         (ustat): Do not use CHECK_1.
37517         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37518         <bp-checks.h>.
37519         (__fxstat): Do not use CHECK_1.
37520         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37521         <bp-checks.h>.
37522         (__fxstatat): Do not use CHECK_1.
37523         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37524         <bp-checks.h>.
37525         (__lxstat): Do not use CHECK_1.
37526         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37527         <bp-checks.h>.
37528         (__xstat): Do not use CHECK_1.
37529         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37530         (__xstat): Do not use CHECK_1.
37531         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37532         (___xstat64): Do not use CHECK_1.
37534         [BZ #13550]
37535         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37536         definitions.
37537         (CHECK_BOUNDS_HIGH): Likewise.
37538         * string/strcpy.c: Do not include <bp-checks.h>.
37539         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37541 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37543         * nscd/nscd-client.h (__nscd_drop_map_ref):
37544         Add __attribute__ ((unused)).
37545         * nis/nss-nisplus.h (niserr2nss): Likewise.
37547         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37548         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37550         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37551         Remove inline keyword.
37552         * include/rounding-mode.h (round_away): Likewise.
37553         * libio/wfileops.c (adjust_wide_data): Likewise.
37554         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37555         (__m128i_strloadu_tolower): Likewise.
37556         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37557         (__m128i_strloadu_tolower): Likewise.
37558         * time/mktime.c (ydhms_diff): Likewise.
37559         * locale/elem-hash.h (elem_hash): Likewise.
37560         * locale/setlocale.c (setdata): Likewise.
37561         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37562         (re_string_wchar_at): Likewise.
37563         (bitset_not, bitset_merge, bitset_mask): Likewise.
37564         [!(__GNUC__ > 3)] (inline): Remove macro.
37565         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37566         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37567         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37568         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37569         * string/memcmp.c (memcmp_bytes): Likewise.
37570         * locale/programs/locarchive.c (compute_hashval): Likewise.
37571         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37572         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37573         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37574         * nss/getent.c (print_rpc, print_protocols): Likewise.
37575         (print_passwd, print_group, print_aliases): Likewise.
37576         * nis/nss-nisplus.h (niserr2nss): Likewise.
37577         * nscd/connections.c (restart_p): Likewise.
37578         Change return type to bool.
37580 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37582         * Makeconfig (all-Depend-files): Add existing
37583         $(sorted-subdirs:=/Depend) files.
37584         (all-subdirs): Remove nss.
37585         * sysdeps/unix/inet/Subdirs: Add it here instead.
37586         * hesiod/Depend: New file.
37588         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37589         instead of calling alloca.
37591         * io/lseek.c (__lseek): Rename to __libc_lseek.
37592         Define __lseek as an alias.
37594         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37596 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37598         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37599         else clause and remove check for non-standard endianness.
37601 2013-02-04  David S. Miller  <davem@davemloft.net>
37603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37605 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37607         [BZ #13550]
37608         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37609         (__ubp_memchr): Remove prototype.
37610         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37611         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37612         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37613         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37614         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37615         Remove alias.
37616         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37617         (__ubp_memchr): Likewise.
37618         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37619         (__ubp_memchr): Likewise.
37620         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37621         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37622         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37623         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37624         CHECK_STRING.
37625         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37626         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37627         (__getcwd): Do not use CHECK_STRING.
37628         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37629         <bp-checks.h>.
37630         (__real_chown): Do not use CHECK_STRING.
37631         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37632         <bp-checks.h>.
37633         (fchownat): Do not use CHECK_STRING.
37634         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37635         CHECK_STRING.
37636         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37637         <bp-checks.h>.
37638         (__lchown): Do not use CHECK_STRING.
37639         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37640         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37641         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37642         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37644         include <bp-checks.h>.
37645         (truncate64): Do not use CHECK_STRING.
37646         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37647         <bp-checks.h>.
37648         (__real_chown): Do not use CHECK_STRING.
37649         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37650         <bp-checks.h>.
37651         (__lchown): Do not use CHECK_STRING.
37652         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37653         <bp-checks.h>.
37654         (__chown): Do not use CHECK_STRING.
37655         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37656         <bp-checks.h>.
37657         (truncate64): Do not use CHECK_STRING.
37658         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37659         Likewise.
37660         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37661         (__xmknod): Do not use CHECK_STRING.
37662         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37663         <bp-checks.h>.
37664         (__xmknodat): Do not use CHECK_STRING.
37665         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37666         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37668 2013-02-04  Andreas Schwab  <schwab@suse.de>
37670         [BZ #14142]
37671         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37672         * include/netdb.h: Likewise for h_errno.
37673         * elf/tst-stackguard1.c: Include <tls.h>.
37675 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37677         * elf/link.h (struct link_map): Extend the l_addr comment.
37678         * include/link.h (struct link_map): Likewise.
37680 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37682         [BZ #13550]
37683         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37684         (BOUNDED_1): Remove macro.
37685         * debug/backtrace.c: Don't include <bp-checks.h>.
37686         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37687         (__backtrace): Likewise.
37688         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37689         <bp-checks.h>.
37690         (__backtrace): Don't use BOUNDED_1.
37691         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37692         <bp-checks.h>.
37693         (__backtrace): Don't use BOUNDED_1.
37694         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37695         (__backtrace): Don't use BOUNDED_1.
37696         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37697         (shmat): Don't use BOUNDED_N.
37699 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37701         [BZ #13550]
37702         * sysdeps/generic/bp-start.h: Remove file.
37703         * csu/libc-start.c: Don't include <bp-start.h>.
37704         (LIBC_START_MAIN): Set up __environ directly instead of using
37705         INIT_ARGV_and_ENVIRON.
37706         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37707         <bp-start.h>.
37709         [BZ #13550]
37710         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37711         definitions.
37712         (CHECK_FCNTL): Likewise.
37713         (CHECK_N_PAGES): Likewise.
37715         [BZ #13550]
37716         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37717         definitions.
37718         (CHECK_SIGSET_NULL_OK): Likewise.
37719         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37720         <bp-checks.h>.
37721         (sigpending): Don't use CHECK_SIGSET.
37722         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37723         <bp-checks.h>.
37724         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37725         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37726         <bp-checks.h>.
37727         (do_sigsuspend): Don't use CHECK_SIGSET.
37728         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37729         use CHECK_SIGSET.
37730         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37731         (do_sigwait): Don't use CHECK_SIGSET.
37732         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37733         use CHECK_SIGSET.
37734         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37735         include <bp-checks.h>.
37736         (sigpending): Don't use CHECK_SIGSET.
37737         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37738         include <bp-checks.h>.
37739         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37740         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37741         <bp-checks.h>.
37742         (sigpending): Don't use CHECK_SIGSET.
37743         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37744         <bp-checks.h>.
37745         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37747         [BZ #13550]
37748         * sysdeps/generic/bp-semctl.h: Remove file.
37749         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37750         <bp-checks.h> and <bp-semctl.h>.
37751         (__old_semctl): Don't use CHECK_SEMCTL.
37752         (__new_semctl): Likewise.
37753         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37754         and <bp-semctl.h>.
37755         (__old_semctl): Don't use CHECK_SEMCTL.
37756         (__new_semctl): Likewise.
37757         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37758         <bp-checks.h> and <bp-semctl.h>.
37759         (__old_semctl): Don't use CHECK_SEMCTL.
37760         (__new_semctl): Likewise.
37761         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37762         <bp-checks.h> and <bp-semctl.h>.
37763         (semctl): Don't use CHECK_SEMCTL.
37765         [BZ #13550]
37766         * Makerules (elide-bp-thunks): Remove variable.
37767         (elide-routines.oS): Don't use $(elide-bp-thunks).
37768         (elide-routines.os): Likewise.
37769         (elide-routines.o): Likewise.
37770         (elide-routines.op): Likewise.
37771         (elide-routines.og): Likewise.
37772         (objects): Don't use $(bp-thunks).
37773         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37774         include.
37775         (common-generated): Do not add s-proto-bp.d.
37776         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37777         (int): Likewise.
37778         (typ): Likewise.
37779         Do not generate makefile rules for bounded-pointer thunks.
37780         * sysdeps/generic/bp-thunks.h: Remove file.
37781         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37782         * sysdeps/unix/s-proto-bp.S: Likewise.
37784         [BZ #15062]
37785         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37786         parts of result separately when argument is not close to line from
37787         -i to i and one part of argument is small.
37788         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37789         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37790         * math/libm-test.inc (cacos_test): Add more tests.
37791         (casin_test): Likewise.
37792         (casinh_test): Likewise.
37793         * sysdeps/i386/fpu/libm-test-ulps: Update.
37794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37796 2013-01-31  David S. Miller  <davem@davemloft.net>
37798         * po/de.po: Update from translation team.
37800 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37802         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37804 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37806         * configure.in (_AC_PROG_CC_C89): New definition.
37807         * configure: Regenerate.
37809         * configure.in (AC_PROG_CPP): New definition.
37810         * configure: Regenerate.
37812 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37814         * debug/tst-backtrace.h: New file.
37815         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37816         (ret): Remove variable.
37817         (x): Likewise.
37818         (FAIL): Remove macro.
37819         (NO_INLINE): Likewise.
37820         (fn1): Use match function instead of strstr.
37821         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37822         (ret): Remove variable.
37823         (x): Likewise.
37824         (FAIL): Remove macro.
37825         (NO_INLINE): Likewise.
37826         (fn): Use match function instead of strstr.
37827         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37828         (ret): Remove variable.
37829         (x): Likewise.
37830         (FAIL): Remove macro.
37831         (NO_INLINE): Likewise.
37832         (handle_signal): Use match function instead of strstr.
37833         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37834         (ret): Remove variable.
37835         (x): Likewise.
37836         (FAIL): Remove macro.
37837         (NO_INLINE): Likewise.
37838         (handle_signal): Use match function instead of strstr.
37840 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37842         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37844 2013-01-23  David S. Miller  <davem@davemloft.net>
37846         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37847         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37848         argument of CAS if possible.
37849         * sysdeps/sparc/sparc64/bits/atomic.h
37850         (__arch_compare_and_exchange_val_32_acq): Likewise.
37851         (__arch_compare_and_exchange_val_64_acq): Likewise.
37853 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37855         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37856         * sysdeps/posix/ulimit.c: ... this.
37857         Include <limits.h>.
37858         * sysdeps/unix/bsd/ulimit.c: Remove file.
37860 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37862         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37863         (LDFLAGS-tst-array5): Likewise.
37865 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37867         [BZ #15036]
37868         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37869         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37870         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37871         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37873 2013-01-21  David S. Miller  <davem@davemloft.net>
37875         * sysdeps/sparc/backtrace.c: New file.
37876         * sysdeps/sparc/sparc32/backtrace.h: New file.
37877         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37878         * sysdeps/sparc/sparc64/backtrace.h: New file.
37879         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37880         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37881         -funwind-tables.
37883 2013-01-21  Andreas Schwab  <schwab@suse.de>
37885         [BZ #15020]
37886         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37887         closed its stdout.
37889 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37892         "mpa2.h".
37893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37895 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37896             Mark Mitchell  <mark@codesourcery.com>
37897             Tom de Vries  <tom@codesourcery.com>
37898             Paul Pluzhnikov  <ppluzhnikov@google.com>
37900         * debug/tst-backtrace2.c: New file.
37901         * debug/tst-backtrace3.c: Likewise.
37902         * debug/tst-backtrace4.c: Likewise.
37903         * debug/tst-backtrace5.c: Likewise.
37904         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37905         (CFLAGS-tst-backtrace3.c): Likewise.
37906         (CFLAGS-tst-backtrace4.c): Likewise.
37907         (CFLAGS-tst-backtrace5.c): Likewise.
37908         (LDFLAGS-tst-backtrace2): Likewise.
37909         (LDFLAGS-tst-backtrace3): Likewise.
37910         (LDFLAGS-tst-backtrace4): Likewise.
37911         (LDFLAGS-tst-backtrace5): Likewise.
37912         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37913         tst-backtrace4 and tst-backtrace5.
37915 2013-01-18  Anton Blanchard  <anton@samba.org>
37916             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37918         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37919         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37920         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37921         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37923         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37924         "+r" and remove output regs list as redundant.  Add explicit inline
37925         asm to specify register of return val to work around compiler codegen
37926         bug.  Remove (int) cast on return value.  Add return type parameter to
37927         use in macro so that this macro does not truncate return value for
37928         64-bit values.
37929         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37930         pass to INTERNAL_VSYSCALL_NCS.
37931         (INLINE_VSYSCALL): Add 'long int' as return type to
37932         INTERNAL_VSYSCALL_NCS macro invocation.
37933         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37934         INTERNAL_VSYSCALL_NCS macro invocation.
37935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37937 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37939         [BZ #14496]
37940         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37941         Fix application of SIMD FP exception mask.
37943         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37944         mp_no from a power of two.
37945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37946         __mpexp_twomm1.  Use __pow_mp.
37948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37949         multiplication.
37951 2013-01-17  David S. Miller  <davem@davemloft.net>
37953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37955 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37957         [BZ #15023]
37958         * include/complex.h: Condition contents on [!_COMPLEX_H].
37959         (__kernel_casinhf): New prototype.
37960         (__kernel_casinh): Likewise.
37961         (__kernel_casinhl): Likewise.
37962         * math/Makefile (libm_calls): Add k_casinh.
37963         * math/k_casinh.c: New file.
37964         * math/k_casinhf.c: Likewise.
37965         * math/k_casinhl.c: Likewise.
37966         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37967         finite nonzero arguments.
37968         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37969         finite nonzero arguments.
37970         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37971         finite nonzero arguments.
37972         * math/s_casinh.c: Do not include <float.h>.
37973         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37974         * math/s_casinhf.c: Do not include <float.h>.
37975         (__casinhf): Move code for finite nonzero arguments to
37976         k_casinhf.c.
37977         * math/s_casinhl.c: Do not include <float.h>.
37978         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37979         redefine.
37980         (__casinhl): Move code for finite nonzero arguments to
37981         k_casinhl.c.
37982         * math/libm-test.inc (cacos_test): Add more tests.
37983         * sysdeps/i386/fpu/libm-test-ulps: Update.
37984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37986 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37988         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37989         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37990         [!HAVE_MREMAP]: Remove [defined linux] case.
37991         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37993 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37995         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37997 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37999         * elf/elf.h (R_386_SIZE32): New relocation.
38000         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38001         R_386_SIZE32.
38002         (elf_machine_rela): Likewise.
38003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38004         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38006 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38008         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38009         (FP_FAST_FMA): Do not define.
38010         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38011         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38012         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38013         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38014         !_SOFT_FLOAT]: Likewise.
38015         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38016         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38017         value.
38018         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38019         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38020         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38021         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38022         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38023         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38024         file.
38026 2013-01-16  Andreas Schwab  <schwab@suse.de>
38028         [BZ #14327]
38029         * include/stdlib.h (__mktemp): Add declaration.
38030         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38031         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38033 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38035         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38036         definitions.
38037         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38038         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38039         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38040         definitions here.
38041         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38042         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38043         definitions.
38044         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38045         and ONE.
38046         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38047         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38048         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38049         definitions.
38050         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38051         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38052         definitions.
38053         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38055         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38057 2013-01-15  David S. Miller  <davem@davemloft.net>
38059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38060         trunc{,f} to libm-sysdep_routes.
38061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38063         file.
38064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38066         file.
38067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38068         file.
38069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38071         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38072         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38073         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38074         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38075         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38076         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38079         nearbyint{,f} to libm-sysdep_routes.
38080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38082         New file.
38083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38084         file.
38085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38086         New file.
38087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38088         file.
38089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38091         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38092         file.
38093         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38094         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38095         file.
38096         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38097         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38098         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38100         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38101         libc_feholdexcept and libc_fesetenv.
38103 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38105         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38107 2013-01-14  David S. Miller  <davem@davemloft.net>
38109         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38110         (SPARC_ASM_VIS2_IFUNC): Likewise.
38111         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38113         use of 'siam' instruction.
38114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38115         Likewise.
38116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38117         Likewise.
38118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38119         Likewise.
38120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38125         file.
38126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38127         file.
38128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38129         file.
38130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38131         file.
38132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38137         new VIS2 routines.
38138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38141         Likewise.
38142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38147         routines to libm-sysdep_routines.
38148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38151         fdim/fdimf to libm-sysdep_routines.
38152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38153         file.
38154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38156         file.
38157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38160         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38161         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38162         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38163         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38165 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38167         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38168         to optimize copies.
38170         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38171         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38175         local variable MPTWO.
38176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38177         Likewise.
38179 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38181         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38182         GLOB_NOESCAPE.
38184 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38186         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38188 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38190         * manual/pattern.texi (glob_t): Document gl_flags.
38191         (glob64_t): Likewise.
38193 2013-01-11  David S. Miller  <davem@davemloft.net>
38195         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38196         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38197         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38198         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38199         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38200         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38201         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38202         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38203         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38204         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38205         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38206         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38207         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38209         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38210         sparc V9 rather than using V8 code.
38211         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38212         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38214         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38215         Move to...
38216         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38217         Here.
38219 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38221         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38222         not in the main loop.
38223         * configure: Regenerated.
38225 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38227         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38228         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38229         to just #else.
38230         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38231         [!__GLIBC_HAVE_LONG_LONG] case.
38232         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38233         condition to just #else.
38234         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38235         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38236         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38237         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38238         unconditional.
38239         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38240         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38241         #elif condition to just #else.
38242         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38243         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38244         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38245         #elif condition to just #else.
38247 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38249         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38250         (EF_MIPS_ARCH_64): Fix value.
38251         (EF_MIPS_ARCH_32R2): New.
38252         (EF_MIPS_ARCH_64R2): New.
38254 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38256         * Makeconfig (+link-pie-before-libc): New.
38257         (+link-pie-after-libc): Likewise.
38258         (+link-pie-tests): Likewise.
38259         (+link-pie): Rewritten.
38260         (link-before-libc): Remove $(config-LDFLAGS).
38261         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38262         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38263         (config-LDFLAGS): Renamed to ...
38264         (rtld-LDFLAGS): This.
38265         (rtld-tests-LDFLAGS): New macro.
38266         (link-libc-rpath-link): Likewise.
38267         (link-libc-tests-rpath-link): Likewise.
38268         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38269         (link-libc): Prepand $(link-libc-rpath-link).
38270         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38271         (test-program-prefix): New macro.
38272         (test-via-rtld-prefix): Likewise.
38273         (test-program-cmd): Likewise.
38274         (host-test-program-cmd): Likewise.
38275         * Makefile ($(common-objpfx)testrun.sh): Replace
38276         $(run-program-prefix) with $(test-program-prefix).
38277         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38278         $(rtld-LDFLAGS).
38279         ($(common-objpfx)shlib.lds): Likewise.
38280         (build-module-helper): Likewise.
38281         ($(common-objpfx)format.lds): Likewise.
38282         * Rules (binaries-pie-tests): New.
38283         (binaries-pie-notests): Likewise.
38284         (binaries-pie): Rewritten.
38285         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38286         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38287         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38288         (make-test-out): Replace $(host-built-program-cmd) with
38289         $(host-test-program-cmd).
38290         * config.make.in (build-hardcoded-path-in-tests): New variable.
38291         * configure.in (--enable-hardcoded-path-in-tests): New configure
38292         option.
38293         (hardcoded_path_in_tests): New AC_SUBST.
38294         * configure: Regenerated.
38295         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38296         $(built-program-cmd) with $(test-program-cmd).
38297         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38298         (test_program_cmd): This.
38299         * elf/Makefile ($(objpfx)order.out): Run test with
38300         $(test-program-prefix).
38301         ($(objpfx)order2.out): Likewise.
38302         ($(objpfx)tst-initorder.out): Likewise.
38303         ($(objpfx)tst-initorder2.out): Likewise.
38304         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38305         $(test-program-cmd).
38306         ($(objpfx)tst-array1-static.out): Likewise.
38307         ($(objpfx)tst-array2.out): Likewise.
38308         ($(objpfx)tst-array3.out): Likewise.
38309         ($(objpfx)tst-array4.out): Likewise.
38310         ($(objpfx)tst-array5.out): Likewise.
38311         ($(objpfx)tst-array5-static.out): Likewise.
38312         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38313         $(test-program-cmd).
38314         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38315         $(run-program-prefix) with $(test-program-prefix).
38316         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38317         (test_program_prefix): This.
38318         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38319         $(run-program-prefix) with $(test-program-prefix).
38320         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38321         (test_program_prefix): This.
38322         * iconvdata/tst-tables.sh: Likewise.
38323         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38324         $(run-program-prefix) with $(test-program-prefix).
38325         ($(objpfx)tst-translit.out): Likewise.
38326         ($(objpfx)tst-gettext2.out): Likewise.
38327         ($(objpfx)tst-gettext4.out): Likewise.
38328         ($(objpfx)tst-gettext6.out): Likewise.
38329         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38330         (test_program_prefix): This.
38331         * intl/tst-gettext2.sh: Likewise.
38332         * intl/tst-gettext4.sh  Likewise.
38333         * intl/tst-gettext6.sh: Likewise.
38334         * intl/tst-translit.sh: Likewise.
38335         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38336         with $(test-program-cmd).
38337         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38338         $(run-program-prefix) with $(test-program-prefix).
38339         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38340         (test_program_prefix): This.
38341         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38342         $(run-program-prefix) with $(test-program-prefix).
38343         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38344         (test_program_prefix): This.
38345         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38346         * posix/Makefile ($(objpfx)globtest.out): Replace
38347         $(run-via-rtld-prefix) and $(test-wrapper) with
38348         $(test-program-prefix) and $(test-via-rtld-prefix).
38349         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38350         $(test-program-prefix).
38351         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38352         $(host-test-program-cmd).
38353         (tst-spawn-ARGS): Likewise.
38354         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38355         $(test-program-prefix).
38356         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38357         (test_via_rtld_prefix): This.
38358         (test_wrapper): Renamed to ...
38359         (test_program_prefix): This.
38360         (run_program_prefix): Replaced by test_program_prefix.
38361         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38362         (test_program_prefix): This.
38363         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38364         with $(host-test-program-cmd).
38365         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38366         $(run-program-prefix) with $(test-program-prefix).
38367         ($(objpfx)tst-printf.out): Likewise.
38368         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38369         $(test-program-cmd).
38370         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38371         (test_program_prefix): This.
38372         * stdio-common/tst-unbputc.sh: Likewise.
38373         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38374         $(run-program-prefix) with $(test-program-prefix).
38375         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38376         (test_program_prefix): This.
38377         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38378         $(built-program-cmd) with $(test-program-cmd).
38380 2013-01-11  Andreas Jaeger  <aj@suse.de>
38382         [BZ #15003]
38383         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38384         value. Sync with Linux 3.7.
38386 2013-01-10  David S. Miller  <davem@davemloft.net>
38388         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38389         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38390         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38392 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38394         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38395         never set.
38396         * configure: Regenerated.
38398 2013-01-10  David S. Miller  <davem@davemloft.net>
38400         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38401         sparc V9 rather than using V8 code.
38402         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38403         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38405 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38407         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38408         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38409         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38410         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38411         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38412         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38413         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38414         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38415         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38416         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38417         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38418         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38419         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38420         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38421         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38422         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38423         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38424         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38425         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38426         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38427         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38428         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38429         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38430         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38431         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38432         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38433         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38435 2013-01-10  David S. Miller  <davem@davemloft.net>
38437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38439 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38441         * posix/Makefile (tests-static): New variable.
38442         (tests): Add $(tests-static).
38443         (tst-exec-static-ARGS): New variable.
38444         (tst-spawn-static-ARGS): Likewise.
38445         * posix/tst-exec-static.c: New file.
38446         * posix/tst-spawn-static.c: Likewise.
38447         * posix/tst-exec.c: Support run directly.
38448         * posix/tst-spawn.c: Likewise.
38450 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38452         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38453         long.
38454         * math/bits/mathcalls.h (llrint): Likewise.
38455         (llround): Likewise.
38456         * stdlib/stdlib.h (struct drand48_data): Likewise.
38457         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38458         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38459         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38460         Likewise.
38461         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38462         Likewise.
38463         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38464         (elf_greg_t): Likewise.
38465         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38466         (__jmp_buf): Likewise.
38467         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38468         definitions.
38469         (llrint): Likewise, for all definitions.
38470         (llrintl): Likewise.
38472         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38473         Remove [__GNUC__] condition.
38474         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38475         condition to just [__USE_ISOC99].
38476         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38478 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38480         [BZ #14200]
38481         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38482         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38483         defined.
38484         (_POSIX_V6_ILP32_OFF32): Likewise.
38485         (_XBS5_ILP32_OFF32): Likewise.
38486         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38487         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38489 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38491         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38494         doubles __mpexp_twomm1.  Adjust usage.
38495         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38496         Remove.
38498 2013-01-10  Andreas Schwab  <schwab@suse.de>
38500         [BZ #14964]
38501         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38502         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38504 2013-01-09  David S. Miller  <davem@davemloft.net>
38506         [BZ #15003]
38507         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38508         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38509         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38510         (TCP_FASTOPEN): Define.
38511         (tcp_repair_opt): New structure.
38512         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38513         enum values.
38514         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38515         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38516         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38517         (tcp_cookie_transactions): New structure.
38519 2013-01-09  Anton Blanchard  <anton@samba.org>
38521         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38522         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38523         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38524         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38526 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38528         * include/features.h (__USE_ANSI): Remove.
38530 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38532         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38534         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38536 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38538         * sysdeps/s390/fpu/libm-test-ulps: Update.
38540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38542         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38543         (__acr): Likewise.
38544         (__cpy): Likewise.
38545         (norm): Likewise.
38546         (denorm): Likewise.
38547         (__mp_dbl): Likewise.
38548         (__dbl_mp): Likewise.
38549         (add_magnitudes): Likewise.
38550         (sub_magnitudes): Likewise.
38551         (__add): Likewise.
38552         (__sub): Likewise.
38553         (__mul): Likewise.
38554         (__inv): Likewise.
38555         (__dvd): Likewise.
38556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38557         (__acr): Likewise.
38558         (__cpy): Likewise.
38559         (norm): Likewise.
38560         (denorm): Likewise.
38561         (__mp_dbl): Likewise.
38562         (__dbl_mp): Likewise.
38563         (add_magnitudes): Likewise.
38564         (sub_magnitudes): Likewise.
38565         (__add): Likewise.
38566         (__sub): Likewise.
38567         (__mul): Likewise.
38568         (__inv): Likewise.
38569         (__dvd): Likewise.
38570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38571         (__acr): Likewise.
38572         (__cpy): Likewise.
38573         (norm): Likewise.
38574         (denorm): Likewise.
38575         (__mp_dbl): Likewise.
38576         (__dbl_mp): Likewise.
38577         (add_magnitudes): Likewise.
38578         (sub_magnitudes): Likewise.
38579         (__add): Likewise.
38580         (__sub): Likewise.
38581         (__mul): Likewise.
38582         (__inv): Likewise.
38583         (__dvd): Likewise.
38585 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38587         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38588         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38589         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38590         2 && __USE_EXTERN_INLINES]: Likewise.
38592 2013-01-08  Andreas Jaeger  <aj@suse.de>
38594         [BZ# 14985]
38595         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38596         Remove.
38597         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38598         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38600 2013-01-07  Anton Blanchard  <anton@samba.org>
38602         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38603         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38604         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38605         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38606         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38607         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38608         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38609         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38611         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38612         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38613         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38614         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38615         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38616         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38617         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38618         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38619         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38620         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38621         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38622         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38623         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38624         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38625         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38626         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38627         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38628         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38629         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38631         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38632         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38634         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38635         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38636         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38637         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38638         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38639         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38640         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38641         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38642         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38644         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38646 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38648         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38649         (__MALLOC_PMT): Likewise.
38650         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38651         [__GNUC__], only on [_LIBC].
38652         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38653         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38654         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38655         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38656         forward declaration.
38657         (realloc_hook_ini): Likewise.
38658         (memalign_hook_ini): Likewise.
38659         (__libc_memalign): Do not use __MALLOC_PMT in variable
38660         declaration.
38661         (__libc_valloc): Likewise.
38662         (__libc_pvalloc): Likewise.
38663         (__libc_calloc): Likewise.
38664         (__posix_memalign): Likewise.
38666         [BZ #14996]
38667         * math/s_casinh.c: Include <float.h>.
38668         (__casinh): Do not do computation with squaring and square root
38669         for large arguments.
38670         * math/s_casinhf.c: Include <float.h>.
38671         (__casinhf): Do not do computation with squaring and square root
38672         for large arguments.
38673         * math/s_casinhl.c: Include <float.h>.
38674         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38675         (__casinhl): Do not do computation with squaring and square root
38676         for large arguments.
38677         * math/libm-test.inc (casin_test): Add more tests.
38678         (casinh_test): Likewise.
38679         * sysdeps/i386/fpu/libm-test-ulps: Update.
38680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38682 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38684         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38685         (__x86_64_raw_data_cache_size): Likewise.
38686         (__x86_64_data_cache_size_half): Likewise.
38687         (__x86_64_raw_data_cache_size_half): Likewise.
38688         (__x86_64_shared_cache_size): Likewise.
38689         (__x86_64_raw_shared_cache_size): Likewise.
38690         (__x86_64_shared_cache_size_half): Likewise.
38691         (__x86_64_raw_shared_cache_size_half): Likewise.
38692         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38693         to ...
38694         (__x86_data_cache_size): This.
38695         (__x86_64_raw_data_cache_size): Renamed to ...
38696         (__x86_raw_data_cache_size): This.
38697         (__x86_64_data_cache_size_half): Renamed to ...
38698         (__x86_data_cache_size_half): This.
38699         (__x86_64_raw_data_cache_size_half): Renamed to ...
38700         (__x86_raw_data_cache_size_half): This.
38701         (__x86_64_shared_cache_size): Renamed to ...
38702         (__x86_shared_cache_size): This.
38703         (__x86_64_raw_shared_cache_size): Renamed to ...
38704         (__x86_raw_shared_cache_size): This.
38705         (__x86_64_shared_cache_size_half): Renamed to ...
38706         (__x86_shared_cache_size_half): This.
38707         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38708         (__x86_raw_shared_cache_size_half): This.
38709         * sysdeps/x86_64/memcpy.S: Updated.
38710         * sysdeps/x86_64/memset.S: Likewise.
38711         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38712         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38713         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38715 2013-01-04  David S. Miller  <davem@davemloft.net>
38717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38719 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38721         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38722         1 to avoid redefinition warning.
38723         (__USE_GNU): Don't define.
38724         (init_signaling_nan): Protoize.
38726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38728 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38730         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38732         (__cpymn): Likewise.
38733         (norm): Remove commented code.
38734         (denorm): Likewise.
38735         (__mp_dbl): Likewise.
38736         (__inv): Likewise.
38737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38738         (__cpymn): Likewise.
38739         (norm): Remove commented code.
38740         (denorm): Likewise.
38741         (__mp_dbl): Likewise.
38742         (__inv): Likewise.
38744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38745         mp_no value for 1.0 and 2.0.
38746         (norm): Use RADIXI instead of radixi.d.
38747         (denorm): Likewise.
38748         (__mul): Use 0.0 instead of zero.d.
38749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38750         mp_no value for 1.0 and 2.0.
38751         (norm): Use RADIXI instead of radixi.d.
38752         (denorm): Likewise.
38753         (__mul): Use 0.0 instead of zero.d.
38755 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38757         [BZ #14994]
38758         * math/s_casinh.c (__casinh): Reduce finite argument to first
38759         quadrant then set signs of results at the end.
38760         * math/s_casinhf.c (__casinhf): Likewise.
38761         * math/s_casinhl.c (__casinhl): Likewise.
38762         * math/libm-test.inc (casin_test): Add more tests.
38763         (casinh_test): Likewise.
38764         * sysdeps/i386/fpu/libm-test-ulps: Update.
38765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38767 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38769         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38771         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38773         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38774         declarations.
38775         (denorm): Likewise.
38776         (__mp_dbl): Likewise.
38777         (__inv): Likewise.
38779         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38780         and adjust the header comment.
38782         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38783         variable name from declaration.
38785 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38788         Initialize COMMON_CPUID_INDEX_7 element.
38789         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38790         (CPUID_RTM): Likewise.
38791         (HAS_RTM): Likewise.
38792         (COMMON_CPUID_INDEX_7): New enum.
38794 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38796         [BZ #14981]
38797         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38798         size is zero, record memory as freed.
38800 2013-01-03  Andreas Jaeger  <aj@suse.de>
38802         * po/ia.po: Add new Interlingua translation.
38804 2012-01-03  Allan McRae  <allan@archlinux.org>
38806         * locale/programs/localedef.c: Fix description of '--posix' flag.
38808 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38810         * NEWS: Update dates in second copyright notice.
38811         * README: Update copyright dates in example.
38812         * manual/libc.texinfo: Update copyright dates.
38813         * scripts/test-installation.pl: Update copyright date in --version
38814         output.
38816         * hurd/ctty-input.c: Fix copyright notice formatting.
38817         * hurd/ctty-output.c: Likewise.
38818         * hurd/dtable.c: Likewise.
38819         * hurd/hurd-raise.c: Likewise.
38820         * hurd/hurdprio.c: Likewise.
38821         * hurd/msgportdemux.c: Likewise.
38822         * misc/sys/file.h: Likewise.
38823         * misc/sys/ioctl.h: Likewise.
38824         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38825         * sysdeps/mach/hurd/chdir.c: Likewise.
38826         * sysdeps/mach/hurd/fchdir.c: Likewise.
38827         * sysdeps/mach/hurd/rename.c: Likewise.
38828         * sysdeps/mach/hurd/rmdir.c: Likewise.
38829         * sysdeps/mach/hurd/seekdir.c: Likewise.
38830         * sysdeps/mach/hurd/setsid.c: Likewise.
38831         * sysdeps/posix/wait3.c: Likewise.
38833         * All files with FSF copyright notices: Update copyright dates
38834         using scripts/update-copyrights.
38835         * intl/plural.c: Regenerated.
38836         * locale/programs/charmap-kw.h: Likewise.
38837         * locale/programs/locfile-kw.h: Likewise.
38839 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38841         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38842         four values.
38844         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38845         calculation loop and add branch prediction.
38847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38848         check access beyond bounds of m1np.
38850         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38851         MPTWO.
38852         (__inv): Remove local variable MPTWO to use the global
38853         constant.
38854         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38855         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38856         variable MPTWO.
38857         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38858         MP3HALFS static const.
38860 2013-01-01  David S. Miller  <davem@davemloft.net>
38862         * po/ca.po: Update from translation team.
38864 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38866         * scripts/update-copyrights: New file.
38867         * Makeconfig: Reformat copyright notice.
38868         * ctype/ctype.h: Likewise.
38869         * debug/swprintf_chk.c: Likewise.
38870         * elf/dl-cache.c: Likewise.
38871         * elf/dl-debug.c: Likewise.
38872         * elf/dl-object.c: Likewise.
38873         * grp/initgroups.c: Likewise.
38874         * hurd/Makefile: Likewise.
38875         * hurd/hurd/signal.h: Likewise.
38876         * hurd/hurdfault.c: Likewise.
38877         * hurd/hurdioctl.c: Likewise.
38878         * hurd/hurdlookup.c: Likewise.
38879         * hurd/intr-msg.c: Likewise.
38880         * iconv/gconv_open.c: Likewise.
38881         * libio/swprintf.c: Likewise.
38882         * locale/lc-ctype.c: Likewise.
38883         * locale/nl_langinfo.c: Likewise.
38884         * mach/Machrules: Likewise.
38885         * mach/Makefile: Likewise.
38886         * malloc/obstack.h: Likewise.
38887         * manual/Makefile: Likewise.
38888         * manual/tsort.awk: Likewise.
38889         * misc/bits/stab.def: Likewise.
38890         * nis/nis_print_group_entry.c: Likewise.
38891         * nis/nis_table.c: Likewise.
38892         * nis/nss_compat/compat-pwd.c: Likewise.
38893         * nis/nss_compat/compat-spwd.c: Likewise.
38894         * po/Makefile: Likewise.
38895         * posix/fnmatch.c: Likewise.
38896         * posix/regex.h: Likewise.
38897         * resolv/Makefile: Likewise.
38898         * resolv/nss_dns/dns-network.c: Likewise.
38899         * resolv/res_hconf.c: Likewise.
38900         * scripts/gen-sorted.awk: Likewise.
38901         * soft-fp/soft-fp.h: Likewise.
38902         * stdio-common/printf.h: Likewise.
38903         * stdlib/monetary.h: Likewise.
38904         * stdlib/random.c: Likewise.
38905         * stdlib/random_r.c: Likewise.
38906         * sysdeps/generic/Makefile: Likewise.
38907         * sysdeps/gnu/Makefile: Likewise.
38908         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38910         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38912         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38914         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38915         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38919         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38920         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38921         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38922         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38923         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38924         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38925         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38926         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38927         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38928         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38929         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38930         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38936         * sysdeps/mach/hurd/errnos.awk: Likewise.
38937         * sysdeps/mach/hurd/fork.c: Likewise.
38938         * sysdeps/mach/hurd/getcwd.c: Likewise.
38939         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38940         * sysdeps/mach/hurd/mmap.c: Likewise.
38941         * sysdeps/mach/hurd/utimes.c: Likewise.
38942         * sysdeps/mach/hurd/xmknod.c: Likewise.
38943         * sysdeps/posix/profil.c: Likewise.
38944         * sysdeps/posix/readdir_r.c: Likewise.
38945         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38946         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38947         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38948         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38950         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38951         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38952         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38954         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38955         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38956         * sysdeps/pthread/lio_listio.c: Likewise.
38957         * sysdeps/sparc/dl-procinfo.h: Likewise.
38958         * sysdeps/unix/i386/sysdep.S: Likewise.
38959         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38960         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38961         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38962         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38964         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38965         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38966         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38967         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38968         * sysdeps/wordsize-32/divdi3.c: Likewise.
38969         * time/sys/time.h: Likewise.
38970         * wcsmbs/Makefile: Likewise.
38972 2013-01-01  David S. Miller  <davem@davemloft.net>
38974         * po/fr.po: Update from translation team.
38976         * catgets/gencat.c: Update copyright year.
38977         * csu/version.c: Likewise.
38978         * debug/catchsegv.sh: Likewise.
38979         * debug/pcprofiledump.c: Likewise.
38980         * debug/xtrace.sh: Likewise.
38981         * elf/ldconfig.c: Likewise.
38982         * elf/ldd.bash.in: Likewise.
38983         * elf/pldd.c: Likewise.
38984         * elf/sotruss.ksh: Likewise.
38985         * elf/sprof.c: Likewise.
38986         * iconv/iconv_prog.c: Likewise.
38987         * iconv/iconvconfig.c: Likewise.
38988         * locale/programs/locale.c: Likewise.
38989         * locale/programs/localedef.c: Likewise.
38990         * login/programs/pt_chown.c: Likewise.
38991         * malloc/memusage.sh: Likewise.
38992         * malloc/memusagestat.c: Likewise.
38993         * malloc/mtrace.pl: Likewise.
38994         * nscd/nscd.c: Likewise.
38995         * nss/getent.c: Likewise.
38996         * nss/makedb.c: Likewise.
38997         * posix/getconf.c: Likewise.
38999 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39001         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39002         numbers.
39004 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39006         * math/bits/mathcalls.h (modf): Use __nonnull.
39008 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39010         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39011         (split): Use macro CN instead of the bare value.
39012         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39013         could be used.
39014         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39015         instead of the bare value.
39016         (power1): Likewise.
39018 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39021         __ATAN_TWOM.
39022         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39024         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39025         their values.
39026         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39027         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39028         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39029         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39031 2012-12-28  Andreas Jaeger  <aj@suse.de>
39033         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39034         values are from Linux 3.7.
39036         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39037         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39039 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39041         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39042         TRUE case.
39044         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39045         (norm): Likewise.
39046         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39047         variables with preprocessor constants.
39048         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39049         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39050         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39052 2012-12-27  Bruno Haible  <bruno@clisp.org>
39054         [BZ #14317]
39055         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39056         only if needed.
39058 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39061         and use variable directly.
39062         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39064         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39065         MPONE.
39066         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39067         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39068         variable MPONE.
39069         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39071         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39072         include directive.  Remove local variable MPONE.
39073         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39074         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39075         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39077 2012-12-25  David S. Miller  <davem@davemloft.net>
39079         * version.h (RELEASE): Set to "development".
39080         (VERSION): Set to "2.17.90".
39081         * NEWS: Add 2.18 section.
39083 2012-12-21  David S. Miller  <davem@davemloft.net>
39085         * po/hr.po: Update from translation team.
39087 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39089         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39091 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39093         * NEWS:  Mention new memcpy for MIPS.
39095 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39097         * manual/contrib.texi (Contributors): Spelling correction.
39099 2012-12-15  David S. Miller  <davem@davemloft.net>
39101         * po/ru.po: Update from translation team.
39103 2012-12-13  David S. Miller  <davem@davemloft.net>
39105         * NEWS: Mention IFUNC testsuite enhancements.
39107         * po/pl.po: Update from translation team.
39108         * po/bg.po: Likewise.
39110         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39111         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39113 2012-12-11  David S. Miller  <davem@davemloft.net>
39115         * po/sv.po: Update from translation team.
39117         * po/vi.po: Update from translation team.
39119         * po/cs.po: Update from translation team.
39121         * po/de.po: Update from translation team.
39122         * po/eo.po: Likewise.
39123         * po/nl.po: Likewise.
39125 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39127         [BZ #14246]
39128         * manual/argp.texi (Argp Helper Functions): Move node to follow
39129         Argp Parsing State.
39131         [BZ #14872]
39132         * manual/conf.texi (Limits on File System Capacity): Mention if
39133         terminating null is included in the max size.
39135 2012-12-10  Andreas Jaeger  <aj@suse.de>
39137         * po/cs.po: Update from translation team.
39139 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39141         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39142         void pointer and cast to uintptr_t.
39143         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39144         path.
39145         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39146         * sysdeps/s390/s390-64/memset.S: Likewise.
39148 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39150         [BZ #14833]
39151         * menual/message.texi (Message Translation): Fix typos.
39152         (Helper programs for gettext): Likewise.
39154 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39156         [BZ #14898]
39157         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39158         Change to -1.
39160 2012-12-07  David S. Miller  <davem@davemloft.net>
39162         * po/libc.pot: Update.
39164 2012-12-07  Richard Henderson  <rth@redhat.com>
39166         [BZ #10114]
39167         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39168         normal/normal case to before the switch.
39169         (_FP_DIV): Likewise.
39171 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39172             Mike Frysinger  <vapier@gentoo.org>
39174         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39175         check for __NR_fadvise64_64.
39177 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39179         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39180         0, not just to plain "0" as a statement.
39181         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39182         with cw.
39184 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39186         * NEWS: Use sourceware.org in Bugzilla URL.
39188 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39191         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39193         * stdio-common/tst-put-error.c (do_test): Add newline to the
39194         padded test to ensure flush.
39196 2012-12-05  Jeff Law  <law@redhat.com>
39198         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39200 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39202         * README: Don't refer to ports add-on as distributed separately.
39203         Mention AArch64 in list of systems supported in the ports add-on.
39205         * LICENSES: Add more non-FSF copyright and license notices.
39207         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39208         ((unused)).
39210         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39212         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39213         10000 as width of padded output.
39215 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39217         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39219         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39220         variable LX with __attribute__ ((unused)).
39221         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39222         Likewise.
39223         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39225         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39226         with __attribute__ ((unused)).
39228 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39230         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39232 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39234         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39235         (CFLAGS-nldbl-acos.c): New variable.
39236         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39237         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39238         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39239         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39240         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39241         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39242         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39243         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39244         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39245         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39246         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39247         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39248         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39249         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39250         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39251         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39252         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39253         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39254         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39255         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39256         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39257         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39258         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39259         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39260         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39261         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39262         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39263         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39264         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39265         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39266         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39267         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39268         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39269         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39270         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39271         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39272         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39273         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39274         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39275         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39276         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39277         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39278         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39279         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39280         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39281         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39282         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39283         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39284         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39285         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39286         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39287         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39288         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39289         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39290         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39291         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39292         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39293         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39294         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39295         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39296         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39297         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39298         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39299         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39300         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39301         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39302         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39303         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39304         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39305         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39306         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39307         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39308         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39309         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39310         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39311         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39312         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39313         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39314         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39315         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39316         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39317         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39318         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39319         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39320         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39321         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39322         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39323         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39324         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39325         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39326         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39327         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39328         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39329         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39330         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39331         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39332         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39335         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39337         [BZ #14914]
39338         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39339         whole low double instead of just low 47 bits when splitting values
39340         into two parts.
39342 2012-12-03  Allan McRae  <allan@archlinux.org>
39344         * manual/stdio.texi (Predefined Printf Handlers): Remove
39345         @hsep and @vsep usage.
39347 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39349         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39350         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39352 2012-12-03  Jeff Law  <law@redhat.com>
39354         * time/sys/time.h (settimeofday): Do not mark TV argument
39355         as __nonnull.
39357 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39359         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39360         when currently writing and seek to current position when not.
39361         * libio/Makefile (tests): Remove bug-fclose1.
39362         * libio/bug-fclose1.c: Delete.
39364 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39366         * manual/arith.texi (feenableexcept): Fix typo.
39367         (fedisableexcept): Likewise.
39369 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39371         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39372         second, differently-typed declaration, rather than a cast.
39374 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39376         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39377         * include/rpc/svc.h: ... here.
39379 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39381         [BZ #13013]
39382         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39383         depending n and resplen2 to catch cases where answer
39384         equals answerp2.
39386 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39388         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39389         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39391 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39393         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39395 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39397         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39399 2012-11-28  Jeff Law  <law@redhat.com>
39401         [BZ #13761]
39402         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39403         dataset_temporary.  Track alloca usage into alloca_used.
39404         If dataset is large allocate and release it via malloc/free.
39406 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39408         [BZ #14197]
39409         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39411 2012-11-28  David S. Miller  <davem@davemloft.net>
39413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39415 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39417         [BZ #14803]
39418         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39419         of pi/2 rounded to nearest to 64 bits.
39420         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39421         nearest to 64 bits.
39422         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39423         bits.
39425 2012-11-28  Jeff Law <law@redhat.com>
39426             Martin Osvald <mosvald@redhat.com>
39428         [BZ #14889]
39429         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39430         * sunrpc/svc.c: Include time.h.
39431         (__svc_accept_failed): New function.
39432         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39433         any reason other than EINTR, call __svc_accept_failed.
39434         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39435         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39437 2012-11-28  Andreas Schwab  <schwab@suse.de>
39439         * scripts/abilist.awk: Also handle indirect functions in .opd
39440         section.
39442 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39444         [BZ #13881]
39445         * sysdeps/x86/fpu/powl_helper.c: New file.
39446         * sysdeps/x86/fpu/Makefile: Likewise.
39447         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39448         (p3): New object.
39449         (__ieee754_powl): Use __powl_helper for finite arguments except
39450         integer exponents below 8.
39451         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39452         (p3): New object.
39453         (__ieee754_powl): Use __powl_helper for finite arguments except
39454         integer exponents below 8.
39455         * math/libm-test.inc (pow_test): Add more tests and enable some
39456         previously disabled tests.
39457         * sysdeps/i386/fpu/libm-test-ulps: Update.
39458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39460 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39461             Carlos O'Donell  <carlos_odonell@mentor.com>
39463         * nss/makedb.c (is_prime): Assert that input is odd and greater
39464         than 4.  Note that fact in a comment too.
39465         (next_prime): Add 4 to input.
39467 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39469         [BZ #11741]
39470         * libio/Makefile (tests): Add test case tst-fwrite-error.
39471         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39472         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39473         * libio/tst-fwrite-error.c: New test case.
39475 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39477         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39478         before casting to void *.
39479         * include/libc-internal.h (__pointer_type): New macro.
39480         (__integer_if_pointer_type_sub): Likewise.
39481         (__integer_if_pointer_type): Likewise.
39482         (cast_to_integer): Likewise.
39483         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39484         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39485         before casting to atomic64_t.
39486         (atomic_exchange_acq): Likewise.
39487         (__arch_exchange_and_add_body): Likewise.
39488         (__arch_add_body): Likewise.
39489         (atomic_add_negative): Likewise.
39490         (atomic_add_zero): Likewise.
39492 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39494         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39495         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39496         (add_fdes): Likewise.
39497         (linear_search_fdes): Likewise.
39498         (binary_search_unencoded_fdes): Likewise.
39500 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39502         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39504 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39506         * configure.in: Autodetect C++ header directories.
39507         * configure: Regenerated.
39509 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39511         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39513 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39517 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39519         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39520         LDBL_MANT_DIG == 106]: Disable some tests.
39521         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39522         Likewise.
39523         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39524         Likewise.
39526         [BZ #14871]
39527         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39528         input for small inputs.  Return +/- pi/2 for large inputs.
39529         * math/libm-test.inc (atan_test): Add more tests.
39531         * sysdeps/generic/unwind-dw2-fde-glibc.c
39532         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39533         __attribute__ ((unused)).
39535         [BZ #14645]
39536         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39537         x * y if x and y are nonzero and z is zero.
39539         [BZ #14811]
39540         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39541         nonzero exponents with absolute value below 0x1p-117 to +/-
39542         0x1p-117.
39544         [BZ #14869]
39545         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39546         up arguments below 2**-450, not just those below 2**-500.
39547         * math/libm-test.inc (hypot_test): Add another test.
39549         [BZ #14868]
39550         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39551         Return a+b for ratio over 2**120, not 2**60.
39552         * math/libm-test.inc (hypot_test): Add another test.
39554         * math/libm-test.inc (clog_test): Use
39555         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39556         (clog10_test): Likewise.
39558         [BZ #6778]
39559         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39561 2012-11-22  Andreas Schwab  <schwab@suse.de>
39563         * sysdeps/i386/fpu/libm-test-ulps: Update.
39565 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39567         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39568         printf output with newline.
39570 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39572         [BZ #14865]
39573         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39574         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39575         -z nodlopen, -z initfirst and -z execstack support.
39576         * configure: Regenerated.
39578         * elf/elf.h (DF_1_NODIRECT): New macro.
39579         (DF_1_IGNMULDEF): Likewise.
39580         (DF_1_NOKSYMS): Likewise.
39581         (DF_1_NOHDR): Likewise.
39582         (DF_1_EDITED): Likewise.
39583         (DF_1_NORELOC): Likewise.
39584         (DF_1_SYMINTPOSE): Likewise.
39585         (DF_1_GLOBAUDIT): Likewise.
39586         (DF_1_SINGLETON): Likewise.
39587         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39588         DT_1_SUPPORTED_MASK bits.
39589         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39591 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39593         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39595 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39597         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39598         macro.
39600         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39601         (sendmmsg): Move declarations...
39602         * socket/sys/socket.h: ... here.
39603         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39604         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39605         include it from...
39606         * socket/recvmmsg.c: ... this new file.
39607         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39608         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39609         definition of __sendmmsg hidden.
39610         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39611         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39612         Move ENOSYS stub into and include it from...
39613         * socket/sendmmsg.c: ... this new file.
39614         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39615         (sysdep_routines): Move recvmmsg and sendmmsg...
39616         * socket/Makefile (routines): ... here.
39617         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39618         (GLIBC_PRIVATE): Add __sendmmsg.
39619         * include/sys/socket.h (__sendmmsg): Add declarations.
39620         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39621         sendmmsg.
39623 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39625         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39626         variable I1 with __attribute__ ((unused)).
39627         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39629 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39631         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39632         DUMMY variables with __attribute__ ((unused)).
39634         * bits/byteswap.h: Include <bits/types.h>.
39635         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39637 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39639         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39640         string_t.  Do not manually set errno.
39641         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39642         length with __strnlen.  Make sure to both set errno and return it on
39643         failure.
39645 2012-11-19  David S. Miller  <davem@davemloft.net>
39647         With help from Joseph Myers.
39648         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39649         very large arguments properly.
39650         * math/libm-test.inc (atan_test): New tests.
39651         (atan2_test): New tests.
39652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39655 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39657         [BZ #14856]
39658         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39659         Define to 3.
39661         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39662         [POSIX] (EADDRNOTAVAIL): Likewise.
39663         [POSIX] (EAFNOSUPPORT): Likewise.
39664         [POSIX] (EALREADY): Likewise.
39665         [POSIX] (ECONNABORTED): Likewise.
39666         [POSIX] (ECONNREFUSED): Likewise.
39667         [POSIX] (ECONNRESET): Likewise.
39668         [POSIX] (EDESTADDRREQ): Likewise.
39669         [POSIX] (EDQUOT): Likewise.
39670         [POSIX] (EHOSTUNREACH): Likewise.
39671         [POSIX] (EIDRM): Likewise.
39672         [POSIX] (EISCONN): Likewise.
39673         [POSIX] (ELOOP): Likewise.
39674         [POSIX] (EMULTIHOP): Likewise.
39675         [POSIX] (ENETDOWN): Likewise.
39676         [POSIX] (ENETUNREACH): Likewise.
39677         [POSIX] (ENOBUFS): Likewise.
39678         [POSIX] (ENODATA): Likewise.
39679         [POSIX] (ENOLINK): Likewise.
39680         [POSIX] (ENOMSG): Likewise.
39681         [POSIX] (ENOPROTOOPT): Likewise.
39682         [POSIX] (ENOSR): Likewise.
39683         [POSIX] (ENOSTR): Likewise.
39684         [POSIX] (ENOTCONN): Likewise.
39685         [POSIX] (ENOTSOCK): Likewise.
39686         [POSIX] (EOPNOTSUPP): Likewise.
39687         [POSIX] (EOVERFLOW): Likewise.
39688         [POSIX] (EPROTO): Likewise.
39689         [POSIX] (EPROTONOSUPPORT): Likewise.
39690         [POSIX] (EPROTOTYPE): Likewise.
39691         [POSIX] (ESTALE): Likewise.
39692         [POSIX] (ETIME): Likewise.
39693         [POSIX] (ETXTBSY): Likewise.
39694         [POSIX] (EWOULDBLOCK): Likewise.
39695         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39696         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39697         [POSIX] (SEEK_CUR): Likewise.
39698         [POSIX] (SEEK_END): Likewise.
39699         [POSIX || UNIX98] (mode_t): Do not require.
39700         [POSIX] (off_t): Likewise.
39701         [POSIX] (pid_t): Likewise.
39702         [POSIX] (sys/stat.h): Do not allow header.
39703         [POSIX] (unistd.h): Likewise.
39704         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39705         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39706         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39707         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39708         require.
39709         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39710         sigevent): Specify elements.
39711         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39712         entry.
39713         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39714         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39716         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39717         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39718         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39719         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39720         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39721         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39722         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39723         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39724         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39725         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39726         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39727         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39728         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39729         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39730         Likewise.
39731         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39732         Likewise.
39733         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39734         Likewise.
39735         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39736         Likewise.
39737         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39738         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39739         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39740         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39741         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39742         Specify lower bound on value.
39743         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39744         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39745         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39746         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39747         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39748         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39749         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39750         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39751         value.
39752         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39753         as optional.
39754         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39755         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39756         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39757         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39758         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39759         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39760         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39761         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39762         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39763         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39764         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39765         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39766         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39767         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39768         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39769         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39770         entry.
39771         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39772         optional.
39773         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39774         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39775         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39776         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39777         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39778         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39779         Likewise.
39780         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39781         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39782         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39783         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39784         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39785         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39786         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39787         as optional.
39788         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39789         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39790         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39791         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39792         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39793         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39794         specify as optional.
39795         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39796         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39797         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39798         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39799         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39800         [XPG3] (NL_LANGMAX): Likewise.
39801         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39802         [POSIX || XPG3] (NL_NMAX): Likewise.
39803         [POSIX || XPG3] (NL_SETMAX): Likewise.
39804         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39805         [XPG3] (NZERO): Likewise.
39806         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39807         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39808         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39809         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39810         (REG_ERANGE): Expect.
39811         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39812         optional-constant.
39813         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39814         Use (void) in prototype.
39815         [POSIX] (*_t): Allow.
39816         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39817         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39818         (WRDE_BADVAL): Expect.
39820         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39821         expect.
39822         [XPG3 || XPG4] (O_RSYNC): Likewise.
39823         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39824         Likewise.
39825         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39826         [XPG3 || XPG4] (sigqueue): Likewise.
39827         [XPG3 || XPG4] (sigtimedwait): Likewise.
39828         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39829         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39830         [XPG3 || XPG4] (vsnprintf): Likewise.
39831         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39832         Likewise.
39833         [XPG3 || XPG4] (blksize_t): Likewise.
39834         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39835         Likewise.
39836         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39837         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39838         [XPG3 || XPG4] (struct itimerspec): Likewise.
39839         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39840         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39841         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39842         [XPG3 || XPG4] (clockid_t): Likewise.
39843         [XPG3 || XPG4] (timer_t): Likewise.
39844         [XPG3 || XPG4] (clock_getres): Likewise.
39845         [XPG3 || XPG4] (clock_gettime): Likewise.
39846         [XPG3 || XPG4] (clock_settime): Likewise.
39847         [XPG3 || XPG4] (nanosleep): Likewise.
39848         [XPG3 || XPG4] (timer_create): Likewise.
39849         [XPG3 || XPG4] (timer_delete): Likewise.
39850         [XPG3 || XPG4] (timer_gettime): Likewise.
39851         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39852         [XPG3 || XPG4] (timer_settime): Likewise.
39853         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39854         [XPG3 || XPG4] (getlogin_r): Likewise.
39855         [XPG3 || XPG4] (pread): Likewise.
39856         [XPG3 || XPG4] (pthread_atfork): Likewise.
39857         [XPG3 || XPG4] (pwrite): Likewise.
39859         [BZ #14835]
39860         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39861         <bits/siginfo.h>.
39863 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39865         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39866         finalizing MALLSTREAM.
39868         * sysdeps/mach/hurd/syncfs.c: New file.
39870 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39872         [BZ #14719]
39873         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39874         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39875         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39876         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39877         (_nss_dns_gethostbyname4_r): Likewise.
39878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39879         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39881 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39883         [BZ #13763]
39884         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39886 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39888         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39889         * elf/cache.c (print_entry): Print ",AArch64" for
39890         FLAG_AARCH64_LIB64
39892         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39893         * elf/cache.c (print_entry): Print ",hard-float" for
39894         FLAG_ARM_LIBHF.
39896 2012-11-18  David S. Miller  <davem@davemloft.net>
39898         With help from Joseph Myers.
39899         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39900         cutoff to 2**-13.
39901         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39902         cutoff to 2**-25.
39903         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39904         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39905         small.
39906         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39907         * math/libm-test.inc (y0_test): New tests.
39908         (y1_test): New tests.
39909         * sysdeps/i386/fpu/libm-test-ulps: Update.
39910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39913 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39915         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39916         64-bit targets.
39917         * configure: Regenerated.
39919 2012-11-17  David S. Miller  <davem@davemloft.net>
39921         [BZ #14811]
39922         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39923         nonzero exponents with absolute value below 0x1p-128 to +/-
39924         0x1p-128.
39926 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39928         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39930         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39932         * posix/getconf-speclist.c: New file.
39933         * posix/posix-envs.def: Likewise.
39934         * posix/confstr.c (START_ENV_GROUP): New macro.
39935         (END_ENV_GROUP): Likewise.
39936         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39937         (KNOWN_PRESENT_ENV_STRING): Likewise.
39938         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39939         (UNKNOWN_ENVIRONMENT): Likewise.
39940         (confstr): Include posix-envs.def instead of handling
39941         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39942         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39943         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39944         (END_ENV_GROUP): Likewise.
39945         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39946         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39947         (UNKNOWN_ENVIRONMENT): Likewise.
39948         (__sysconf): Include posix-envs.def instead of handling associated
39949         cases directly here.
39950         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39951         preprocessing getconf-speclist.c rather than running getconf or
39952         generating empty file.
39954 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39956         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39958 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39960         [BZ #14672]
39961         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39963 2012-11-16  David S. Miller  <davem@davemloft.net>
39965         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39966         smaller than LDBL_EPSILON/2.0L, just return xm1.
39968 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39970         * elf/tst-array1.c (init): Set constructor priority to 1000.
39971         (fini): Set destructor priority to 1000.
39972         * elf/tst-array2dep.c: Likewise.
39974 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39976         [BZ #11741]
39977         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39978         (_IO_new_file_xsputn): Also return EOF if none of the input
39979         data was written when overflow failed.
39980         * libio/iopadn.c (_IO_padn): Likewise.
39981         * libio/iowpadn.c (_IO_wpadn): Likewise.
39982         * stdio-common/tst-put-error.c: Add copyright notice.
39983         (do_test): Add case for printing padded string.
39984         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39985         _IO_padn returned error.
39986         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39987         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39988         return EOF.
39990 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39992         * libio/libioP.h: Add comment note that the references to C++
39993         bits are now obsolete.
39995 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39997         * math/libm-test.inc (check_complex): Use asprintf.
39999 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40001         * debug/pcprofiledump.c (print_version): Update copyright year.
40002         * malloc/memusagestat.c (print_version): Likewise.
40004 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40006         [BZ #14831]
40007         * elf/Makefile (tests): Add tst-audit8.
40008         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40009         ($(objpfx)tst-audit8.out): New target.
40010         (tst-audit8-ENV): New variable.
40011         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40012         audit if l_reloc_result is NULL.
40013         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40014         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40015         * elf/tst-audit8.c: New file.
40017 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40019         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40020         * misc/Makefile (CFLAGS-select.c): Define.
40021         * posix/Makefile (CFLAGS-pause.c): Define.
40023 2012-11-13  David S. Miller  <davem@davemloft.net>
40025         * crypt/Makefile: Move test targets after toplevel Rules
40026         inclusion.  Grab any necessary sysdep routines when linking.
40027         * crypt/md5.c (md5_process_block): Remove define, we will always
40028         name it __md5_process_block.
40029         (md5_finish_ctx): Update md5_process_block call.
40030         (md5_stream): Likewise.
40031         (md5_process_bytes): Likewise.
40032         (md5_process_block): Rename to __md5_process_block and move to ...
40033         * crypt/md5-block.c: ... here.
40034         * crypt/sha256.c (sha256_process_block): Move to ...
40035         * crypt/sha256-block.c: ... here.
40036         * crypt/sha512.c (sha512_process_block): Move to ...
40037         * crypt/sha512-block.c: ... here.
40038         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40039         path.
40040         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40041         * sysdeps/sparc/sparc64/multiarch/Makefile
40042         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40043         crypt subdir.
40044         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40045         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40046         multiarch changes.
40047         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40048         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40049         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40050         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40051         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40052         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40053         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40054         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40055         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40056         file.
40057         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40058         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40059         file.
40060         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40062 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40064         * timezone/tzselect.ksh: Update from tzcode git revision
40065         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40066         * timezone/zdump.c: Likewise.
40067         * timezone/zic.c: Likewise.
40068         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40069         in TZVERSION setting, not $(PKGVERSION).
40070         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40071         REPORT_BUGS_TO settings.
40073         [BZ #14838]
40074         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40075         macro.
40077 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40079         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40080         detection to immediately after _FP_ROUND().
40081         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40082         bits are 0.
40084 2012-11-11  David S. Miller  <davem@davemloft.net>
40086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40087         inttypes.h
40088         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40089         __close rather than their public counterparts.
40091 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40093         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40094         file.
40095         [UNIX98] (sem_timedwait): Do not expect.
40096         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40097         [XPG4 || UNIX98] (sockatmark): Do not expect.
40098         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40099         (clock_getcpuclockid): Do not expect.
40100         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40101         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40102         Do not expect.
40103         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40104         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40105         [UNIX98] (vwscanf): Likewise.
40106         [UNIX98] (vswscanf): Likewise.
40108 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40110         * timezone/version.h: Remove file.
40111         * timezone/README: Do not refer to version.h.
40112         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40113         $(objpfx)version.h.
40114         ($(objpfx)zdump.o): Likewise.
40115         ($(objpfx)version.h): New target.
40117         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40118         2012i.
40119         * timezone/README: Don't mention modification to tzselect.ksh.
40120         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40121         work on unmodified tzselect.ksh.  Substitute version numbers in
40122         tzselect.ksh.
40124         * Makefile (format-me): Remove.
40125         (INSTALL): Adjust indentation.  Use commands directly instead of
40126         using $(format-me).
40128         * aclocal.m4 (ACX_PKGVERSION): New macro.
40129         (ACX_BUGURL): Likewise.
40130         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40131         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40132         (REPORT_BUGS_TO): Likewise.
40133         * configure: Regenerated.
40134         * config.h.in (PKGVERSION): New macro.
40135         (REPORT_BUGS_TO): Likewise.
40136         * config.make.in (PKGVERSION): New variable.
40137         (PKGVERSION_TEXI): Likewise.
40138         (REPORT_BUGS_TO): Likewise.
40139         (REPORT_BUGS_TEXI): Likewise.
40140         * Makefile (format-me): Use -I$(common-objpfx)manual.
40141         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40142         ($(common-objpfx)manual/%): New target.
40143         (manual/%): Remove target.
40144         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40145         (print_version): Use PKGVERSION.
40146         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40147         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40148         and REPORT_BUGS_TO.
40149         ($(objpfx)xtrace): Likewise.
40150         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40151         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40152         (print_version): Use PKGVERSION.
40153         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40154         (do_version): Use PKGVERSION.
40155         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40156         REPORT_BUGS_TO.
40157         (common-ldd-rewrite): Likewise.
40158         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40159         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40160         (print_version): Use PKGVERSION.
40161         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40162         * elf/pldd.c (argp_program_bug_address): Remove variable.
40163         (more_help): New function.
40164         (argp): Use more_help.
40165         (print_version): Use PKGVERSION.
40166         * elf/sln.c (main): Use PKGVERSION.
40167         (usage): Use REPORT_BUGS_TO.
40168         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40169         (top level): Use PKGVERSION.
40170         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40171         (print_version): Use PKGVERSION.
40172         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40173         (print_version): Use PKGVERSION.
40174         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40175         (print_version): Use PKGVERSION.
40176         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40177         (print_version): Use PKGVERSION.
40178         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40179         (print_version): Use PKGVERSION.
40180         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40181         (print_version): Use PKGVERSION.
40182         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40183         and BUGURL.
40184         ($(objpfx)memusage): Likewise.
40185         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40186         (do_version): Use PKGVERSION.
40187         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40188         (print_version): Use PKGVERSION.
40189         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40190         ($PKGVERSION): New variable.
40191         ($REPORT_BUGS_TO): Likewise.
40192         (usage): Use $REPORT_BUGS_TO.
40193         (top level): Use $PKGVERSION.
40194         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40195         ($(objpfx)pkgvers.texi): New rule.
40196         ($(objpfx)stamp-pkgvers): Likewise.
40197         * manual/install.texi: Include pkgvers.texi.
40198         (--with-pkgversion): Document new configure option.
40199         (--with-bugurl): Likewise.
40200         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40201         than necessarily for this particular distribution.  Use
40202         REPORT_BUGS_TO for where to report bugs.
40203         * INSTALL: Regenerated.
40204         * manual/libc.texinfo: Include pkgvers.texi.
40205         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40206         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40207         (print_version): Use PKGVERSION.
40208         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40209         (print_version): Use PKGVERSION.
40210         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40211         (print_version): Use PKGVERSION.
40212         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40213         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40214         macro.
40215         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40216         (print_version): Use PKGVERSION.
40217         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40218         (print_version): Use PKGVERSION.
40219         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40220         and PKGVERSION.
40222         * timezone/checktab.awk: Update from tzcode 2012i.
40223         * timezone/ialloc.c: Likewise.
40224         * timezone/private.h: Likewise.
40225         * timezone/scheck.c: Likewise.
40226         * timezone/tzfile.h: Likewise.
40227         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40228         (TZVERSION): Hardcode tzcode version number.
40229         * timezone/zdump.c: Update from tzcode 2012i.
40230         * timezone/zic.c: Likewise.
40231         * timezone/version.h: New file.
40232         * timezone/README: Describe version.h.  Update upstream location.
40234         [BZ #14824]
40235         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40236         (mktemp): Enable declaration.
40237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40241         Likewise.
40242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40243         Likewise.
40244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40245         Likewise.
40246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40247         Likewise.
40248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40249         Likewise.
40250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40251         Likewise.
40253         [BZ #14821]
40254         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40255         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40256         for copies of such integer values.
40257         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40258         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40260 2012-11-09  Andreas Jaeger  <aj@suse.de>
40262         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40263         definitions and declarations that are provided by
40264         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40266 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40268         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40269         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40270         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40271         definition.
40273 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40275         * elf/elf.h: Update comment before AArch64 relocations.
40277 2012-11-07  David S. Miller  <davem@davemloft.net>
40279         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40280         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40281         (__start_context): Declare.
40282         (__makecontext_ret): Delete.
40283         (__makecontext): Hook up __start_context instead of
40284         __makecontext_ret.
40285         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40286         (sysdep_routines): Add __start_context when in stdlib.
40288 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40290         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40291         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40292         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40293         hardcoded "nm".
40294         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40295         (READELF): New variable.  Use it instead of hardcoded "readelf".
40297 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40299         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40300         * sysdeps/x86/Makefile: Here.
40301         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40302         * sysdeps/x86/tst-xmmymm.sh: This.
40304 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40306         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40307         expectations.
40308         [UNIX98] (pthread_barrier_t): Do not expect.
40309         [UNIX98] (pthread_barrierattr_t): Likewise.
40310         [UNIX98] (pthread_spinlock_t): Likewise.
40311         [UNIX98] (pthread_barrier_destroy): Likewise.
40312         [UNIX98] (pthread_barrier_init): Likewise.
40313         [UNIX98] (pthread_barrier_wait): Likewise.
40314         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40315         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40316         [UNIX98] (pthread_barrierattr_init): Likewise.
40317         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40318         [UNIX98] (pthread_getcpuclockid): Likewise.
40319         [UNIX98] (pthread_mutex_timedlock): Likewise.
40320         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40321         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40322         [UNIX98] (pthread_sigmask): Likewise.
40323         [UNIX98] (pthread_spin_destroy): Likewise.
40324         [UNIX98] (pthread_spin_init): Likewise.
40325         [UNIX98] (pthread_spin_lock): Likewise.
40326         [UNIX98] (pthread_spin_trylock): Likewise.
40327         [UNIX98] (pthread_spin_unlock): Likewise.
40328         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40329         Do not expect.
40330         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40331         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40332         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40333         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40334         [XPG3 || XPG4] (pthread_key_t): Likewise.
40335         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40336         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40337         [XPG3 || XPG4] (pthread_once_t): Likewise.
40338         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40339         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40340         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40341         [XPG3 || XPG4] (pthread_t): Likewise.
40343         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40344         not expect.
40345         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40347         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40348         Change function return type to int.
40350         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40351         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40352         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40353         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40354         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40355         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40356         [!POSIX] (posix_madvise): Likewise.
40357         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40358         && !UNIX98].
40359         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40360         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40361         (mode_t): Likewise.
40362         (posix_mem_offset): Likewise.
40363         (posix_typed_mem_get_info): Likewise.
40364         (posix_typed_mem_open): Likewise.
40366         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40367         Change condition to [XOPEN2K8].
40369         * conform/conformtest.pl: Preprocess allow-header data with -x c
40370         instead of from stdin.
40371         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40372         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40373         [C99-based standards] (cerfc): Likewise.
40374         [C99-based standards] (cexp2): Likewise.
40375         [C99-based standards] (cexpm1): Likewise.
40376         [C99-based standards] (clog10): Likewise.
40377         [C99-based standards] (clog1p): Likewise.
40378         [C99-based standards] (clog2): Likewise.
40379         [C99-based standards] (clgamma): Likewise.
40380         [C99-based standards] (ctgamma): Likewise.
40381         [C99-based standards] (cerff): Likewise.
40382         [C99-based standards] (cerfcf): Likewise.
40383         [C99-based standards] (cexp2f): Likewise.
40384         [C99-based standards] (cexpm1f): Likewise.
40385         [C99-based standards] (clog10f): Likewise.
40386         [C99-based standards] (clog1pf): Likewise.
40387         [C99-based standards] (clog2f): Likewise.
40388         [C99-based standards] (clgammaf): Likewise.
40389         [C99-based standards] (ctgammaf): Likewise.
40390         [C99-based standards] (cerfl): Likewise.
40391         [C99-based standards] (cerfcl): Likewise.
40392         [C99-based standards] (cexp2l): Likewise.
40393         [C99-based standards] (cexpm1l): Likewise.
40394         [C99-based standards] (clog10l): Likewise.
40395         [C99-based standards] (clog1pl): Likewise.
40396         [C99-based standards] (clog2l): Likewise.
40397         [C99-based standards] (clgammal): Likewise.
40398         [C99-based standards] (ctgammal): Likewise.
40399         * conform/data/inttypes.h-data [C99-based standards]: Include
40400         stdint.h-data.  Remove all expectations for stdint.h contents.
40401         [C99-based standards] (PRI*): Do not allow.
40402         [C99-based standards] (SCN*): Likewise.
40403         [C99-based standards] (*_t): Likewise.
40404         [C99-based-standards] (PRId8): Expect macro.
40405         [C99-based-standards] (PRIi8): Likewise.
40406         [C99-based-standards] (PRIo8): Likewise.
40407         [C99-based-standards] (PRIu8): Likewise.
40408         [C99-based-standards] (PRIx8): Likewise.
40409         [C99-based-standards] (PRIX8): Likewise.
40410         [C99-based-standards] (SCNd8): Likewise.
40411         [C99-based-standards] (SCNi8): Likewise.
40412         [C99-based-standards] (SCNo8): Likewise.
40413         [C99-based-standards] (SCNu8): Likewise.
40414         [C99-based-standards] (SCNx8): Likewise.
40415         [C99-based-standards] (PRIdLEAST8): Likewise.
40416         [C99-based-standards] (PRIiLEAST8): Likewise.
40417         [C99-based-standards] (PRIoLEAST8): Likewise.
40418         [C99-based-standards] (PRIuLEAST8): Likewise.
40419         [C99-based-standards] (PRIxLEAST8): Likewise.
40420         [C99-based-standards] (PRIXLEAST8): Likewise.
40421         [C99-based-standards] (SCNdLEAST8): Likewise.
40422         [C99-based-standards] (SCNiLEAST8): Likewise.
40423         [C99-based-standards] (SCNoLEAST8): Likewise.
40424         [C99-based-standards] (SCNuLEAST8): Likewise.
40425         [C99-based-standards] (SCNxLEAST8): Likewise.
40426         [C99-based-standards] (PRIdFAST8): Likewise.
40427         [C99-based-standards] (PRIiFAST8): Likewise.
40428         [C99-based-standards] (PRIoFAST8): Likewise.
40429         [C99-based-standards] (PRIuFAST8): Likewise.
40430         [C99-based-standards] (PRIxFAST8): Likewise.
40431         [C99-based-standards] (PRIXFAST8): Likewise.
40432         [C99-based-standards] (SCNdFAST8): Likewise.
40433         [C99-based-standards] (SCNiFAST8): Likewise.
40434         [C99-based-standards] (SCNoFAST8): Likewise.
40435         [C99-based-standards] (SCNuFAST8): Likewise.
40436         [C99-based-standards] (SCNxFAST8): Likewise.
40437         [C99-based-standards] (PRId16): Likewise.
40438         [C99-based-standards] (PRIi16): Likewise.
40439         [C99-based-standards] (PRIo16): Likewise.
40440         [C99-based-standards] (PRIu16): Likewise.
40441         [C99-based-standards] (PRIx16): Likewise.
40442         [C99-based-standards] (PRIX16): Likewise.
40443         [C99-based-standards] (SCNd16): Likewise.
40444         [C99-based-standards] (SCNi16): Likewise.
40445         [C99-based-standards] (SCNo16): Likewise.
40446         [C99-based-standards] (SCNu16): Likewise.
40447         [C99-based-standards] (SCNx16): Likewise.
40448         [C99-based-standards] (PRIdLEAST16): Likewise.
40449         [C99-based-standards] (PRIiLEAST16): Likewise.
40450         [C99-based-standards] (PRIoLEAST16): Likewise.
40451         [C99-based-standards] (PRIuLEAST16): Likewise.
40452         [C99-based-standards] (PRIxLEAST16): Likewise.
40453         [C99-based-standards] (PRIXLEAST16): Likewise.
40454         [C99-based-standards] (SCNdLEAST16): Likewise.
40455         [C99-based-standards] (SCNiLEAST16): Likewise.
40456         [C99-based-standards] (SCNoLEAST16): Likewise.
40457         [C99-based-standards] (SCNuLEAST16): Likewise.
40458         [C99-based-standards] (SCNxLEAST16): Likewise.
40459         [C99-based-standards] (PRIdFAST16): Likewise.
40460         [C99-based-standards] (PRIiFAST16): Likewise.
40461         [C99-based-standards] (PRIoFAST16): Likewise.
40462         [C99-based-standards] (PRIuFAST16): Likewise.
40463         [C99-based-standards] (PRIxFAST16): Likewise.
40464         [C99-based-standards] (PRIXFAST16): Likewise.
40465         [C99-based-standards] (SCNdFAST16): Likewise.
40466         [C99-based-standards] (SCNiFAST16): Likewise.
40467         [C99-based-standards] (SCNoFAST16): Likewise.
40468         [C99-based-standards] (SCNuFAST16): Likewise.
40469         [C99-based-standards] (SCNxFAST16): Likewise.
40470         [C99-based-standards] (PRId32): Likewise.
40471         [C99-based-standards] (PRIi32): Likewise.
40472         [C99-based-standards] (PRIo32): Likewise.
40473         [C99-based-standards] (PRIu32): Likewise.
40474         [C99-based-standards] (PRIx32): Likewise.
40475         [C99-based-standards] (PRIX32): Likewise.
40476         [C99-based-standards] (SCNd32): Likewise.
40477         [C99-based-standards] (SCNi32): Likewise.
40478         [C99-based-standards] (SCNo32): Likewise.
40479         [C99-based-standards] (SCNu32): Likewise.
40480         [C99-based-standards] (SCNx32): Likewise.
40481         [C99-based-standards] (PRIdLEAST32): Likewise.
40482         [C99-based-standards] (PRIiLEAST32): Likewise.
40483         [C99-based-standards] (PRIoLEAST32): Likewise.
40484         [C99-based-standards] (PRIuLEAST32): Likewise.
40485         [C99-based-standards] (PRIxLEAST32): Likewise.
40486         [C99-based-standards] (PRIXLEAST32): Likewise.
40487         [C99-based-standards] (SCNdLEAST32): Likewise.
40488         [C99-based-standards] (SCNiLEAST32): Likewise.
40489         [C99-based-standards] (SCNoLEAST32): Likewise.
40490         [C99-based-standards] (SCNuLEAST32): Likewise.
40491         [C99-based-standards] (SCNxLEAST32): Likewise.
40492         [C99-based-standards] (PRIdFAST32): Likewise.
40493         [C99-based-standards] (PRIiFAST32): Likewise.
40494         [C99-based-standards] (PRIoFAST32): Likewise.
40495         [C99-based-standards] (PRIuFAST32): Likewise.
40496         [C99-based-standards] (PRIxFAST32): Likewise.
40497         [C99-based-standards] (PRIXFAST32): Likewise.
40498         [C99-based-standards] (SCNdFAST32): Likewise.
40499         [C99-based-standards] (SCNiFAST32): Likewise.
40500         [C99-based-standards] (SCNoFAST32): Likewise.
40501         [C99-based-standards] (SCNuFAST32): Likewise.
40502         [C99-based-standards] (SCNxFAST32): Likewise.
40503         [C99-based-standards] (PRId64): Likewise.
40504         [C99-based-standards] (PRIi64): Likewise.
40505         [C99-based-standards] (PRIo64): Likewise.
40506         [C99-based-standards] (PRIu64): Likewise.
40507         [C99-based-standards] (PRIx64): Likewise.
40508         [C99-based-standards] (PRIX64): Likewise.
40509         [C99-based-standards] (SCNd64): Likewise.
40510         [C99-based-standards] (SCNi64): Likewise.
40511         [C99-based-standards] (SCNo64): Likewise.
40512         [C99-based-standards] (SCNu64): Likewise.
40513         [C99-based-standards] (SCNx64): Likewise.
40514         [C99-based-standards] (PRIdLEAST64): Likewise.
40515         [C99-based-standards] (PRIiLEAST64): Likewise.
40516         [C99-based-standards] (PRIoLEAST64): Likewise.
40517         [C99-based-standards] (PRIuLEAST64): Likewise.
40518         [C99-based-standards] (PRIxLEAST64): Likewise.
40519         [C99-based-standards] (PRIXLEAST64): Likewise.
40520         [C99-based-standards] (SCNdLEAST64): Likewise.
40521         [C99-based-standards] (SCNiLEAST64): Likewise.
40522         [C99-based-standards] (SCNoLEAST64): Likewise.
40523         [C99-based-standards] (SCNuLEAST64): Likewise.
40524         [C99-based-standards] (SCNxLEAST64): Likewise.
40525         [C99-based-standards] (PRIdFAST64): Likewise.
40526         [C99-based-standards] (PRIiFAST64): Likewise.
40527         [C99-based-standards] (PRIoFAST64): Likewise.
40528         [C99-based-standards] (PRIuFAST64): Likewise.
40529         [C99-based-standards] (PRIxFAST64): Likewise.
40530         [C99-based-standards] (PRIXFAST64): Likewise.
40531         [C99-based-standards] (SCNdFAST64): Likewise.
40532         [C99-based-standards] (SCNiFAST64): Likewise.
40533         [C99-based-standards] (SCNoFAST64): Likewise.
40534         [C99-based-standards] (SCNuFAST64): Likewise.
40535         [C99-based-standards] (SCNxFAST64): Likewise.
40536         [C99-based-standards] (PRIdMAX): Likewise.
40537         [C99-based-standards] (PRIiMAX): Likewise.
40538         [C99-based-standards] (PRIoMAX): Likewise.
40539         [C99-based-standards] (PRIuMAX): Likewise.
40540         [C99-based-standards] (PRIxMAX): Likewise.
40541         [C99-based-standards] (PRIXMAX): Likewise.
40542         [C99-based-standards] (SCNdMAX): Likewise.
40543         [C99-based-standards] (SCNiMAX): Likewise.
40544         [C99-based-standards] (SCNoMAX): Likewise.
40545         [C99-based-standards] (SCNuMAX): Likewise.
40546         [C99-based-standards] (SCNxMAX): Likewise.
40547         [C99-based-standards] (PRIdPTR): Likewise.
40548         [C99-based-standards] (PRIiPTR): Likewise.
40549         [C99-based-standards] (PRIoPTR): Likewise.
40550         [C99-based-standards] (PRIuPTR): Likewise.
40551         [C99-based-standards] (PRIxPTR): Likewise.
40552         [C99-based-standards] (PRIXPTR): Likewise.
40553         [C99-based-standards] (SCNdPTR): Likewise.
40554         [C99-based-standards] (SCNiPTR): Likewise.
40555         [C99-based-standards] (SCNoPTR): Likewise.
40556         [C99-based-standards] (SCNuPTR): Likewise.
40557         [C99-based-standards] (SCNxPTR): Likewise.
40558         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40559         allow.
40560         * conform/data/stdint.h-data: Update comments to clarify
40561         requirements.
40562         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40563         type.
40564         [C99-based standards] (INT8_MAX): Likewise.
40565         [C99-based standards] (INT16_MIN): Likewise.
40566         [C99-based standards] (INT16_MAX): Likewise.
40567         [C99-based standards] (INT32_MIN): Likewise.
40568         [C99-based standards] (INT32_MAX): Likewise.
40569         [C99-based standards] (INT64_MIN): Likewise.
40570         [C99-based standards] (INT64_MAX): Likewise.
40571         [C99-based standards] (UINT8_MAX): Likewise.
40572         [C99-based standards] (UINT16_MAX): Likewise.
40573         [C99-based standards] (UINT32_MAX): Likewise.
40574         [C99-based standards] (UINT64_MAX): Likewise.
40575         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40576         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40577         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40578         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40579         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40580         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40581         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40582         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40583         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40584         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40585         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40586         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40587         [C99-based standards] (INT_FAST8_MIN): Likewise.
40588         [C99-based standards] (INT_FAST8_MAX): Likewise.
40589         [C99-based standards] (INT_FAST16_MIN): Likewise.
40590         [C99-based standards] (INT_FAST16_MAX): Likewise.
40591         [C99-based standards] (INT_FAST32_MIN): Likewise.
40592         [C99-based standards] (INT_FAST32_MAX): Likewise.
40593         [C99-based standards] (INT_FAST64_MIN): Likewise.
40594         [C99-based standards] (INT_FAST64_MAX): Likewise.
40595         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40596         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40597         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40598         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40599         [C99-based standards] (INTPTR_MIN): Likewise.
40600         [C99-based standards] (INTPTR_MAX): Likewise.
40601         [C99-based standards] (UINTPTR_MAX): Likewise.
40602         [C99-based standards] (INTMAX_MIN): Likewise.
40603         [C99-based standards] (INTMAX_MAX): Likewise.
40604         [C99-based standards] (UINTMAX_MAX): Likewise.
40605         [C99-based standards] (PTRDIFF_MIN): Likewise.
40606         [C99-based standards] (PTRDIFF_MAX): Likewise.
40607         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40608         [C99-based standards] (SIZE_MAX): Likewise.
40609         [C99-based standards] (WCHAR_MAX): Likewise.
40610         [C99-based standards] (WINT_MAX): Likewise.
40611         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40612         constraint on value.
40613         [C99-based standards] (WCHAR_MIN): Likewise.
40614         [C99-based standards] (WINT_MIN): Likewise.
40615         [C99-based standards] (*_t): Allow.
40616         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40617         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40618         Include math.h-data and complex.h-data.  Remove all expectations
40619         of math.h and complex.h contents.
40620         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40621         at end of line.
40622         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40623         (struct tm): Expect tag.
40624         [C99-based-standards] (wcstof): Expect function.
40625         [C99-based-standards] (wcstold): Likewise.
40626         [C99-based-standards] (wcstoll): Likewise.
40627         [C99-based-standards] (wcstoull): Likewise.
40628         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40629         macro-int-constant.  Specify type.
40630         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40631         constraint on value.
40632         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40633         Specify type.
40634         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40635         Specify value.
40636         [ISO C standards]: Do not allow headers.
40637         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40638         wcs[abcdefghijklmnopqrstuvwxyz]*.
40639         [ISO C standards] (*_t): Do not allow.
40640         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40641         Expect function.
40642         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40643         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40644         Specify type.
40645         [ISO C standards]: Do not allow headers.
40646         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40647         is[abcdefghijklmnopqrstuvwxyz]*.
40648         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40649         to[abcdefghijklmnopqrstuvwxyz]*.
40650         [ISO C standards] (*_t): Do not allow.
40651         * conform/data/stdalign.h-data: New file.
40652         * conform/data/stdbool.h-data: Likewise.
40653         * conform/data/stdnoreturn.h-data: Likewise.
40655 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40657         [BZ #14815]
40658         * manual/filesys.texi (Directory Entries): Typo fix.
40659         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40661 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40663         * elf/elf.h (EM_AARCH64): New macro.
40664         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40665         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40666         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40667         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40668         (R_AARCH64_TLSDESC): Likewise.
40669         (NT_ARM_TLS): Likewise.
40670         (NT_ARM_HW_BREAK): Likewise.
40671         (NT_ARM_HW_WATCH): Likewise.
40673 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40675         [BZ #14811]
40676         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40677         (__ieee754_powl): Saturate nonzero exponents with absolute value
40678         below 0x1p-79 to +/- 0x1p-79.
40679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40680         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40681         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40682         nonzero exponents with absolute value below 0x1p-32 to +/-
40683         0x1p-32.
40684         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40685         (__ieee754_powl): Saturate nonzero exponents with absolute value
40686         below 0x1p-79 to +/- 0x1p-79.
40687         * math/libm-test.inc (pow_test): Add more tests.
40689 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40691         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40692         _dl_s390_cap_flags with kernel. Increase string length.
40693         (_dl_s390_platforms): Add z196 and zEC12.
40695 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40697         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40698         Change XOPEN21K to XOPEN2K.
40700 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40702         * string/memmove.c: Use memcpy when possible.
40704 2012-11-06  Andreas Jaeger  <aj@suse.de>
40706         * po/eo.po: Update from translation team.
40708 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40710         [BZ #14793]
40711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40712         exponent and small x and y exponents, scale x or y up.  Increase
40713         by 2 the exponent used in scaling up.
40714         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40715         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40716         * math/libm-test.inc (fma_test): Add more tests.
40717         (fma_test_towardzero): Likewise.
40718         (fma_test_downward): Likewise.
40719         (fma_test_upward): Likewise.
40721 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40723         [BZ #14805]
40724         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40725         fenv_t *.
40727         [BZ #14801]
40728         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40729         namespace for names of struct fields.
40730         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40731         fenv_t fields.
40732         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40733         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40735 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40737         [BZ #3665]
40738         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40740 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40742         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40743         PTR_DEMANGLE.
40745         [BZ #5246]
40746         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40747         PTR_DEMANGLE.
40749 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40751         [BZ #14797]
40752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40753         definitely overflow as x * y not x * y + z.
40754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40756         * math/libm-test.inc (fma_test): Add more tests.
40757         (fma_test_towardzero): Likewise.
40758         (fma_test_downward): Likewise.
40759         (fma_test_upward): Likewise.
40761 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40763         [BZ #157]
40765         * include/stub-tag.h: Remove file.
40766         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40767         '#include' of it.
40768         * manual/maint.texi (Porting): Don't reference it.
40769         * Makerules ($(objpfx)stubs): Likewise.
40770         * dirent/closedir.c: Don't include <stub-tag.h>.
40771         * dirent/dirfd.c: Likewise.
40772         * dirent/fdopendir.c: Likewise.
40773         * dirent/getdents.c: Likewise.
40774         * dirent/getdents64.c: Likewise.
40775         * dirent/opendir.c: Likewise.
40776         * dirent/readdir.c: Likewise.
40777         * dirent/readdir64.c: Likewise.
40778         * dirent/readdir64_r.c: Likewise.
40779         * dirent/readdir_r.c: Likewise.
40780         * dirent/rewinddir.c: Likewise.
40781         * dirent/seekdir.c: Likewise.
40782         * dirent/telldir.c: Likewise.
40783         * gmon/profil.c: Likewise.
40784         * grp/setgroups.c: Likewise.
40785         * inet/if_index.c: Likewise.
40786         * io/access.c: Likewise.
40787         * io/chdir.c: Likewise.
40788         * io/chmod.c: Likewise.
40789         * io/chown.c: Likewise.
40790         * io/close.c: Likewise.
40791         * io/dup.c: Likewise.
40792         * io/dup2.c: Likewise.
40793         * io/dup3.c: Likewise.
40794         * io/euidaccess.c: Likewise.
40795         * io/faccessat.c: Likewise.
40796         * io/fchdir.c: Likewise.
40797         * io/fchmod.c: Likewise.
40798         * io/fchmodat.c: Likewise.
40799         * io/fchown.c: Likewise.
40800         * io/fchownat.c: Likewise.
40801         * io/fcntl.c: Likewise.
40802         * io/flock.c: Likewise.
40803         * io/fstatfs.c: Likewise.
40804         * io/fstatfs64.c: Likewise.
40805         * io/fstatvfs.c: Likewise.
40806         * io/fstatvfs64.c: Likewise.
40807         * io/futimens.c: Likewise.
40808         * io/fxstat.c: Likewise.
40809         * io/fxstat64.c: Likewise.
40810         * io/fxstatat.c: Likewise.
40811         * io/fxstatat64.c: Likewise.
40812         * io/getcwd.c: Likewise.
40813         * io/isatty.c: Likewise.
40814         * io/lchmod.c: Likewise.
40815         * io/lchown.c: Likewise.
40816         * io/link.c: Likewise.
40817         * io/linkat.c: Likewise.
40818         * io/lseek.c: Likewise.
40819         * io/lseek64.c: Likewise.
40820         * io/lxstat64.c: Likewise.
40821         * io/mkdir.c: Likewise.
40822         * io/mkdirat.c: Likewise.
40823         * io/mkfifo.c: Likewise.
40824         * io/mkfifoat.c: Likewise.
40825         * io/open.c: Likewise.
40826         * io/open64.c: Likewise.
40827         * io/openat.c: Likewise.
40828         * io/openat64.c: Likewise.
40829         * io/pipe.c: Likewise.
40830         * io/pipe2.c: Likewise.
40831         * io/poll.c: Likewise.
40832         * io/posix_fadvise.c: Likewise.
40833         * io/posix_fadvise64.c: Likewise.
40834         * io/posix_fallocate.c: Likewise.
40835         * io/posix_fallocate64.c: Likewise.
40836         * io/read.c: Likewise.
40837         * io/readlink.c: Likewise.
40838         * io/readlinkat.c: Likewise.
40839         * io/rmdir.c: Likewise.
40840         * io/sendfile.c: Likewise.
40841         * io/sendfile64.c: Likewise.
40842         * io/statfs.c: Likewise.
40843         * io/statfs64.c: Likewise.
40844         * io/statvfs.c: Likewise.
40845         * io/statvfs64.c: Likewise.
40846         * io/symlink.c: Likewise.
40847         * io/symlinkat.c: Likewise.
40848         * io/ttyname.c: Likewise.
40849         * io/ttyname_r.c: Likewise.
40850         * io/umask.c: Likewise.
40851         * io/unlink.c: Likewise.
40852         * io/unlinkat.c: Likewise.
40853         * io/utime.c: Likewise.
40854         * io/utimensat.c: Likewise.
40855         * io/write.c: Likewise.
40856         * io/xmknod.c: Likewise.
40857         * io/xmknodat.c: Likewise.
40858         * io/xstat.c: Likewise.
40859         * io/xstat64.c: Likewise.
40860         * login/getpt.c: Likewise.
40861         * login/grantpt.c: Likewise.
40862         * login/unlockpt.c: Likewise.
40863         * math/e_acoshl.c: Likewise.
40864         * math/e_acosl.c: Likewise.
40865         * math/e_asinl.c: Likewise.
40866         * math/e_atan2l.c: Likewise.
40867         * math/e_atanhl.c: Likewise.
40868         * math/e_coshl.c: Likewise.
40869         * math/e_expl.c: Likewise.
40870         * math/e_fmodl.c: Likewise.
40871         * math/e_gammal_r.c: Likewise.
40872         * math/e_hypotl.c: Likewise.
40873         * math/e_j0l.c: Likewise.
40874         * math/e_j1l.c: Likewise.
40875         * math/e_jnl.c: Likewise.
40876         * math/e_lgammal_r.c: Likewise.
40877         * math/e_log10l.c: Likewise.
40878         * math/e_log2l.c: Likewise.
40879         * math/e_logl.c: Likewise.
40880         * math/e_powl.c: Likewise.
40881         * math/e_rem_pio2l.c: Likewise.
40882         * math/e_sinhl.c: Likewise.
40883         * math/e_sqrtl.c: Likewise.
40884         * math/fclrexcpt.c: Likewise.
40885         * math/fedisblxcpt.c: Likewise.
40886         * math/feenablxcpt.c: Likewise.
40887         * math/fegetenv.c: Likewise.
40888         * math/fegetexcept.c: Likewise.
40889         * math/fegetround.c: Likewise.
40890         * math/feholdexcpt.c: Likewise.
40891         * math/fesetenv.c: Likewise.
40892         * math/fesetround.c: Likewise.
40893         * math/feupdateenv.c: Likewise.
40894         * math/fgetexcptflg.c: Likewise.
40895         * math/fraiseexcpt.c: Likewise.
40896         * math/fsetexcptflg.c: Likewise.
40897         * math/ftestexcept.c: Likewise.
40898         * math/k_cosl.c: Likewise.
40899         * math/k_rem_pio2l.c: Likewise.
40900         * math/k_sinl.c: Likewise.
40901         * math/k_tanl.c: Likewise.
40902         * math/s_asinhl.c: Likewise.
40903         * math/s_atanl.c: Likewise.
40904         * math/s_cbrtl.c: Likewise.
40905         * math/s_erfl.c: Likewise.
40906         * math/s_expm1l.c: Likewise.
40907         * math/s_log1pl.c: Likewise.
40908         * math/s_tanhl.c: Likewise.
40909         * misc/acct.c: Likewise.
40910         * misc/brk.c: Likewise.
40911         * misc/chflags.c: Likewise.
40912         * misc/chroot.c: Likewise.
40913         * misc/fchflags.c: Likewise.
40914         * misc/fgetxattr.c: Likewise.
40915         * misc/flistxattr.c: Likewise.
40916         * misc/fremovexattr.c: Likewise.
40917         * misc/fsetxattr.c: Likewise.
40918         * misc/fsync.c: Likewise.
40919         * misc/ftruncate.c: Likewise.
40920         * misc/futimes.c: Likewise.
40921         * misc/futimesat.c: Likewise.
40922         * misc/getdomain.c: Likewise.
40923         * misc/getdtsz.c: Likewise.
40924         * misc/gethostid.c: Likewise.
40925         * misc/gethostname.c: Likewise.
40926         * misc/getloadavg.c: Likewise.
40927         * misc/getpagesize.c: Likewise.
40928         * misc/getsysstats.c: Likewise.
40929         * misc/getxattr.c: Likewise.
40930         * misc/gtty.c: Likewise.
40931         * misc/ioctl.c: Likewise.
40932         * misc/lgetxattr.c: Likewise.
40933         * misc/listxattr.c: Likewise.
40934         * misc/llistxattr.c: Likewise.
40935         * misc/lremovexattr.c: Likewise.
40936         * misc/lsetxattr.c: Likewise.
40937         * misc/lutimes.c: Likewise.
40938         * misc/madvise.c: Likewise.
40939         * misc/mincore.c: Likewise.
40940         * misc/mlock.c: Likewise.
40941         * misc/mlockall.c: Likewise.
40942         * misc/mmap.c: Likewise.
40943         * misc/mprotect.c: Likewise.
40944         * misc/msync.c: Likewise.
40945         * misc/munlock.c: Likewise.
40946         * misc/munlockall.c: Likewise.
40947         * misc/munmap.c: Likewise.
40948         * misc/preadv.c: Likewise.
40949         * misc/preadv64.c: Likewise.
40950         * misc/ptrace.c: Likewise.
40951         * misc/pwritev.c: Likewise.
40952         * misc/pwritev64.c: Likewise.
40953         * misc/readv.c: Likewise.
40954         * misc/reboot.c: Likewise.
40955         * misc/remap_file_pages.c: Likewise.
40956         * misc/removexattr.c: Likewise.
40957         * misc/revoke.c: Likewise.
40958         * misc/select.c: Likewise.
40959         * misc/setdomain.c: Likewise.
40960         * misc/setegid.c: Likewise.
40961         * misc/seteuid.c: Likewise.
40962         * misc/sethostid.c: Likewise.
40963         * misc/sethostname.c: Likewise.
40964         * misc/setregid.c: Likewise.
40965         * misc/setreuid.c: Likewise.
40966         * misc/setxattr.c: Likewise.
40967         * misc/sstk.c: Likewise.
40968         * misc/stty.c: Likewise.
40969         * misc/swapoff.c: Likewise.
40970         * misc/swapon.c: Likewise.
40971         * misc/sync.c: Likewise.
40972         * misc/syncfs.c: Likewise.
40973         * misc/syscall.c: Likewise.
40974         * misc/truncate.c: Likewise.
40975         * misc/ualarm.c: Likewise.
40976         * misc/usleep.c: Likewise.
40977         * misc/ustat.c: Likewise.
40978         * misc/utimes.c: Likewise.
40979         * misc/vhangup.c: Likewise.
40980         * misc/writev.c: Likewise.
40981         * posix/_exit.c: Likewise.
40982         * posix/alarm.c: Likewise.
40983         * posix/execve.c: Likewise.
40984         * posix/fexecve.c: Likewise.
40985         * posix/fork.c: Likewise.
40986         * posix/fpathconf.c: Likewise.
40987         * posix/getaddrinfo.c: Likewise.
40988         * posix/getegid.c: Likewise.
40989         * posix/geteuid.c: Likewise.
40990         * posix/getgid.c: Likewise.
40991         * posix/getgroups.c: Likewise.
40992         * posix/getlogin.c: Likewise.
40993         * posix/getlogin_r.c: Likewise.
40994         * posix/getpgid.c: Likewise.
40995         * posix/getpid.c: Likewise.
40996         * posix/getppid.c: Likewise.
40997         * posix/getresgid.c: Likewise.
40998         * posix/getresuid.c: Likewise.
40999         * posix/getsid.c: Likewise.
41000         * posix/getuid.c: Likewise.
41001         * posix/glob64.c: Likewise.
41002         * posix/nanosleep.c: Likewise.
41003         * posix/pathconf.c: Likewise.
41004         * posix/pause.c: Likewise.
41005         * posix/posix_madvise.c: Likewise.
41006         * posix/pread.c: Likewise.
41007         * posix/pread64.c: Likewise.
41008         * posix/pwrite.c: Likewise.
41009         * posix/pwrite64.c: Likewise.
41010         * posix/sched_getaffinity.c: Likewise.
41011         * posix/sched_getp.c: Likewise.
41012         * posix/sched_gets.c: Likewise.
41013         * posix/sched_primax.c: Likewise.
41014         * posix/sched_primin.c: Likewise.
41015         * posix/sched_rr_gi.c: Likewise.
41016         * posix/sched_setaffinity.c: Likewise.
41017         * posix/sched_setp.c: Likewise.
41018         * posix/sched_sets.c: Likewise.
41019         * posix/sched_yield.c: Likewise.
41020         * posix/setgid.c: Likewise.
41021         * posix/setlogin.c: Likewise.
41022         * posix/setpgid.c: Likewise.
41023         * posix/setresgid.c: Likewise.
41024         * posix/setresuid.c: Likewise.
41025         * posix/setsid.c: Likewise.
41026         * posix/setuid.c: Likewise.
41027         * posix/sleep.c: Likewise.
41028         * posix/spawni.c: Likewise.
41029         * posix/sysconf.c: Likewise.
41030         * posix/times.c: Likewise.
41031         * posix/wait.c: Likewise.
41032         * posix/wait3.c: Likewise.
41033         * posix/wait4.c: Likewise.
41034         * posix/waitpid.c: Likewise.
41035         * resolv/gai_sigqueue.c: Likewise.
41036         * resource/getpriority.c: Likewise.
41037         * resource/getrlimit.c: Likewise.
41038         * resource/getrusage.c: Likewise.
41039         * resource/nice.c: Likewise.
41040         * resource/setpriority.c: Likewise.
41041         * resource/setrlimit.c: Likewise.
41042         * resource/ulimit.c: Likewise.
41043         * rt/aio_cancel.c: Likewise.
41044         * rt/aio_fsync.c: Likewise.
41045         * rt/aio_read.c: Likewise.
41046         * rt/aio_sigqueue.c: Likewise.
41047         * rt/aio_suspend.c: Likewise.
41048         * rt/aio_write.c: Likewise.
41049         * rt/clock_getres.c: Likewise.
41050         * rt/clock_gettime.c: Likewise.
41051         * rt/clock_nanosleep.c: Likewise.
41052         * rt/clock_settime.c: Likewise.
41053         * rt/lio_listio.c: Likewise.
41054         * rt/mq_close.c: Likewise.
41055         * rt/mq_getattr.c: Likewise.
41056         * rt/mq_notify.c: Likewise.
41057         * rt/mq_open.c: Likewise.
41058         * rt/mq_receive.c: Likewise.
41059         * rt/mq_send.c: Likewise.
41060         * rt/mq_setattr.c: Likewise.
41061         * rt/mq_timedreceive.c: Likewise.
41062         * rt/mq_timedsend.c: Likewise.
41063         * rt/mq_unlink.c: Likewise.
41064         * rt/shm_open.c: Likewise.
41065         * rt/shm_unlink.c: Likewise.
41066         * rt/timer_create.c: Likewise.
41067         * rt/timer_delete.c: Likewise.
41068         * rt/timer_getoverr.c: Likewise.
41069         * rt/timer_gettime.c: Likewise.
41070         * rt/timer_settime.c: Likewise.
41071         * setjmp/__longjmp.c: Likewise.
41072         * setjmp/setjmp.c: Likewise.
41073         * signal/kill.c: Likewise.
41074         * signal/killpg.c: Likewise.
41075         * signal/raise.c: Likewise.
41076         * signal/sigaction.c: Likewise.
41077         * signal/sigaltstack.c: Likewise.
41078         * signal/sigblock.c: Likewise.
41079         * signal/sigignore.c: Likewise.
41080         * signal/sigintr.c: Likewise.
41081         * signal/signal.c: Likewise.
41082         * signal/sigpause.c: Likewise.
41083         * signal/sigpending.c: Likewise.
41084         * signal/sigqueue.c: Likewise.
41085         * signal/sigreturn.c: Likewise.
41086         * signal/sigset.c: Likewise.
41087         * signal/sigsetmask.c: Likewise.
41088         * signal/sigstack.c: Likewise.
41089         * signal/sigsuspend.c: Likewise.
41090         * signal/sigtimedwait.c: Likewise.
41091         * signal/sigvec.c: Likewise.
41092         * signal/sigwait.c: Likewise.
41093         * signal/sigwaitinfo.c: Likewise.
41094         * signal/sysv_signal.c: Likewise.
41095         * socket/accept.c: Likewise.
41096         * socket/accept4.c: Likewise.
41097         * socket/bind.c: Likewise.
41098         * socket/connect.c: Likewise.
41099         * socket/getpeername.c: Likewise.
41100         * socket/getsockname.c: Likewise.
41101         * socket/getsockopt.c: Likewise.
41102         * socket/isfdtype.c: Likewise.
41103         * socket/listen.c: Likewise.
41104         * socket/recv.c: Likewise.
41105         * socket/recvfrom.c: Likewise.
41106         * socket/recvmsg.c: Likewise.
41107         * socket/send.c: Likewise.
41108         * socket/sendmsg.c: Likewise.
41109         * socket/sendto.c: Likewise.
41110         * socket/setsockopt.c: Likewise.
41111         * socket/shutdown.c: Likewise.
41112         * socket/sockatmark.c: Likewise.
41113         * socket/socket.c: Likewise.
41114         * socket/socketpair.c: Likewise.
41115         * stdio-common/ctermid.c: Likewise.
41116         * stdio-common/cuserid.c: Likewise.
41117         * stdio-common/remove.c: Likewise.
41118         * stdio-common/rename.c: Likewise.
41119         * stdio-common/renameat.c: Likewise.
41120         * stdio-common/tempname.c: Likewise.
41121         * stdlib/getcontext.c: Likewise.
41122         * stdlib/makecontext.c: Likewise.
41123         * stdlib/setcontext.c: Likewise.
41124         * stdlib/swapcontext.c: Likewise.
41125         * stdlib/system.c: Likewise.
41126         * streams/fattach.c: Likewise.
41127         * streams/fdetach.c: Likewise.
41128         * streams/getmsg.c: Likewise.
41129         * streams/getpmsg.c: Likewise.
41130         * streams/putmsg.c: Likewise.
41131         * streams/putpmsg.c: Likewise.
41132         * sysdeps/unix/bsd/getpt.c: Likewise.
41133         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41134         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41135         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41137         Likewise.
41138         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41139         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41140         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41141         * sysvipc/msgctl.c: Likewise.
41142         * sysvipc/msgget.c: Likewise.
41143         * sysvipc/msgrcv.c: Likewise.
41144         * sysvipc/msgsnd.c: Likewise.
41145         * sysvipc/semctl.c: Likewise.
41146         * sysvipc/semget.c: Likewise.
41147         * sysvipc/semop.c: Likewise.
41148         * sysvipc/semtimedop.c: Likewise.
41149         * sysvipc/shmat.c: Likewise.
41150         * sysvipc/shmctl.c: Likewise.
41151         * sysvipc/shmdt.c: Likewise.
41152         * sysvipc/shmget.c: Likewise.
41153         * termios/tcdrain.c: Likewise.
41154         * termios/tcflow.c: Likewise.
41155         * termios/tcflush.c: Likewise.
41156         * termios/tcgetattr.c: Likewise.
41157         * termios/tcgetpgrp.c: Likewise.
41158         * termios/tcsendbrk.c: Likewise.
41159         * termios/tcsetattr.c: Likewise.
41160         * termios/tcsetpgrp.c: Likewise.
41161         * time/adjtime.c: Likewise.
41162         * time/clock.c: Likewise.
41163         * time/getitimer.c: Likewise.
41164         * time/gettimeofday.c: Likewise.
41165         * time/setitimer.c: Likewise.
41166         * time/settimeofday.c: Likewise.
41167         * time/stime.c: Likewise.
41168         * time/time.c: Likewise.
41170 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41172         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41173         /usr/old/bin.
41175         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41176         instead of spaces.
41177         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41179 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41181         [BZ #14796]
41182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41183         FE_TONEAREST before applying Dekker multiplication and Knuth
41184         addition.  Clear inexact exceptions and check for exact zero
41185         results afterwards.
41186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41187         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41189         * math/libm-test.inc (fma_test): Add more tests.
41190         (fma_test_towardzero): Likewise.
41191         (fma_test_downward): Likewise.
41192         (fma_test_upward): Likewise.
41193         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41194         function.
41195         (libc_fesetround): New macro.
41196         (libc_fesetroundf): Likewise.
41197         (libc_fesetroundl): Likewise.
41198         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41199         function.
41200         (libc_fesetround_387): Likewise.
41201         (libc_fesetroundf): New macro.
41202         (libc_fesetround): Likewise.
41203         (libc_fesetroundl): Likewise.
41204         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41205         function.
41206         (libc_fesetroundf): New macro.
41207         (libc_fesetround): Likewise.
41208         (libc_fesetroundl): Likewise.
41209         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41210         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41211         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41212         libm_hidden_ver.
41213         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41214         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41215         libm_hidden_def.
41216         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41217         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41218         libm_hidden_ver.
41219         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41220         libm_hidden_def.
41222         [BZ #3439]
41223         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41224         integer constant usable in #if and use that to give value to enum
41225         constant.
41226         (FE_DIVBYZERO): Likewise.
41227         (FE_UNDERFLOW): Likewise.
41228         (FE_OVERFLOW): Likewise.
41229         (FE_INVALID): Likewise.
41230         (FE_INVALID_SNAN): Likewise.
41231         (FE_INVALID_ISI): Likewise.
41232         (FE_INVALID_IDI): Likewise.
41233         (FE_INVALID_ZDZ): Likewise.
41234         (FE_INVALID_IMZ): Likewise.
41235         (FE_INVALID_COMPARE): Likewise.
41236         (FE_INVALID_SOFTWARE): Likewise.
41237         (FE_INVALID_SQRT): Likewise.
41238         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41239         (FE_TONEAREST): Likewise.
41240         (FE_TOWARDZERO): Likewise.
41241         (FE_UPWARD): Likewise.
41242         (FE_DOWNWARD): Likewise.
41243         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41244         (FE_DIVBYZERO): Likewise.
41245         (FE_OVERFLOW): Likewise.
41246         (FE_UNDERFLOW): Likewise.
41247         (FE_INEXACT): Likewise.
41248         (FE_TONEAREST): Likewise.
41249         (FE_DOWNWARD): Likewise.
41250         (FE_UPWARD): Likewise.
41251         (FE_TOWARDZERO): Likewise.
41252         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41253         (FE_UNDERFLOW): Likewise.
41254         (FE_OVERFLOW): Likewise.
41255         (FE_DIVBYZERO): Likewise.
41256         (FE_INVALID): Likewise.
41257         (FE_TONEAREST): Likewise.
41258         (FE_TOWARDZERO): Likewise.
41259         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41260         (FE_OVERFLOW): Likewise.
41261         (FE_UNDERFLOW): Likewise.
41262         (FE_DIVBYZERO): Likewise.
41263         (FE_INEXACT): Likewise.
41264         (FE_TONEAREST): Likewise.
41265         (FE_TOWARDZERO): Likewise.
41266         (FE_UPWARD): Likewise.
41267         (FE_DOWNWARD): Likewise.
41268         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41269         (FE_DIVBYZERO): Likewise.
41270         (FE_OVERFLOW): Likewise.
41271         (FE_UNDERFLOW): Likewise.
41272         (FE_INEXACT): Likewise.
41273         (FE_TONEAREST): Likewise.
41274         (FE_DOWNWARD): Likewise.
41275         (FE_UPWARD): Likewise.
41276         (FE_TOWARDZERO): Likewise.
41278 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41280         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41282 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41284         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41285         commands.  Quote $PWD.
41286         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41287         -x" by "export".
41288         (remove_newlines): Remove.
41290 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41292         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41293         * stdlib/stdlib.h (atof): Moved to ...
41294         * include/bits/stdlib-float.h: Here.  New file.
41295         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41296         * stdlib/bits/stdlib-float.h: New file.
41297         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41298         -mno-sse -mno-mmx.
41299         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41300         <xmmintrin.h>.
41302 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41304         * conform/conformtest.pl (@headers): Add fenv.h.
41305         * conform/data/fenv.h-data: New file.
41306         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41307         include of <math/fenv.h>.
41309         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41310         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41311         && !UNIX98].  Enables tests for XOPEN2K8.
41312         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41313         POSIX2008]: Likewise.
41315         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41316         (struct rusage): Do not expect type or its members.
41318         [BZ #3439]
41319         * math/math.h (FP_NAN): Define macro to integer constant usable in
41320         #if and use that to give value to enum constant.
41321         (FP_INFINITE): Likewise.
41322         (FP_ZERO): Likewise.
41323         (FP_SUBNORMAL): Likewise.
41324         (FP_NORMAL): Likewise.
41326 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41328         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41329         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41330         arguments.
41332 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41334         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41335         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41336         autoconf-time if not.
41337         * configure.in: Remove AC_PREREQ.
41339 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41341         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41342         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41343         of the internal implementation.
41345 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41347         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41348         except include of <misc/sys/syslog.h>.
41350 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41353         function returns with a NULL context exit with zero.
41355 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41357         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41359 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41361         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41362         (run_program_cmd): This.
41363         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41364         (tst_langinfo): New variable.  Use it.
41366 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41368         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41369         floating point opcodes.
41371 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41373         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41374         variable.
41376         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41378         * sysdeps/mach/hurd/powerpc: Remove directory.
41379         * sysdeps/mach/powerpc: Likewise.
41381 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41383         * scripts/check-local-headers.sh: Ignore c++ headers.
41385 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41387         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41388         __libc_cleanup_region_start argument.
41390 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41392         [BZ #14784]
41393         [BZ #14785]
41394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41395         x * y using scaling, not as x * y + z.
41396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41397         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41398         * math/libm-test.inc (fma_test): Add more tests.
41399         (fma_test_towardzero): Likewise.
41400         (fma_test_downward): Likewise.
41401         (fma_test_upward): Likewise.
41403 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41405         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41407 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41409         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41410         New variable.
41412 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41414         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41416 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41419         Fix sort order.
41420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41421         Likewise.
41423 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41426         Fix the order of the list for glibc 2.17.
41427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41428         Likewise.
41430 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41434 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41436         [BZ #14610]
41437         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41438         for low part of x being zero before using __atanl (y).
41439         * math/libm-test.inc (atan2_test): Add another test.
41441         * manual/install.texi (Configuring and compiling): Document
41442         general use of test-wrapper and test-wrapper-env.
41443         * INSTALL: Regenerated.
41445         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41446         (__fma): Do not extract and scale down low bits on after-rounding
41447         systems when result rounded to normal precision would have normal
41448         exponent.
41449         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41450         (__fmal): Do not extract and scale down low bits on after-rounding
41451         systems when result rounded to normal precision would have normal
41452         exponent.
41453         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41454         (__fmal): Do not extract and scale down low bits on after-rounding
41455         systems when result rounded to normal precision would have normal
41456         exponent.
41457         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41458         macro.
41459         (fma_test): Add more tests.
41460         (fma_test_towardzero): Likewise.
41461         (fma_test_downward): Likewise.
41462         (fma_test_upward): Likewise.
41464 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41466         * sysdeps/i386/tininess.h: Renamed to ...
41467         * sysdeps/x86/tininess.h: This.
41468         * sysdeps/x86_64/tininess.h: Removed.
41470 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41472         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41473         input.  Use $(build-program-cmd).
41474         ($(objpfx)tst-array1-static.out): Likewise.
41475         ($(objpfx)tst-array2.out): Likewise.
41476         ($(objpfx)tst-array3.out): Likewise.
41477         ($(objpfx)tst-array4.out): Likewise.
41478         ($(objpfx)tst-array5.out): Likewise.
41479         ($(objpfx)tst-array5-static.out): Likewise.
41481 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41483         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41484         if defined.
41486         * nss/nsswitch.h (nss_interface_function): Provide new
41487         macro for use with NSS functions.
41488         * grp/initgroups.c: Use new macro.
41489         * nss/getXXbyYY.c: Likewise.
41490         * nss/getXXbyYY_r.c: Likewise.
41491         * nss/getXXent.c: Likewise.
41492         * nss/getXXent_r.c: Likewise.
41493         * sysdeps/posix/getaddrinfo.c: Likewise.
41495 2012-10-30  Andreas Jaeger  <aj@suse.de>
41497         * po/ru.po: Update Russion translation from translation project.
41499 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41501         [BZ #14152]
41502         [BZ #14783]
41503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41504         result and shift together with sticky bit instead of replicating
41505         round-to-nearest rounding.
41506         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41508         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41509         missing underflow exceptions.
41510         (fma_test_towardzero): Add more tests.
41511         (fma_test_downward): Likewise.
41512         (fma_test_upward): Likewise.
41514         [BZ #14047]
41515         * sysdeps/generic/tininess.h: New file.
41516         * sysdeps/i386/tininess.h: Likewise.
41517         * sysdeps/sh/tininess.h: Likewise.
41518         * sysdeps/x86_64/tininess.h: Likewise.
41519         * stdlib/tst-strtod-underflow.c: Likewise.
41520         * stdlib/tst-tininess.c: Likewise.
41521         * stdlib/strtod_l.c: Include <tininess.h>.
41522         (round_and_return): Do not set errno for exact underflow cases.
41523         Force an underflow exception when setting errno for underflow.
41524         Determine underflow based on rounding to normal precision if
41525         TININESS_AFTER_ROUNDING.
41526         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41527         ERANGE for exact underflow cases.
41528         * stdlib/Makefile (tests): Add tst-tininess and
41529         tst-strtod-underflow.
41530         ($(objpfx)tst-tininess): Use $(link-libm).
41531         ($(objpfx)tst-strtod-underflow): Likewise.
41533 2012-10-30  Andreas Jaeger  <aj@suse.de>
41535         [BZ#14767]
41536         * elf/Makefile (tests): Remove conditional for have-initfini-array
41537         since this is now always required and the variable does not exist
41538         anymore.
41539         (tests-static): Likewise.
41540         (modules-names): Likewise.
41542         * po/eo.po: Add Esperanto translation from translation project.
41544         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41545         merged with constructor/destructor.
41546         (init_array): Likewise.
41547         * elf/tst-array2dep.c (fini_array): Likewise.
41548         (init_array): Likewise.
41550 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41552         * manual/message.texi: Delete @cartouche tags.
41554 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41556         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41557         EOPNOTSUPP.
41558         * sysdeps/mach/hurd/fsync.c: Likewise.
41560         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41561         [_POSIX_REALTIME_SIGNALS]: Change condition to
41562         [_POSIX_REALTIME_SIGNALS > 0].
41564 2012-10-27  Andreas Jaeger  <aj@suse.de>
41566         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41567         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41568         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41569         [__WORDSIZE != 64]: Likewise.
41571 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41573         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41574         *  iconvdata/tst-tables.sh: Likewise.
41576 2012-10-25  David S. Miller  <davem@davemloft.net>
41578         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41579         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41580         of strtoull.
41582         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41583         ifunc-impl-list.c
41584         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41585         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41586         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41587         file.
41589 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41592         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41593         __getdirentries.
41595 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41596             Jim Blandy  <jimb@codesourcery.com>
41598         * scripts/cross-test-ssh.sh: New file.
41599         * manual/install.texi (Configuring and compiling): Document use of
41600         cross-test-ssh.sh.
41601         * INSTALL: Regenerated.
41603 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41605         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41606         EOPNOTSUPP.
41608 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41610         * Makeconfig (run-program-prefix): Fix comment.
41612 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41613             Jim Blandy  <jimb@codesourcery.com>
41615         * Makeconfig (test-wrapper): New variable,
41616         (test-wrapper-env): Likewise.
41617         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41618         (run-built-tests): Define to yes.
41619         (run-program-prefix): Use $(test-wrapper).
41620         (built-program-cmd): Likewise.
41621         * Rules (make-test-out): Use $(test-wrapper-env) and
41622         $(host-built-program-cmd).
41623         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41624         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41625         tst-pathopt.sh.
41626         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41627         $(test-wrapper-env) to tst-rtld-load-self.sh.
41628         ($(objpfx)order2.out): Use $(test-wrapper).
41629         ($(objpfx)tst-initorder.out): Likewise.
41630         ($(objpfx)tst-initorder2.out): Likewise.
41631         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41632         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41633         (test_wrapper_env): New variable.  Use it to run ld.so.
41634         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41635         Use it to run ld.so.
41636         (test_wrapper_env): Likewise.
41637         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41638         $(test-wrapper) to run-iconv-test.sh.
41639         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41640         (ICONV): Use $test_wrapper.
41641         * posix/Makefile ($(objpfx)globtest.out): Pass
41642         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41643         globtest.sh, not $(run-program-prefix).
41644         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41645         (test_wrapper): Likewise.
41646         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41647         set together with run_via_rtld_prefix.
41648         (run_program_prefix): Define in terms of test_wrapper and
41649         run_via_rtld_prefix.
41651 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41653         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41654         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41655         Targets removed.
41657         [BZ #14743]
41658         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41659         Declare __clock_getres, __clock_gettime, __clock_settime,
41660         __clock_nanosleep, and __clock_getcpuclockid.
41661         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41662         Remove librt_hidden_def (clock_gettime).
41663         * sysdeps/unix/clock_gettime.c: Likewise.
41664         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41665         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41666         * rt/clock_getres.c: Define __clock_getres as an alias.
41667         * sysdeps/posix/clock_getres.c: Likewise.
41668         * rt/clock_settime.c: Define __clock_settime as an alias.
41669         * sysdeps/unix/clock_settime.c: Likewise.
41670         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41671         * sysdeps/unix/clock_nanosleep.c: Likewise.
41672         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41673         * rt/clock-compat.c: New file.
41674         * rt/Makefile (librt-routines): Add clock-compat and move
41675         $(clock-routines) to ...
41676         (routines): ... here, new variable.
41677         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41678         Don't add get_clockfreq here.
41679         * rt/Versions (libc: GLIBC_2.17): New version set.
41680         Add clock_* symbols here.
41681         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41683         (GLIBC_2.17): Add clock_* symbols.
41684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41686         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41688         Likewise.
41689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41690         Likewise.
41691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41695         * NEWS: Mention the move.
41697         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41698         Use __open, __read, __close rather than their public counterparts.
41699         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41700         (__get_clockfreq_via_cpuinfo): Likewise.
41701         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41702         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41704         * config.h.in (HAVE_IFUNC): New #undef.
41705         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41706         was successful.
41707         * configure: Regenerated.
41709 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41711         * configure.in: Move READELF check to start of file.
41712         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41713         libc_cv_asm_gnu_indirect_function in the process.
41714         * configure: Regenerated.
41716 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41718         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41719         send the output to /dev/null.
41720         (libc_cv_cc_with_libunwind): Likewise.
41721         (libc_cv_as_noexecstack): Likewise.
41722         * configure: Regenerate.
41724 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41726         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41728         * posix/globtest.sh (TMPDIR): Do not set.
41729         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41730         (testout): Likewise.
41732 2012-10-24  Andreas Jaeger  <aj@suse.de>
41734         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41735         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41736         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41737         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41738         posix_fadvise64, posix_fallocate64.
41740         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41741         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41742         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41743         Likewise.
41744         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41745         Likewise.
41746         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41748         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41749         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41750         <bits/fcntl-linux.h>.
41751         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41753         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41754         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41755         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41756         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41757         [__WORDSIZE != 64]: Likewise.
41759 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41761         * Makeconfig (run-built-tests): New variable.
41762         * Rules [$(cross-compiling) = yes]: Change condition to
41763         [$(run-built-tests) = no].
41764         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41765         to [$(run-built-tests) = yes].
41766         * elf/Makefile [$(cross-compiling) = no]: Likewise
41767         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41768         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41769         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41770         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41771         * io/Makefile [$(cross-compiling) = no]: Likewise.
41772         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41773         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41774         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41775         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41776         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41777         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41778         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41779         * string/Makefile [$(cross-compiling) = no]: Likewise.
41781         * posix/Makefile ($(objpfx)globtest.out): Pass
41782         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41783         $(rtld-installed-name).
41784         * posix/globtest.sh (elf_objpfx): Remove variable.
41785         (rtld_installed_name): Likewise.
41786         (library_path): Likewise.
41787         (run_program_prefix): New variable.  Use for running globtest
41788         binary.
41790 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41791             Joseph Myers  <joseph@codesourcery.com>
41793         * Makeconfig (host-built-program-cmd): New variable.
41794         * elf/Makefile (tst-stackguard1-ARGS): Use
41795         $(host-built-program-cmd).
41796         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41797         (tst-spawn-ARGS): Likewise.
41798         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41800 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41801             Jim Blandy  <jimb@codesourcery.com>
41803         * Makeconfig (run-via-rtld-prefix): New variable.
41804         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41805         (built-program-cmd): Likewise.
41807 2012-10-22  Andreas Jaeger  <aj@suse.de>
41809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41810         __O_RSYNC if it exists, otherwise to O_SYNC.
41812 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41813             Joseph Myers  <joseph@codesourcery.com>
41815         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41816         /dev/null.
41817         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41818         from /dev/null
41819         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41820         /dev/null.
41822 2012-10-22  Andreas Jaeger  <aj@suse.de>
41824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41825         Define always.
41826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41829         bits/fcntl-linux.h.
41831         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41832         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41835         to __O_LARGEFILE.
41836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41837         to __O_LARGEFILE.
41839 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41840             Joseph Myers  <joseph@codesourcery.com>
41842         * config.make.in (NM): New variable.
41844 2012-10-21  Andreas Jaeger  <aj@suse.de>
41846         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41847         definitions and declarations that are provided by
41848         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41850 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41852         [BZ #14683]
41853         * elf/Makefile (tests-static): Add tst-leaks1-static.
41854         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41855         ($(objpfx)tst-leaks1-static): New rule.
41856         ($(objpfx)tst-leaks1-static-mem): Likewise.
41857         (tst-leaks1-static-ENV): New macro.
41858         * elf/dl-open.c (dl_open_worker): Check the main application
41859         only if SHARED is defined.
41860         * elf/tst-leaks1-static.c: New file.
41862 2012-10-20  Andreas Jaeger  <aj@suse.de>
41864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41865         generic values for Linux.
41866         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41867         and declarations that are provided by <bits/fcntl-linux.h> and
41868         include <bits/fcntl-linux.h>.
41869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41872 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41874         * io/fcntl.h: Move include of <bits/types.h> to the top and
41875         include it unconditionally.
41877 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41879         * wcsmbs/Makefile (tests-ifunc): New variable.
41880         (tests): Add $(tests-ifunc).
41881         * wcsmbs/test-wcschr-ifunc.c: New file.
41882         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41883         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41884         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41885         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41886         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41888         * string/Makefile (tests-ifunc): New variable.
41889         (tests): Add $(tests-ifunc).
41890         * string/test-memccpy.c (TEST_NAME): New macro.
41891         * string/test-memchr.c (TEST_NAME): Likewise.
41892         * string/test-memcmp.c (TEST_NAME): Likewise.
41893         * string/test-memcpy.c (TEST_NAME): Likewise.
41894         * string/test-memmem.c (TEST_NAME): Likewise.
41895         * string/test-memmove.c (TEST_NAME): Likewise.
41896         * string/test-memset.c (TEST_NAME): Likewise.
41897         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41898         * string/test-stpcpy.c (TEST_NAME): Likewise.
41899         * string/test-stpncpy.c (TEST_NAME): Likewise.
41900         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41901         * string/test-strcasestr.c (TEST_NAME): Likewise.
41902         * string/test-strcat.c (TEST_NAME): Likewise.
41903         * string/test-strchr.c (TEST_NAME): Likewise.
41904         * string/test-strcmp.c(TEST_NAME): Likewise.
41905         * string/test-strcpy.c (TEST_NAME): Likewise.
41906         * string/test-strcspn.c (TEST_NAME): Likewise.
41907         * string/test-strlen.c (TEST_NAME): Likewise.
41908         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41909         * string/test-strncmp.c (TEST_NAME): Likewise.
41910         * string/test-strncpy.c (TEST_NAME): Likewise.
41911         * string/test-strnlen.c (TEST_NAME): Likewise.
41912         * string/test-strpbrk.c (TEST_NAME): Likewise.
41913         * string/test-strrchr.c (TEST_NAME): Likewise.
41914         * string/test-strspn.c (TEST_NAME): Likewise.
41915         * string/test-strstr.c (TEST_NAME): Likewise.
41916         * string/test-bcopy-ifunc.c: New file.
41917         * string/test-bzero-ifunc.c: Likewise.
41918         * string/test-memccpy-ifunc.c: Likewise.
41919         * string/test-memchr-ifunc.c: Likewise.
41920         * string/test-memcmp-ifunc.c: Likewise.
41921         * string/test-memcpy-ifunc.c: Likewise.
41922         * string/test-memmem-ifunc.c: Likewise.
41923         * string/test-memmove-ifunc.c: Likewise.
41924         * string/test-mempcpy-ifunc.c: Likewise.
41925         * string/test-memset-ifunc.c: Likewise.
41926         * string/test-rawmemchr-ifunc.c: Likewise.
41927         * string/test-stpcpy-ifunc.c: Likewise.
41928         * string/test-stpncpy-ifunc.c: Likewise.
41929         * string/test-strcasecmp-ifunc.c: Likewise.
41930         * string/test-strcasestr-ifunc.c: Likewise.
41931         * string/test-strcat-ifunc.c: Likewise.
41932         * string/test-strchr-ifunc.c: Likewise.
41933         * string/test-strchrnul-ifunc.c: Likewise.
41934         * string/test-strcmp-ifunc.c: Likewise.
41935         * string/test-strcpy-ifunc.c: Likewise.
41936         * string/test-strcspn-ifunc.c: Likewise.
41937         * string/test-strlen-ifunc.c: Likewise.
41938         * string/test-strncasecmp-ifunc.c: Likewise.
41939         * string/test-strncat-ifunc.c: Likewise.
41940         * string/test-strncmp-ifunc.c: Likewise.
41941         * string/test-strncpy-ifunc.c: Likewise.
41942         * string/test-strnlen-ifunc.c: Likewise.
41943         * string/test-strpbrk-ifunc.c: Likewise.
41944         * string/test-strrchr-ifunc.c: Likewise.
41945         * string/test-strspn-ifunc.c: Likewise.
41946         * string/test-strstr-ifunc.c: Likewise.
41948         * debug/Makefile (tests-ifunc): New variable.
41949         (tests): Add $(tests-ifunc).
41950         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41951         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41952         * debug/test-stpcpy_chk-ifunc.c: New file.
41953         * debug/test-strcpy_chk-ifunc.c: Likewise.
41955 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41957         [BZ #13601]
41958         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41959         header is not read in.
41961 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41963         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41964         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41965         directly.  Pass built executable to script as
41966         $(built-program-cmd).
41967         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41968         $testprogram without using LD_LIBRARY_PATH and $ldso.
41970         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41971         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41972         $(rtld-installed-name).
41973         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41974         (rtld_installed_name): Likewise.
41975         (library_path): Likewise.
41976         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41977         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41978         $(run-program-prefix) to tst-tables.sh.
41979         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41980         it to run tst-table-from and tst-table-to.
41981         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41982         Pass it to tst-table.sh.
41983         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41984         $(run-program-prefix) to tst-gettext.sh.
41985         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41986         tst-translit.sh.
41987         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41988         tst-gettext2.sh.
41989         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41990         to run tst-gettext.
41991         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41992         to run tst-gettext2.
41993         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41994         to run tst-translit.
41995         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41996         $(run-program-prefix) to tst-mtrace.sh.
41997         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41998         to run tst-mtrace.
41999         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42000         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42001         $(rtld-installed-name).
42002         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42003         (rtld_installed_name): Likewise.
42004         (run_program_prefix): New variable.  Use it to run wordexp-test.
42006         * Makeconfig (ARCH): Remove all definitions.
42007         (machine): Likewise.
42008         [ARCH]: Remove conditional code.
42009         [!objdir]: Give error.
42010         [!objdir] (objpfx): Remove.
42011         [!objdir] (common-objpfx): Likewise.
42012         [!objdir] (common-objdir): Likewise.
42013         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42014         AC_CONFIG_FILES call.
42015         * configure: Regenerated.
42017         [BZ #13888]
42018         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42019         or TMPDIR.
42020         (testout): Likewise.
42022         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42023         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42024         $(rtld-installed-name).
42025         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42026         (rtld_installed_name): Likwise.
42027         (runit): Remove function.
42028         (run_getconf): New variable,  Use it for running getconf binary.
42030 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42032         [BZ #14716]
42033         * string/test-memmem.c (check_result): New function.
42034         (do_one_test): Use it.
42035         (check1): New function.
42036         (test_main): Use it.
42038 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42040         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42042 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42044         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42045         (_G_LSEEK64): Likewise.
42046         (_G_MMAP64): Likewise.
42047         (_G_FSTAT64): Likewise.
42048         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42049         (_G_LSEEK64): Likewise.
42050         (_G_MMAP64): Likewise.
42051         (_G_FSTAT64): Likewise.
42052         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42053         unconditional.  Call __mmap64 directly.
42054         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42055         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42056         __lseek64 directly.
42057         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42058         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42059         __mmap64 directly.
42060         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42061         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42062         __lseek64 directly.
42063         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42064         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42065         __lseek64 directly.
42066         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42067         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42068         __lseek64 directly.
42069         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42070         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42071         __fxstat64 directly.
42072         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42073         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42074         unconditional.
42075         (freopen64) [!_G_OPEN64]: Remove conditional code.
42076         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42077         unconditional.
42078         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42079         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42080         unconditional.
42081         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42082         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42083         unconditional.
42084         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42085         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42086         unconditional.
42087         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42088         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42089         unconditional.
42090         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42091         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42092         unconditional.
42093         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42094         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42095         unconditional.
42096         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42098 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42100         [BZ #12140]
42101         * manual/memory.texi (Malloc Tunable Parameters): Add note
42102         about free list pointers overwriting some perturb bytes.
42103         Wording suggested by Roland McGrath.
42105 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42107         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42108         (lgamma_test): Likewise.
42109         (tgamma_test): Likewise.
42111 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42113         [BZ #14700]
42114         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42115         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42117 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42119         * NEWS: Mention BZ #14716.
42120         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42121         when removing AVAILABLE1_USES_J macro.
42123 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42125         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42126         (__bswap_64): __uint64_t for unsigned 64-bit int.
42128 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42130         * include/string.h (memmem): Declare libc hidden alias.
42131         * string/memmem.c (memmem): Define libc hidden alias.
42132         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42133         __read, __close instead of open, read, close.
42135 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42138         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42139         global and hidden.
42140         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42141         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42142         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42143         Likewise.
42144         (__rawmemchr_sse2): Likewise.
42145         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42146         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42147         (__strchr_sse2): Likewise.
42148         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42149         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42150         (__strcasecmp_sse2): Likewise.
42151         (__strncasecmp_sse2): Likewise.
42152         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42153         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42154         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42155         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42156         (__strrchr_sse2): Likewise.
42157         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42158         ifunc-impl-list.c.
42159         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42160         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42161         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42162         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42163         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42164         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42165         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42167         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42168         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42169         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42170         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42171         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42172         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42173         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42174         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42175         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42176         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42177         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42178         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42179         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42180         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42181         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42182         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42183         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42184         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42185         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42186         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42187         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42188         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42190         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42191         global and hidden.
42192         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42193         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42194         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42195         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42196         Likewise.
42197         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42198         Likewise.
42199         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42200         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42201         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42202         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42203         ifunc-impl-list.c.
42204         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42205         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42206         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42207         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42208         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42209         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42210         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42211         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42212         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42213         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42214         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42215         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42216         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42217         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42218         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42219         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42220         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42221         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42222         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42223         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42224         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42225         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42226         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42227         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42228         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42229         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42230         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42231         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42232         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42233         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42234         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42235         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42236         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42237         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42238         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42239         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42240         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42241         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42242         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42243         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42244         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42246         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42247         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42248         * include/ifunc-impl-list.h: New file.
42249         * misc/ifunc-impl-list.c: Likewise.
42250         * misc/Makefile (routines): Add ifunc-impl-list.
42251         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42252         * string/test-string.h: Include <ifunc-impl-list.h>.
42253         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42254         TEST_NAME]: New variables.
42255         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42256         are defined.
42257         (test_init): Call __libc_ifunc_impl_list to initialize
42258         func_list if TEST_IFUNC and TEST_NAME are defined.
42260         * string/Makefile (strop-tests): Add bcopy and bzero.
42261         * string/test-bcopy.c: New file.
42262         * string/test-bzero.c: Likewise.
42263         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42264         defined.
42265         * string/test-memset.c: Support bzero test if TEST_BZERO is
42266         defined.
42267         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42268         __libc_memmove.
42269         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42270         __libc_memset.
42271         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42272         of memset.
42274 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42276         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42277         * configure: Regenerated.
42279         * Makeconfig (+link-static-before-libc): Don't include
42280         $(link-static-libc).
42282         * libio/libio.h (_IO_pos_t): Remove.
42284 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42286         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42287         McGrath.
42289 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42291         * crypt/crypt-entry.c: Include fips-private.h.
42292         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42293         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42294         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42295         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42297 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42299         * crypt/crypt-private.h: Include stdbool.h.
42300         (_ufc_setup_salt_r): Return bool.
42301         * crypt/crypt-entry.c: Include errno.h.
42302         (__crypt_r): Return NULL with EINVAL for bad salt.
42303         * crypt/crypt_util.c (bad_for_salt): New.
42304         (_ufc_setup_salt_r): Check that salt is long enough and within
42305         the specified alphabet.
42306         * crypt/badsalttest.c: New file.
42307         * crypt/Makefile (tests): Add it.
42308         ($(objpfx)badsalttest): New.
42310 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42312         * NEWS: Add entry for BZ #14602.
42314 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42316         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42317         type-generic.
42318         * math/libm-test.inc: Update comment listing what functions and
42319         macros are tested.
42320         (isgreater_test): New function.
42321         (isgreaterequal_test): Likewise.
42322         (isless_test): Likewise.
42323         (islessequal_test): Likewise.
42324         (islessgreater_test): Likewise.
42325         (isunordered_test): Likewise.
42326         (main): Call the new functions.
42328 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42330         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42331         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42332         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42333         * sysdeps/i386/configure: Regenerated.
42334         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42335         * sysdeps/mach/configure: Regenerated.
42336         * sysdeps/mach/hurd/configure: Regenerated.
42337         * sysdeps/powerpc/configure: Regenerated.
42338         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42339         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42340         * sysdeps/s390/s390-32/configure: Regenerated.
42341         * sysdeps/s390/s390-64/configure: Regenerated.
42342         * sysdeps/sh/configure: Regenerated.
42343         * sysdeps/sparc/configure: Regenerated.
42344         * sysdeps/unix/sysv/linux/configure: Regenerated.
42345         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42346         * sysdeps/x86_64/configure: Regenerated.
42348         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42349         defined.  Don't check if MAP is NULL.
42351 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42353         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42354         (_G_stat64): Likewise.
42355         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42356         (_G_stat64): Likewise.
42357         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42358         instead of struct _G_stat64.
42359         * libio/fileops.c (mmap_remap_check): Likewise.
42360         (decide_maybe_mmap): Likewise.
42361         (_IO_new_file_seekoff): Likewise.
42362         (_IO_file_stat): Likewise.
42363         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42364         _G_off64_t.
42365         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42366         instead of struct _G_stat64.
42367         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42369 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42371         [BZ #14602]
42372         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42373         Replace with ...
42374         (CHECK_EOL): New macro.
42375         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42376         CHECK_EOL.
42377         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42378         Replace with CHECK_EOL.
42379         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42380         Replace with CHECK_EOL.
42382 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42384         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42385         type-generic.
42386         * math/libm-test.inc: Update comment listing what functions and
42387         macros are tested.
42388         (finite_test): New function.
42389         (isinf_test): Likewise.
42390         (isnan_test): Likewise.
42391         (fpclassify_test): Test subnormal input.
42392         (isfinite_test): Likewise.
42393         (isnormal_test): Likewise.
42394         (main): Call the new functions.
42396 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42398         [BZ #14660]
42399         * Makerules (%.dynsym): Force C locale when running
42400         $(OBJDUMP) --dynamic-syms.
42402 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42404         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42405         <stdint.h>.
42407 2012-10-06  David S. Miller  <davem@davemloft.net>
42409         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42410         upper 32-bits of the length value in %o2 since we use branch-on-register
42411         tests which consider the entire 64-bit register.
42413 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42415         * string/test-strstr.c (check2): Add a test for page boundary.
42417 2012-10-05  David S. Miller  <davem@davemloft.net>
42419         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42420         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42421         file.
42422         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42423         sysdep_routines.
42424         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42425         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42426         and bzero when HWCAP_SPARC_CRYPTO is present.
42428 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42430         [BZ #14602]
42431         * string/test-strstr.c (check2): New function.
42432         (test_main): Call check2.
42434         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42435         and bug-strchr1.
42436         * string/bug-strcasestr1.c (do_test): Moved to ...
42437         * string/test-strcasestr.c (check1): Here.  New function.
42438         (do_one_test): Break out result checking code into ...
42439         (check_result): This.  New function.
42440         (do_one_test): Call check_result.
42441         (test_main): Call check1.
42442         * string/bug-strchr1.c (do_test): Moved to ...
42443         * string/test-strchr.c (check1): Here.  New function.
42444         (do_one_test): Break out result checking code into ...
42445         (check_result): This.  New function.
42446         (do_one_test): Call check_result.
42447         (test_main): Call check1.
42448         * string/bug-strstr1.c (main): Moved to ...
42449         * string/test-strstr.c (check1): Here.  New function.
42450         (do_one_test): Break out result checking code into ...
42451         (check_result): This.  New function.
42452         (do_one_test): Call check_result.
42453         (test_main): Call check1.
42454         * string/bug-strcasestr1.c: Removed.
42455         * string/bug-strchr1.c: Likewise.
42456         * string/bug-strstr1.c: Likewise.
42458         * elf/Makefile (dl-routines): Add hwcaps.
42459         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42460         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42461         (_dl_important_hwcaps): Moved to ...
42462         * elf/dl-hwcaps.c: Here.  New file.
42463         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42465         [BZ #14557]
42466         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42467         if IS_IN_rtld isn't defined.
42469         * elf/dl-support.c (_dl_sysinfo_map): New.
42470         Include "get-dynamic-info.h" and "setup-vdso.h".
42471         (_dl_non_dynamic_init): Call setup_vdso.
42472         * elf/dynamic-link.h: Don't include <assert.h>.
42473         (elf_get_dynamic_info): Moved to ...
42474         * elf/get-dynamic-info.h: Here.  New file.
42475         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42476         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42477         * elf/setup-vdso.h: Here.  New file.
42478         * elf/rtld.c: Include "setup-vdso.h".
42479         (dl_main): Call setup_vdso.
42481 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42483         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42484         creal in comment listing functions tested.  List finite, isinf,
42485         isnan, isless, islessequal, isgreater, isgreaterequal,
42486         islessgreater, isunordered, lgamma_r and pow10 as functions and
42487         macros not tested.  Mention which functions not tested are aliases
42488         for other functions.  Fix typo.  Note that signs of NaNs are not
42489         tested.
42491         * scripts/config.guess: Update from config.git.
42492         * scripts/config.sub: Likewise.
42494 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42496         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42497         * misc/madvise.c (madvise): Renamed to __madvise.
42498         Make madvise a weak alias.
42499         * include/sys/mman.h: Declare __madvise.
42500         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42501         * sysdeps/unix/syscalls.list
42502         (madvise): Make __madvise the strong name, and madvise a weak alias.
42503         * sysdeps/unix/sysv/linux/syscalls.list
42504         (madvise, mmap): Remove redundant entries.
42505         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42506         * malloc/malloc.c (mtrim): Likewise.
42507         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42509 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42511         * sysdeps/mach/hurd/dl-cache.c: File removed.
42512         * config.h.in (USE_LDCONFIG): New #undef.
42513         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42514         * configure: Regenerated.
42515         * elf/Makefile (dl-routines): Add dl-cache only under
42516         [$(use-ldconfig) = yes].
42517         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42518         cache on [USE_LDCONFIG].
42519         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42520         [USE_LDCONFIG].
42521         * elf/rtld.c (dl_main): Likewise.
42523 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42525         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42526         _SC_LEVEL4_CACHE_LINESIZE.
42528 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42530         * sysdeps/unix/bsd/confstr.h: File removed.
42532 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42534         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42535         sys/sdt-config.h.
42537 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42539         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42540         Make 'mapoff' field ElfW(Off) rather than off_t.
42542 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42544         * nscd/Makefile: Remove nscd-cflags and all its users.
42545         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42546         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42548         [BZ #10631]
42549         * malloc.c (malloc_printerr): Clarify error message.
42551 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42553         [BZ #14648]
42554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42555         Set bit_FMA_Usable if FMA is supported.
42556         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42557         macro.
42558         (bit_FMA4_Usable): Updated.
42559         (index_FMA_Usable): New macro.
42560         (CPUID_FMA): Likewise
42561         (HAS_FMA): Defined with bit_FMA_Usable.
42563 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42565         * bits/types.h (__swblk_t): Type removed.
42566         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42567         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42569         (__SWBLK_T_TYPE): Likewise.
42570         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42571         (__SWBLK_T_TYPE): Likewise.
42572         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42573         (__SWBLK_T_TYPE): Likewise.
42574         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42575         (__SWBLK_T_TYPE): Likewise.
42577 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42578             Honza Horak <hhorak@redhat.com>
42580         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42581         (xdr_mapname): Use YPMAXMAP as maxsize.
42582         (xdr_peername): Use YPMAXPEER as maxsize.
42583         (xdr_keydat): Use YPAXRECORD as maxsize.
42584         (xdr_valdat): Use YPMAXRECORD as maxsize.
42586 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42588         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42590         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42591         * csu/init-first.c: ... here.
42592         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42593         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42594         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42595         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42596         * sysdeps/i386/init-first.c: File removed.
42597         * sysdeps/sh/init-first.c: File removed.
42599 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42601         [BZ #14645]
42602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42603         if x * y might underflow to zero and z is zero.
42604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42606         * math/libm-test.inc (min_subnorm_value): New variable.
42607         (fma_test): Add more tests.
42608         (fma_test_towardzero): Likewise.
42609         (fma_test_downward): Likewise
42610         (fma_test_upward): Likewise.
42611         (initialize): Set min_subnorm_value.
42613 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42615         [BZ #14638]
42616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42617         0 + 0.
42618         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42619         mode for addition resulting in exact zero.
42620         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42621         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42622         exact 0 + 0.
42623         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42625         * math/libm-test.inc (fma_test): Add more tests.
42626         (fma_test_towardzero): New function.
42627         (fma_test_downward): Likewise.
42628         (fma_test_upward): Likewise.
42629         (main): Call the new functions.
42631 2012-09-28  David S. Miller  <davem@davemloft.net>
42633         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42635 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42637         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42638         instead of SIGALRM.
42640         * sysdeps/gnu/_G_config.h: Moved to ...
42641         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42642         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42643         * sysdeps/generic/_G_config.h: ... here.
42645         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42647         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42649         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42650         Conditionalize target on [libnss_test1.so-version].
42652         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42654         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42655         (elfobjdir): Move out of conditionals.
42657         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42658         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42659         (__nss_lookup_function): Conditionalize label remove_from_tree on
42660         [!DO_STATIC_NSS || SHARED], matching its only use.
42662 2012-09-28  David S. Miller  <davem@davemloft.net>
42664         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42665         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42666         file.
42667         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42668         sysdep_routines.
42669         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42670         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42671         when HWCAP_SPARC_CRYPTO is present.
42673 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42675         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42677 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42679         [BZ #6530]
42680         * stdio-common/vfprintf.c (process_string_arg): Revert
42681         2000-07-22 change.
42683 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42685         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42686         for testcase.
42687         * stdio-common/tst-sprintf.c: Include <locale.h>
42688         (main): Test sprintf's handling of incomplete multibyte
42689         characters.
42691 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42693         * elf/dl-runtime.c (VERSYMIDX): Removed.
42694         * elf/dl-version.c (VERSYMIDX): Likewise.
42695         * elf/do-rel.h (VERSYMIDX): Likewise.
42696         (VALIDX): Likewise.
42697         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42698         * elf/rtld.c (VALIDX): Likewise.
42699         (ADDRIDX): Likewise.
42700         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42701         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42702         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42703         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42704         (VALIDX): Likewise.
42705         (ADDRIDX): Likewise.
42707 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42709         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42711 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42713         [BZ #11438]
42714         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42715         to global scope.
42716         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42717         addresses are in the same scope as 192.0.2/24.
42718         * posix/gai.conf: Document new scope table defaults.
42720 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42722         [BZ #5298]
42723         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42724         for ftell.  Compute offsets from write pointers instead.
42725         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42727 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42729         [BZ #14543]
42730         * libio/Makefile (tests): New test case tst-fseek.
42731         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42732         combination works in wide mode.
42733         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42734         state when the external buffer state changes.
42736 2012-09-27  David S. Miller  <davem@davemloft.net>
42738         [BZ #14376]
42739         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42740         pass reloc->r_addend in as the 'high' argument to
42741         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42745 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42747         * rt/tst-aio2.c: Include <pthread.h>.
42748         * rt/tst-aio3.c: Likewise.
42750 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42752         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42754 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42756         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42757         contents on [SHARED].
42759 2012-09-26  Marek Polacek  <polacek@redhat.com>
42761         [BZ #14530]
42762         [BZ #13741]
42763         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42764         for C++ and GCC <4.3 as well as for non GCC compilers.
42766 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42770 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42772         * Makefile.in (all, install): Declare with .PHONY.
42773         Reported by Michael Hope <michael.hope@linaro.org>.
42775 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42777         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42778         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42779         system header.
42780         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42781         Likewise.
42782         (sydep_routines): Add the new and the internal functions.
42783         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42784         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42786         (GLIBC_2.17): Add the new function.
42787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42788         (GLIBC_2.17): Likewise.
42789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42790         (GLIBC_2.17): Likewise.
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42792         (GLIBC_2.17): Likewise.
42793         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42795 2012-09-25  Alan Modra  <amodra@gmail.com>
42797         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42798         Add release barrier before setting once_control to say
42799         initialisation is done.  Add hints on lwarx.  Use macro in
42800         place of isync.
42801         (clear_once_control): Add release barrier.
42803 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42805         [BZ #13629]
42806         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42807         specially.
42808         * math/s_clog10.c (__clog10): Likewise.
42809         * math/s_clog10f.c (__clog10f): Likewise.
42810         * math/s_clog10l.c (__clog10l): Likewise.
42811         * math/s_clogf.c (__clogf): Likewise.
42812         * math/s_clogl.c (__clogl): Likewise.
42813         * math/Makefile (libm-calls): Add x2y2m1.
42814         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42815         (__x2y2m1): Likewise.
42816         (__x2y2m1l): Likewise.
42817         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42818         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42819         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42820         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42821         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42822         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42823         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42824         * sysdeps/i386/fpu/libm-test-ulps: Update.
42825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42827         [BZ #14621]
42828         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42829         int as type of variable DEPTH.
42830         (glob): Use size_t instead of int as type of variables NEWCOUNT
42831         and OLD_PATHC.
42833 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42835         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42836         Add s_sincosf-sse2.
42837         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42838         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42839         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42840         macros for using routine as __sincosf_ia32.
42841         Use macro for function declaration and weak_alias.
42842         * sysdeps/i386/fpu/libm-test-ulps: Update.
42844         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42847         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42848         subnormal argument.
42849         * math/s_cexpf.c (__cexpf): Likewise.
42850         * math/s_csinf.c (__csinf): Likewise.
42851         * math/s_csinhf.c (__csinhf): Likewise.
42852         * math/s_ctanf.c (__ctanf): Likewise.
42853         * math/s_ctanhf.c (__ctanhf): Likewise.
42854         * math/s_ccosh.c (__ccoshf): Likewise.
42855         * math/s_cexp.c (__cexpl): Likewise.
42856         * math/s_csin.c (__csin): Likewise.
42857         * math/s_csinh.c (__csinh): Likewise.
42858         * math/s_ctan.c (__ctan): Likewise.
42859         * math/s_ctanh.c (ctanh): Likewise.
42860         * math/s_ccoshl.c (__ccoshl): Likewise.
42861         * math/s_cexpl.c (__cexpl): Likewise.
42862         * math/s_csinl.c (__csinl): Likewise.
42863         * math/s_csinhl.c (__csinhl): Likewise.
42864         * math/s_ctanl.c (__ctanl): Likewise.
42865         * math/s_ctanhl.c (__ctanhl): Likewise.
42867 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42869         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42870         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42871         (_IO_off_t): Define to __off_t, not _G_off_t.
42872         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42873         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42874         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42875         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42876         type of __dummy and __dummy2 fields.
42877         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42878         (_G_ssize_t): Likewise.
42879         (_G_off_t): Likewise.
42880         (_G_pid_t): Likewise.
42881         (_G_uid_t): Likewise.
42882         (_G_wchar_t): Likewise.
42883         (_G_wint_t): Likewise.
42884         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42885         (_G_ssize_t): Likewise.
42886         (_G_off_t): Likewise.
42887         (_G_pid_t): Likewise.
42888         (_G_uid_t): Likewise.
42889         (_G_wchar_t): Likewise.
42890         (_G_wint_t): Likewise.
42891         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42892         (_G_ssize_t): Likewise.
42893         (_G_off_t): Likewise.
42894         (_G_pid_t): Likewise.
42895         (_G_uid_t): Likewise.
42896         (_G_wchar_t): Likewise.
42897         (_G_wint_t): Likewise.
42899 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42901         * malloc/arena.c: Include malloc-sysdep.h.
42902         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42903         is sufficient to shrink the heap or an unmap is needed.
42904         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42905         new function check_may_shrink_heap.
42906         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42907         new function check_may_shrink_heap.
42909 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42911         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42912         comments.
42914 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42916         * catgets/test-gencat.sh: Add "set -e".
42917         * elf/tst-pathopt.sh: Likewise.
42918         * grp/tst_fgetgrent.sh: Likewise.
42919         * iconvdata/run-iconv-test.sh: Likewise.
42920         * intl/tst-gettext.sh: Likewise.
42921         * intl/tst-gettext2.sh: Likewise.
42922         * intl/tst-gettext4.sh: Likewise.
42923         * intl/tst-gettext6.sh: Likewise.
42924         * intl/tst-translit.sh: Likewise.
42925         * io/ftwtest-sh: Likewise.
42926         * libio/test-freopen.sh: Likewise.
42927         * malloc/tst-mtrace.sh: Likewise.
42928         * posix/globtest.sh: Likewise.
42929         * posix/tst-getconf.sh: Likewise.
42930         * posix/wordexp-tst.sh: Likewise.
42931         * stdio-common/tst-printf.sh: Likewise.
42932         * stdio-common/tst-unbputc.sh: Likewise.
42933         * stdlib/tst-fmtmsg.sh: Likewise.
42934         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42935         * catgets/Makefile: Do not specify -e option when running
42936         testsuite shell scripts.
42937         * elf/Makefile: Likewise.
42938         * grp/Makefile: Likewise.
42939         * iconvdata/Makefile: Likewise.
42940         * intl/Makefile: Likewise.
42941         * io/Makefile: Likewise.
42942         * libio/Makefile: Likewise.
42943         * malloc/Makefile: Likewise.
42944         * posix/Makefile: Likewise.
42945         * stdio-common/Makefile: Likewise.
42946         * stdlib/Makefile: Likewise.
42947         * sysdeps/x86_64/Makefile: Likewise.
42949         * io/ftwtest-sh: Add copyright header.
42950         * posix/globtest.sh: Likewise.
42951         * posix/tst-getconf.sh: Likewise.
42952         * posix/wordexp-tst.sh: Likewise.
42953         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42955 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42957         [BZ #13679]
42958         * Makeconfig (+link): Defined as $(+link-static) if
42959         $(build-shared) isn't yes.
42960         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42961         isn't yes.
42962         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42964         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42966         [BZ #14562]
42967         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42968         new chunk size with MALLOC_ALIGN_MASK.
42970 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42972         [BZ #5044]
42973         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42974         <rounding-mode.h>.
42975         (__printf_fphex): Determine rounding using get_rounding_mode and
42976         round_away.
42977         * stdio-common/tst-printf-round.c (struct hex_test): New
42978         structure.
42979         (hex_tests): New variable.
42980         (test_hex_in_one_mode): New function.
42981         (do_test): Also run tests for hex float output.
42983 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42985         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42986         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42987         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42988         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42989         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42990         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42991         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42992         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42994 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42996         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42997         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42998         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42999         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43001 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43003         [BZ #14579]
43004         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43005         mode only.
43006         * elf/tst-rtld-load-self.sh: New test.
43007         * elf/Makefile: Run it.
43009 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43011         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43012         (tst-writev-ENV): Remove.
43013         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43015 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43017         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43019 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43021         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43022         unconditional.
43023         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43024         Likewise.
43025         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43026         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43027         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43028         Likewise.
43030 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43032         [BZ #14587]
43033         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43034         * config.make.in (have-cpp-asm-debuginfo): Removed.
43035         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43036         * configure: Regenerated.
43038 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43040         [BZ #5044]
43041         * stdio-common/printf_fp.c: Include <stdbool.h> and
43042         <rounding-mode.h>.
43043         (___printf_fp): Determine rounding using get_rounding_mode and
43044         round_away.
43045         * stdio-common/tst-printf-round.c: New file.
43046         * stdio-common/Makefile (tests): Add tst-printf-round.
43047         (link-libm): New variable.
43048         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43050 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43052         [BZ #14576]
43053         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43054         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43055         Likewise.
43056         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43057         Likewise.
43059 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43061         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43062         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43063         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43064         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43066 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43068         [BZ #14518]
43069         * include/rounding-mode.h: New file.
43070         * sysdeps/generic/get-rounding-mode.h: Likewise.
43071         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43072         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43073         (MAX_VALUE): New macro.
43074         (MIN_VALUE): Likewise.
43075         (overflow_value): New function.
43076         (underflow_value): Likewise.
43077         (round_and_return): Use overflow_value and underflow_value to
43078         determine return values in overflow and underflow cases.  Use
43079         round_away to determine rounding depending on rounding mode.
43080         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43081         determine return values in overflow and underflow cases.
43082         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43083         (struct test_results): New structure.
43084         (struct test): Use struct test_results to store expected results
43085         for all rounding modes.
43086         (TEST): Include expected results for all rounding modes.
43087         (test_in_one_mode): New function.
43088         (do_test): Use test_in_one_mode to compute and check results.
43089         Check results for all rounding modes.
43090         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43091         $(link-libm).
43093 2012-12-09  Allan McRae  <allan@archlinux.org>
43095         * sysdeps/i386/fpu/libm-test-ulps: Update
43097 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43099         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43100         (_G_int32_t): Likewise.
43101         (_G_uint16_t): Likewise.
43102         (_G_uint32_t): Likewise.
43103         (_G_HAVE_BOOL): Likewise.
43104         (_G_HAVE_ATEXIT): Likewise.
43105         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43106         (_G_HAVE_IO_FILE_OPEN): Likewise.
43107         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43108         (_G_int32_t): Likewise.
43109         (_G_uint16_t): Likewise.
43110         (_G_uint32_t): Likewise.
43111         (_G_HAVE_BOOL): Likewise.
43112         (_G_HAVE_ATEXIT): Likewise.
43113         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43114         (_G_HAVE_IO_FILE_OPEN): Likewise.
43115         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43116         (_G_int32_t): Likewise.
43117         (_G_uint16_t): Likewise.
43118         (_G_uint32_t): Likewise.
43119         (_G_HAVE_BOOL): Likewise.
43120         (_G_HAVE_ATEXIT): Likewise.
43121         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43122         (_G_HAVE_IO_FILE_OPEN): Likewise.
43124 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43126         * csu/libc-tls.c: Update copyright years.
43128 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43130         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43131         [!_G_USING_THUNKS]: Remove conditional code.
43132         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43133         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43135         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43136         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43137         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43138         (_G_VTABLE_LABEL_PREFIX): Likewise.
43139         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43140         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43141         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43142         (_G_VTABLE_LABEL_PREFIX): Likewise.
43143         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43144         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43145         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43146         (_G_VTABLE_LABEL_PREFIX): Likewise.
43147         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43149 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43151         * libio/Makefile: Include ../Makeconfig before tests.
43152         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43153         only if $(build-shared) is yes.
43155         * iconv/gconv_db.c: Update copyright years.
43157 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43159         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43160         unwind info if defined PIC. Fix special cases description.
43161         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43163         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43164         DP_HI_MASK entry.
43165         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43167 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43169         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43171         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43172         is NULL.
43174         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43175         (LDLIBS-tst-chk4): This.
43176         (LDFLAGS-tst-chk5): Renamed to ...
43177         (LDLIBS-tst-chk5): This.
43178         (LDFLAGS-tst-chk6): Renamed to ...
43179         (LDLIBS-tst-chk6): This.
43180         (LDFLAGS-tst-lfschk4): Renamed to ...
43181         (LDLIBS-tst-lfschk4): This.
43182         (LDFLAGS-tst-lfschk5): Renamed to ...
43183         (LDLIBS-tst-lfschk5): This.
43184         (LDFLAGS-tst-lfschk6): Renamed to ...
43185         (LDLIBS-tst-lfschk6): This.
43187         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43188         on $(common-objpfx)soversions.mk.
43190 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43192         [BZ #10014]
43193         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43194         example host name.
43196 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43198         * malloc/arena.c (arena_get_retry): New function that gets
43199         another arena for the caller to try its request on.
43200         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43201         current arena cannot fulfill the request.
43202         (__libc_memalign): Likewise.
43203         (__libc_memalign): Likewise.
43204         (__libc_pvalloc): Likewise.
43205         (__libc_calloc): Likewise.
43207 2012-09-05  John Tobey  <john.tobey@gmail.com>
43209         [BZ #13542]
43210         * manual/arith.texi (Operations on Complex): Fix description
43211         of carg branch cut.
43213 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43215         [BZ #10014]
43216         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43217         host name.
43219         [BZ #10038]
43220         * manual/memory.texi (Memory): Make order of menu items match
43221         order of sections.
43223 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43225         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43226         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43227         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43229 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43231         * csu/libc-tls.c (static_dtv): Renamed to ...
43232         (_dl_static_dtv): This.  Make it global.
43233         (_dl_initial_dtv): Removed.
43234         (__libc_setup_tls): Updated.
43235         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43236         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43237         DL_INITIAL_DTV.
43239 2012-09-06  Petr Machata  <pmachata@redhat.com>
43241         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43242         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43243         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43244         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43246 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43248         [BZ #14545]
43249         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43250         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43251         freeing dtv[-1].
43253 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43255         [BZ #14544]
43256         * Makeconfig (link-static-before-libc): Replace $(+prector)
43257         with $(+prectorT).
43258         (link-static-after-libc): Replace $(+postctor) with
43259         $(+postctorT).
43260         (link-bounded): Replace $(+prector)/$(+postctor) with
43261         $(+prectorT)/$(+postctorT).
43262         (+prectorT): New macro.
43263         (+postctorT): Likewise.
43265 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43267         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43268         (round_str): Handle values above the maximum for IBM long double
43269         as inexact.
43270         * stdlib/tst-strtod-round.c (tests): Regenerated.
43272 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43274         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43275         assembler flag.
43276         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43277         zarch_nohighgprs around the zarch optimized routines.
43278         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43279         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43281         for zarch.
43283 2012-09-05  David S. Miller  <davem@davemloft.net>
43285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43287         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43288         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43289         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43290         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43291         entries.
43293 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43295         * malloc/arena.c: Fold copyright years.
43296         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43298 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43300         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43302 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43304         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43306 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43308         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43309         change internal state upon failure.
43311 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43313         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43314         * malloc/memusage.c (mmap): Likewise.
43315         (mmap64, mremap): Likewise.  Adjust name in comment.
43317 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43319         * libio/fileops.c: Fix typos in comments.
43320         * libio/oldfileops.c: Likewise.
43321         * libio/wfileops.c: Likewise.
43323 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43325         [BZ #1349]
43326         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43327         (tst-malloc-usable-ENV): Set environment for test case.
43328         * malloc/hooks.c (malloc_check_get_size): New function to get
43329         requested size.
43330         * malloc/malloc.c (musable): Use malloc_check_get_size.
43331         * malloc/tst-malloc-usable.c: New test case.
43333 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43335         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43337 2012-09-05  Allan McRae  <allan@archlinux.org>
43339         [BZ #13966]
43340         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43341         determine header location.
43342         * configure: Regenerated.
43344 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43346         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43347         float format.
43348         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43349         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43350         format.
43351         (test): Regenerate.
43353 2012-09-04  David S. Miller  <davem@davemloft.net>
43355         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43356         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43357         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43359 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43361         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43362         failures.
43364         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43366 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43368         [BZ #9914]
43369         * libio/iogetdelim.c: Include <limits.h>.
43370         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43371         + len + 1 would overflow.
43373 2012-09-03  Andreas Jaeger  <aj@suse.de>
43375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43376         * sysdeps/i386/fpu/libm-test-ulps: Update.
43378 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43380         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43381         Add s_sinf-sse2, s_conf-sse2.
43383         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43384         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43385         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43386         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43388         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43389         for using routine as __sinf_ia32.
43390         Use macro for function declaration and weak_alias.
43391         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43392         for using routine as __cosf_ia32.
43393         Use macro for function declaration and weak_alias.
43395         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43396         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43398         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43399         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43402         * math/libm-test.inc (cos_test): Add more test cases.
43403         (sin_test): Likewise.
43404         (sincos_test): Likewise.
43406 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43408         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43409         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43410         hidden.
43411         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43413 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43415         [BZ #14538]
43416         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43417         first element of the GOT.
43418         (elf_machine_load_address): Return the difference between
43419         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43421 2012-09-01  Allan McRae  <allan@archlinux.org>
43423         [BZ #13412]
43424         * configure.in (AWK): Require gawk version 3.0 or later.
43425         * configure: Regenerated.
43427 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43429         * sysdeps/unix/sysv/linux/kernel-features.h
43430         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43431         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43432         [__NR_clock_getres]: Make code unconditional.
43433         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43434         (clock_getcpuclockid): Remove code left unreachable by removal of
43435         conditionals.
43436         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43437         code unconditional.
43438         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43439         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43440         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43441         Make code unconditional.
43442         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43443         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43444         * sysdeps/unix/sysv/linux/clock_settime.c
43445         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43446         conditional code.
43447         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43448         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43450 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43452         [BZ #14476]
43453         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43454         scripts/test-installation.pl.
43456         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43457         and $ld_so_version if it is set.
43459 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43461         [BZ #14516]
43462         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43463         failure if reading from procfs failed.
43464         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43466 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43468         * sysdeps/unix/sysv/linux/kernel-features.h
43469         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43470         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43471         Remove conditional code.
43472         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43473         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43474         Remove conditional code.
43475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43476         * sysdeps/unix/sysv/linux/i386/fxstat.c
43477         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43478         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43479         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43480         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43481         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43482         * sysdeps/unix/sysv/linux/i386/lxstat.c
43483         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43484         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43485         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43486         Remove conditional code.
43487         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43488         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43489         Remove conditional code.
43490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43491         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43492         <kernel-features.h>.
43493         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43494         Remove.
43495         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43496         Remove conditional code.
43497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43498         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43499         Remove conditional.
43501 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43503         [BZ #5400]
43504         * NEWS: Add fixed bug number.
43506 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43508         [BZ #14519]
43509         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43510         underflowing exponent in case of negative sign.
43511         * stdlib/tst-strtod-round-data: Add more tests.
43512         * stdlib/tst-strtod-round.c (tests): Regenerated.
43514         [BZ #3479]
43515         * stdlib/strtod_l.c (NDIG): Remove.
43516         (HEXNDIG): Likewise.
43517         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43518         smallest representable value.
43519         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43520         lie within an exact representation of 1/2 ulp of the result.
43521         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43522         unconditionally.
43523         (TENS_P9_IDX): Define unconditionally.
43524         (TENS_P9_SIZE): Likewise.
43525         (TENS_P10_IDX): Likewise.
43526         (TENS_P10_SIZE): Likewise.
43527         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43528         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43529         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43530         entries for 10^2^13 and 10^2^14.
43531         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43532         (TENS_P13_IDX): Define.
43533         (TENS_P13_SIZE): Likewise.
43534         (TENS_P14_IDX): Likewise.
43535         (TENS_P14_SIZE): Likewise.
43536         (_fpioconst_pow10): Change array size to
43537         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43538         unconditional.
43539         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43540         1024]: Add entries for 10^2^13 and 10^2^14.
43541         [LAST_POW10 > _LAST_POW10]: Remove #error.
43542         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43543         (_fpioconst_pow10): Change array size to
43544         FPIOCONST_POW10_ARRAY_SIZE.
43545         * stdlib/gen-fpioconst.c: New file.
43546         * stdlib/gen-tst-strtod-round.c: Likewise.
43547         * stdlib/tst-strtod-round-data: Likewise.
43548         * stdlib/tst-strtod-round.c: Likewise.
43549         * stdlib/Makefile (tests): Add tst-strtod-round.
43551         [BZ #14459]
43552         * stdlib/strtod_l.c: Include <stdint.h>.
43553         (NDEBUG): Do not define.
43554         (round_and_return): Change EXPONENT parameter to type intmax_t.
43555         Rearrange calculations to avoid internal overflow possibilities.
43556         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43557         Rearrange calculations to avoid internal overflow possibilities.
43558         Assert that number fits inside MPNSIZE limbs.
43559         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43560         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43561         calculations and add assertions to avoid internal overflow
43562         possibilities.  Add casts to avoid signed/unsigned operations.
43563         * stdlib/tst-strtod-overflow.c: New file.
43564         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43566 2012-08-25  Marek Polacek  <polacek@redhat.com>
43568         * time/time.h: Fix some typos in comments.
43570 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43572         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43573         * posix/tst-rfc3484-2.c: Likewise.
43574         * posix/tst-rfc3484-3.c: Likewise.
43576 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43578         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43579         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43581 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43583         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43584         #include of fxstatat64.c.
43586 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43588         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43589         * shadow/getspent_r.c: Likewise.
43590         * shadow/getspnam.c: Likewise.
43591         * shadow/getspnam_r.c: Likewise.
43592         * gshadow/getsgent.c: Likewise.
43593         * gshadow/getsgent_r.c: Likewise.
43594         * gshadow/getsgnam.c: Likewise.
43595         * gshadow/getsgnam_r.c: Likewise.
43596         * inet/getnetbyad.c: Likewise.
43597         * inet/getnetbyad_r.c: Likewise.
43598         * inet/getnetbynm.c: Likewise.
43599         * inet/getnetbynm_r.c: Likewise.
43600         * inet/getnetent.c: Likewise.
43601         * inet/getnetent_r.c: Likewise.
43602         * inet/getproto.c: Likewise.
43603         * inet/getproto_r.c: Likewise.
43604         * inet/getprtent.c: Likewise.
43605         * inet/getprtent_r.c: Likewise.
43606         * inet/getprtname.c: Likewise.
43607         * inet/getprtname_r.c: Likewise.
43608         * inet/getrpcbyname.c: Likewise.
43609         * inet/getrpcbyname_r.c: Likewise.
43610         * inet/getrpcbynumber.c: Likewise.
43611         * inet/getrpcbynumber_r.c: Likewise.
43612         * inet/getrpcent.c: Likewise.
43613         * inet/getrpcent_r.c: Likewise.
43614         * inet/getaliasent.c: Likewise.
43615         * inet/getaliasent_r.c: Likewise.
43616         * inet/getaliasname.c: Likewise.
43617         * inet/getaliasname_r.c: Likewise.
43618         * nscd/getgrgid_r.c: Likewise.
43619         * nscd/getgrnam_r.c: Likewise.
43620         * nscd/gethstbyad_r.c: Likewise.
43621         * nscd/gethstbynm3_r.c: Likewise.
43622         * nscd/getpwnam_r.c: Likewise.
43623         * nscd/getpwuid_r.c: Likewise.
43624         * nscd/getsrvbynm_r.c: Likewise.
43625         * nscd/getsrvbypt_r.c: Likewise.
43626         * nscd/gai.c: Likewise.
43628         * configure.in (build_nscd): New substituted variable, set
43629         by --disable-build-nscd and defaults to $use_nscd.
43630         * configure: Regenerated.
43631         * config.make.in (build-nscd): New substituted variable.
43632         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43633         Change conditional to require [$(build-nscd) = yes] as well.
43634         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43636         [BZ# 13696]
43637         * configure.in (use_nscd): New substituted variable, set by
43638         --disable-nscd.  If enabled, define USE_NSCD.
43639         * configure: Regenerated.
43640         * config.h.in: Add USE_NSCD.
43641         * config.make.in (use-nscd): New substituted variable.
43642         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43643         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43644         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43645         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43646         (CFLAGS-getgrnam_r.c): Likewise.
43647         (CFLAGS-initgroups.c): Likewise.
43648         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43649         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43650         Variables removed.
43651         * inet/getnetgrent_r.c
43652         (nscd_setnetgrent): New function, broken out of ...
43653         (setnetgrent): ... here.  Call it.
43654         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43655         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43656         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43657         * nscd/Makefile (routines, aux): Move definitions after include of
43658         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43659         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43660         Conditionalize on [USE_NSCD].
43661         (is_nscd, nscd_init_cb): Likewise.
43662         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43663         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43664         * nss/nss_db/db-init.c: Likewise.
43665         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43666         [USE_NSCD].
43667         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43668         (make_request): Use it.
43669         (cache_valid_p): New function.
43670         (__check_pf): Use it.
43671         * NEWS: Add item for --disable-nscd.
43673 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43675         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43676         to support sed >= 4.2.1-20-ga9bf076.
43677         * configure: Regenerated.
43679 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43681         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43682         Conditionalize whole body on [IREL].
43684 2012-08-22  Jeff Law <law@redhat.com>
43686         [BZ #14505]
43687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43688         if the family is PF_UNSPEC.
43690 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43692         * Makerules (lib-version): Rename from V.
43693         (install-lib-nosubdir): Change V to lib-version.
43695 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43697         [BZ #14252]
43698         * powerpc32/power6/wcschr.c: New file.
43699         * powerpc32/power6/wcscpy.c: New file.
43700         * powerpc32/power6/wcsrchr.c: New file.
43701         * powerpc64/power6/wcschr.c: New file.
43702         * powerpc64/power6/wcscpy.c: New file.
43703         * powerpc64/power6/wcsrchr.c: New file.
43705 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43707         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43708         (two_way_short_needle): Use it.
43709         * string/strstr.c (AVAILABLE1_USES_J): Define.
43710         * string/strcasestr.c: Likewise.
43712         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43713         array references.
43714         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43716         [BZ #11607]
43717         * NEWS: Add an entry.
43718         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43719         define their defaults.
43720         (two_way_short_needle): Detect end-of-string on-the-fly.
43721         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43722         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43723         * string/bug-strcasestr1.c: New test.
43724         * string/Makefile: Run it.
43726 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43728         [BZ #11607]
43729         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43730         the first character.
43732 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43734         * csu/elf-init.c (__libc_csu_irel): Function removed.
43735         * csu/libc-start.c (apply_irel): New function.
43736         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43738 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43740         * sysdeps/unix/sysv/linux/kernel-features.h
43741         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43742         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43743         <kernel-features.h>.
43744         [__NR_fadvise64_64]: Make code unconditional.
43745         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43746         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43747         !__NR_fadvise64_64)]: Likewise.
43748         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43749         !__NR_fadvise64_64))]: Likewise.
43750         [__NR_fadvise64]: Make code unconditional.
43751         [!__NR_fadvise64]: Remove conditional code.
43752         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43753         <kernel-features.h>.
43754         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43755         unconditional.
43756         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43757         conditional code.
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43759         not include <kernel-features.h>.
43760         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43761         unconditional.
43762         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43763         conditional code.
43764         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43765         include <kernel-features.h>.
43766         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43767         unconditional.
43768         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43769         conditional code.
43771 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43773         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43774         slight instruction rearrangements per scrollpipe analysis.
43775         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43777 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43779         * manual/syslog.texi (syslog; vsyslog, closelog):
43780         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43781         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43783         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43784         DSOCAPS to match condition on defining it.
43786 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43788         * sysdeps/unix/sysv/linux/kernel-features.h
43789         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43791         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43792         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43794         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43795         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43797         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43798         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43800         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43801         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43803         * sysdeps/unix/sysv/linux/kernel-features.h
43804         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43805         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43806         unconditional.
43807         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43808         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43809         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43810         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43811         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43812         Make code unconditional.
43813         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43814         (__mmap64) [!__NR_mmap2]: Likewise.
43815         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43816         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43817         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43818         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43819         [__NR_mmap2]: Make code unconditional.
43820         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43821         (__mmap64) [!__NR_mmap2]: Likewise.
43823 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43825         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43827 2012-08-18  Andreas Jaeger  <aj@suse.de>
43829         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43831 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43833         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43834         * include/unistd.h (__have_sock_cloexec): Likewise.
43835         (__have_pipe2): Likewise.
43836         (__have_dup3): Likewise.
43838 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43840         [BZ #9685]
43841         * include/unistd.h (__have_pipe2): Change define into an extern int.
43842         (__have_dup3): Likewise.
43843         * socket/have_sock_cloexec.c: Include fcntl.h.
43844         (__have_pipe2): New variable.
43845         (__have_dup3): Likewise.
43847 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43849         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43851 2012-08-17  Marek Polacek  <polacek@redhat.com>
43853         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43854         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43856 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43858         * configure.in: Add AC_SUBST for sysheaders.
43859         * configure: Regenerated.
43860         * config.make.in (sysheaders): New substituted variable.
43862         * sysdeps/unix/mkfifo.c: Moved ...
43863         * sysdeps/posix/mkfifo.c: ... here.
43864         * sysdeps/unix/mkfifoat.c: Moved ...
43865         * sysdeps/posix/mkfifoat.c: ... here.
43867         * sysdeps/unix/utime.c: Moved ...
43868         * sysdeps/posix/utime.c: ... here.
43870         * sysdeps/unix/time.c: Moved ...
43871         * sysdeps/posix/time.c: ... here.
43872         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43873         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43875         * sysdeps/unix/nice.c: Moved ...
43876         * sysdeps/posix/nice.c: ... here.
43878         * sysdeps/unix/alarm.c: Moved ...
43879         * sysdeps/posix/alarm.c: ... here.
43881         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43883 2012-08-17  Jeff Law <law@redhat.com>
43885         * intl/Makefile (codeset_mo): New variable.
43886         ($(codeset_mo)): New target.
43887         (tst-codeset.out): Depend on that.  Remove explicit rule.
43888         (tst-gettext3.out, tst-gettext5.out): Likewise.
43889         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43890         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43891         * intl/tst-codeset.sh: Remove.
43892         * intl/tst-gettext3.sh: Likewise.
43893         * intl/tst-gettext5.sh: Likewise.
43895 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43897         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43898         * sysdeps/unix/syscalls.list: ... here.
43900         * sysdeps/posix/getaddrinfo.c
43901         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43902         (gaiconf_init, gaiconf_reload): Use them.
43903         [!_STATBUF_ST_NSEC]
43904         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43905         Define using time_t rather than struct timespec.
43907         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43908         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43909         Macros removed.
43910         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43911         [!NO_THREADS].
43912         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43913         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43914         Likewise.
43916         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43917         __libc_cleanup_push argument.
43919         * bits/param.h: New file.
43920         * misc/sys/param.h: New file.
43921         * include/sys/param.h: New file.
43922         * misc/Makefile (headers): Add bits/param.h.
43923         * sysdeps/generic/sys/param.h: File removed.
43924         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43925         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43926         * sysdeps/mach/hurd/bits/param.h: New file.
43927         * sysdeps/mach/hurd/sys/param.h: File removed.
43929         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43930         last change.
43932         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43933         [_IO_MTSAFE_IO].
43934         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43935         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43936         New macros.
43938         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43939         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43940         rather than -D_IO_MTSAFE_IO conditionally.
43941         * stdio-common/Makefile (CPPFLAGS): Likewise.
43942         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43943         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43944         Use $(libio-mtsafe).
43945         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43946         of -D_IO_MTSAFE_IO.
43947         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43948         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43949         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43950         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43951         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43952         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43953         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43954         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43955         (CFLAGS-fread_u_chk.c): Likewise.
43956         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43957         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43958         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43959         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43960         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43961         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43962         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43963         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43964         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43966         * libio/Makefile: Test [$(libc-reentrant) = yes]
43967         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43969         * Makeconfig
43970         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43971         * sysdeps/pthread/configure: File removed.
43972         * sysdeps/pthread/Makeconfig: New file.
43973         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43974         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43976 2012-08-16  Gary Benson  <gbenson@redhat.com>
43978         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43979         unmapping the first object in a namespace.
43981 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43983         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43984         (__internal_setnetgrent): ... this.  Add internal_function to
43985         definition.  Add libc_hidden_def.
43986         (setnetgrent): Update caller.
43987         (internal_endnetgrent): Renamed to ...
43988         (__internal_endnetgrent): ... this.  Add internal_function to
43989         definition.  Add libc_hidden_def.
43990         (endnetgrent): Update caller.
43991         (internal_getnetgrent_r): Renamed to ...
43992         (__internal_getnetgrent_r): ... this.  Add internal_function to
43993         definition.  Add libc_hidden_def.
43994         (__getnetgrent_r): Update caller.
43995         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43997 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43999         * stdlib/longlong.h: Update from GCC.
44001 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44003         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44004         on _QL, which is set by umul_ppmm but never used.
44005         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44006         variables, which are set by GMP macros but never used.
44007         * stdio-common/_itowa.c (_itowa): Likewise.
44008         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44009         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44011 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44013         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44014         struct La_sh_regs is not constant.
44015         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44016         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44017         and struct La_sparc64_regs are not constant.
44019 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44021         * sysdeps/unix/sysv/linux/kernel-features.h
44022         (__ASSUME_POSIX_TIMERS): Remove.
44023         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44024         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44025         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44026         Make code unconditional.
44027         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44028         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44029         Make code unconditional.
44030         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44031         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44032         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44033         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44034         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44035         Make code unconditional.
44036         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44037         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44038         (__libc_missing_posix_timers): Remove.
44040 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44042         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44043         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44045         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44047         * elf/dl-sym.c: Include <stdlib.h>.
44049         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44050         constants, which avoids warnings in 32-bit builds.
44052         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44053         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44055         * misc/lseek.c: File moved to ...
44056         * io/lseek.c: ... here.
44058         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44060         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44061         shifting LEN more than 31 bits at once.
44063 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44065         [BZ #14195]
44066         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44067         segmentation fault for a case of two empty input strings.
44068         * string/test-strncasecmp.c (check1): Renamed to...
44069         (bz12205): ...this.
44070         (bz14195): Add new testcase for two empty input strings and N > 0.
44071         (test_main): Call new testcase, adapt for renamed function.
44073 2012-08-15  Andreas Jaeger  <aj@suse.de>
44075         [BZ #14090]
44076         * crypt/md5test2.c: New test, based on test supplied by Serge
44077         Belyshev <belyshev@depni.sinp.msu.ru>.
44078         * crypt/Makefile (xtests): Add md5test-giant..
44079         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44081 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44083         [BZ #14090]
44084         * crypt/md5.c (md5_process_block): Don't assume the buffer
44085         length is less than 2**32.
44086         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44087         length is less than 2**64.
44089 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44091         * string/str-two-way.h: Include <sys/param.h>.
44092         (MAX): Macro removed.
44094         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44095         Move #define and #undef of memmove to just before and after
44096         including <string.h>.
44098         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44099         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44100         and after including <string.h>.  Move declarations of
44101         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44102         to before #include "string/memmove.c".
44104         * include/dirent.h: Declare __getdirentries.
44106         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44107         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44109 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44111         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44112         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44113         * sysdeps/i386/configure: Regenerated.
44114         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44115         STABS_CURRENT_FILE, and STABS_FUN.
44116         (END): Remove call to STABS_FUN_END.
44117         (STABS_CURRENT_FILE1): Delete.
44118         (STABS_CURRENT_FILE): Likewise.
44119         (STABS_FUN): Likewise.
44120         (STABS_FUN_END): Likewise.
44121         (STABS_FUN2): Likewise.
44122         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44123         * sysdeps/x86_64/configure: Regenerated.
44125 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44127         * elf/dl-open.c: Include <atomic.h>.
44128         * elf/dl-lookup.c: Likewise.
44130 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44132         * sysdeps/unix/sysv/linux/kernel-features.h
44133         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44134         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44135         unconditionally.
44136         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44137         unconditionally.
44138         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44139         condition on __ASSUME_CLONE_THREAD_FLAGS.
44141 2012-08-14  Andreas Jaeger  <aj@suse.de>
44143         * sysdeps/i386/fpu/libm-test-ulps: Update.
44145 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44147         * include/atomic.h (atomic_exchange_and_add): Split into ...
44148         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44149         New atomic macros.
44151 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44155 2012-08-13  Jeff Law <law@redhat.com>
44157         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44158         null byte in the output string.
44160 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44162         * sysdeps/unix/sysv/linux/kernel-features.h
44163         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44164         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44165         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44166         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44167         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44168         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44169         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44171 2012-08-09  Jeff Law <law@redhat.com>
44173         [BZ #13939]
44174         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44175         When avoid_arena is set, don't retry in the that arena.  Pick the
44176         next one, whatever it might be.
44177         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44178         (arena_lock): Pass in new parameter to arena_get2.
44179         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44180         arena_get2.
44181         (__libc_malloc): Unify retrying after main arena failure with
44182         __libc_memalign version.
44183         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44185 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44187         [BZ #14166]
44188         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44189         to __redirect_strstr.
44190         (__strstr_sse42): Use typeof __redirect_strstr.
44191         (__strstr_ia32): Likewise.
44192         (__libc_strstr): New prototype.
44193         (strstr): Renamed to ...
44194         (__libc_strstr): This.
44195         (strstr): New strong alias of __libc_strstr.
44196         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44197         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44198         __redirect_time.
44199         Include <time.h>.
44200         (__libc_time): New prototype.
44201         (time_ifunc): Replace time with __libc_time.
44202         (time): New strong alias and hidden definition of __libc_time.
44203         (__GI_time): Remove strong alias.
44204         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44205         Include <stddef.h>.
44206         (memmove): Redefined to __redirect_memmove.
44207         (__memmove_sse2): Use typeof __redirect_memmove.
44208         (__memmove_ssse3): Likewise.
44209         (__memmove_ssse3_back): Likewise.
44210         (__libc_memmove): New prototype.
44211         (memmove): Renamed to ...
44212         (__libc_memmove): This.
44213         (memmove): New strong alias of __libc_memmove.
44215 2012-08-08  Mark Salter  <msalter@redhat.com>
44217         * elf/elf.h
44218         (R_MN10300_TLS_GD): Define.
44219         (R_MN10300_TLS_LD): Likewise.
44220         (R_MN10300_TLS_LDO): Likewise.
44221         (R_MN10300_TLS_GOTIE): Likewise.
44222         (R_MN10300_TLS_IE): Likewise.
44223         (R_MN10300_TLS_LE): Likewise.
44224         (R_MN10300_TLS_DTPMOD): Likewise.
44225         (R_MN10300_TLS_DTPOFF): Likewise.
44226         (R_MN10300_TLS_TPOFF): Likewise.
44227         (R_MN10300_SYM_DIFF): Likewise.
44228         (R_MN10300_ALIGN): Likewise.
44229         (R_MN10300_NUM): Update.
44231 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44234         Remove.
44236 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44238         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44240         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44241         sysdeps/unix -> sysdeps/posix move.
44242         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44244 2012-08-07      Allan McRae     <allan@archlinux.org>
44246         [BZ #14303]
44247         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44248         (SUNOS_CPP): Likewise.
44249         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44250         not found.
44251         (open_input): Call CPP using execvp.
44253 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44255         * sysdeps/unix/sysv/linux/kernel-features.h
44256         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44257         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44258         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44259         (__ASSUME_WAITID_SYSCALL): Likewise.
44260         * sysdeps/unix/sysv/linux/dl-execstack.c
44261         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44262         code unconditional.
44263         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44264         conditional code.
44265         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44266         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44267         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44268         code.
44269         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44270         unconditional.
44271         [__ASSUME_WAITID_SYSCALL]: Likewise.
44272         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44274 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44276         * sysdeps/unix/closedir.c: Renamed to ...
44277         * sysdeps/posix/closedir.c: ... here.
44278         * sysdeps/unix/dirfd.c: Renamed to ...
44279         * sysdeps/posix/dirfd.c: ... here.
44280         * sysdeps/unix/dirstream.h: Renamed to ...
44281         * sysdeps/posix/dirstream.h: ... here.
44282         * sysdeps/unix/fdopendir.c: Renamed to ...
44283         * sysdeps/posix/fdopendir.c: ... here.
44284         * sysdeps/unix/opendir.c: Renamed to ...
44285         * sysdeps/posix/opendir.c: ... here.
44286         * sysdeps/unix/readdir.c: Renamed to ...
44287         * sysdeps/posix/readdir.c: ... here.
44288         * sysdeps/unix/readdir_r.c: Renamed to ...
44289         * sysdeps/posix/readdir_r.c: ... here.
44290         * sysdeps/unix/rewinddir.c: Renamed to ...
44291         * sysdeps/posix/rewinddir.c: ... here.
44292         * sysdeps/unix/seekdir.c: Renamed to ...
44293         * sysdeps/posix/seekdir.c: ... here.
44294         * sysdeps/unix/telldir.c: Renamed to ...
44295         * sysdeps/posix/telldir.c: ... here.
44296         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44297         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44298         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44299         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44301         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44302         * bits/fcntl.h: ... here.
44304         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44305         not 0.
44306         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44307         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44308         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44309         (struct flock): Move l_start, l_len to the beginning.
44310         Use __pid_t for l_pid.
44311         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44312         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44313         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44314         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44315         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44316         [__USE_LARGEFILE64] (struct flock64): New type.
44317         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44319         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44320         * bits/dirent.h: ... here.
44322         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44323         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44325 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44328         Change from 2.6.0 to 2.6.16.
44329         * sysdeps/unix/sysv/linux/configure: Regenerated.
44330         * sysdeps/unix/sysv/linux/kernel-features.h
44331         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44332         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44333         version.
44334         (__ASSUME_UTIMES): Likewise.
44335         (__ASSUME_CLONE_STOPPED): Remove.
44336         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44337         architectures, not kernel version.
44338         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44339         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44340         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44341         (__ASSUME_WAITID_SYSCALL): Likewise.
44342         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44343         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44344         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44345         refer to older versions.
44347 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44349         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44350         Define alphasort64 as an alias.
44351         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44352         Define versionsort64 as an alias.
44353         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44354         Define scandir64 as an alias.
44355         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44356         Define scandirat64 as an alias.
44357         * dirent/alphasort64.c (alphasort64):
44358         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44359         * dirent/versionsort64.c: Likewise.
44360         * dirent/scandir64.c: Likewise.
44361         * dirent/scandirat64.c: Likewise.
44362         * sysdeps/wordsize-64/alphasort.c: File removed.
44363         * sysdeps/wordsize-64/alphasort64.c: File removed.
44364         * sysdeps/wordsize-64/scandir.c: File removed.
44365         * sysdeps/wordsize-64/scandir64.c: File removed.
44366         * sysdeps/wordsize-64/scandirat.c: File removed.
44367         * sysdeps/wordsize-64/scandirat64.c: File removed.
44368         * sysdeps/wordsize-64/versionsort.c: File removed.
44369         * sysdeps/wordsize-64/versionsort64.c: File removed.
44370         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44371         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44372         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44373         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44374         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44375         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44376         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44377         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44379         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44380         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44381         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44383         [defined __arch64__ || defined __sparcv9]
44384         (__INO_T_MATCHES_INO64_T): New macro.
44385         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44386         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44387         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44388         * sysdeps/unix/sysv/linux/bits/dirent.h
44389         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44390         (_DIRENT_MATCHES_DIRENT64): New macro.
44392         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44393         Define lockf64 as an alias.
44394         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44395         Define fseeko64 as an alias.
44396         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44397         Define ftello64 as an alias.
44398         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44399         Define _IO_fgetpos64 and fgetpos64 as aliases.
44400         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44401         Define _IO_fsetpos64 and fsetpos64 as aliases.
44402         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44403         Conditionalize body on this.
44404         * libio/fseeko64.c: Likewise.
44405         * libio/ftello64.c: Likewise.
44406         * libio/iofgetpos64.c: Likewise.
44407         * libio/iofsetpos64.c: Likewise.
44408         * sysdeps/wordsize-64/lockf.c: File removed.
44409         * sysdeps/wordsize-64/lockf64.c: File removed.
44410         * sysdeps/wordsize-64/fseeko.c: File removed.
44411         * sysdeps/wordsize-64/fseeko64.c: File removed.
44412         * sysdeps/wordsize-64/ftello.c: File removed.
44413         * sysdeps/wordsize-64/ftello64.c: File removed.
44414         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44415         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44416         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44417         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44418         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44419         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44420         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44421         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44422         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44423         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44424         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44425         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44426         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44427         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44429         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44431         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44433         [defined __arch64__ || defined __sparcv9]
44434         (__OFF_T_MATCHES_OFF64_T): New macro.
44435         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44436         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44438         (__OFF_T_MATCHES_OFF64_T): New macro.
44440 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44442         * stdlib/secure-getenv.c (__secure_getenv): Replace
44443         GLIBC_2_16 with GLIBC_2_17.
44445 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44447         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44448         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44450 2012-08-03  David S. Miller  <davem@davemloft.net>
44452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44454 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44456         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44457         Remove.
44458         (__ASSUME_CORRECT_SI_PID): Likewise.
44459         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44460         (__ASSUME_TMPFS_NAME): Likewise.
44461         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44462         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44463         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44464         (HAVE_AUX_SECURE): Make definition unconditional.
44465         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44466         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44468 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44470         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44471         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44472         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44473         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44474         __eloop_threshold instead of SYMLOOP_MAX.
44476         * sysdeps/generic/eloop-threshold.h: New file.
44477         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44478         of MAXSYMLINKS.
44479         * elf/chroot_canon.c (chroot_canon): Likewise.
44481 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44483         [BZ #13717]
44484         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44485         Change to 2.6.0 everywhere.
44486         * sysdeps/unix/sysv/linux/configure: Regenerated.
44487         * sysdeps/unix/sysv/linux/kernel-features.h
44488         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44489         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44490         kernel versions.
44491         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44492         (__ASSUME_FUTEX_REQUEUE): Remove.
44493         (__ASSUME_STATFS64): Define unconditionally.
44494         (__ASSUME_AT_SECURE): Likewise.
44495         (__ASSUME_CORRECT_SI_PID): Likewise.
44496         (__ASSUME_TGKILL): Define without depending on kernel version for
44497         i386.
44498         (__ASSUME_UTIMES): Likewise.
44499         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44500         kernel version.
44501         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44502         (__ASSUME_TMPFS_NAME): Likewise.
44503         * README: Update reference to Linux kernel versions.
44505 2012-08-02  Marek Polacek  <polacek@redhat.com>
44507         [BZ# 14150]
44508         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44509         libc_cv_asm_type_prefix with %.
44510         * configure: Regenerated.
44511         * include/libc-symbols.h: Remove comment about
44512         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44513         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44514         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44515         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44516         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44517         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44518         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44519         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44520         * elf/tst-unique2mod1.c: Likewise.
44521         * elf/tst-unique1mod2.c: Likewise.
44522         * elf/tst-unique1mod1.c: Likewise.
44523         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44524         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44525         Replace ASM_TYPE_DIRECTIVE with .type.
44526         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44527         * sysdeps/i386/sysdep.h: Likewise.
44528         * sysdeps/x86_64/sysdep.h: Likewise.
44529         * sysdeps/sh/sysdep.h: Likewise.
44530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44531         Do not define ASM_TYPE_DIRECTIVE.
44532         * sysdeps/powerpc/sysdep.h: Likewise.
44533         * sysdeps/powerpc/powerpc32/sysdep.h:
44534         Replace ASM_TYPE_DIRECTIVE with .type.
44535         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44536         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44537         * sysdeps/i386/fpu/e_powf.S: Likewise.
44538         * sysdeps/i386/fpu/e_expl.S: Likewise.
44539         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44540         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44541         * sysdeps/i386/fpu/e_pow.S: Likewise.
44542         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44543         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44544         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44545         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44546         * sysdeps/i386/fpu/e_log2.S: Likewise.
44547         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44548         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44549         * sysdeps/i386/fpu/e_powl.S: Likewise.
44550         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44551         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44552         * sysdeps/i386/fpu/e_logl.S: Likewise.
44553         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44554         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44555         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44556         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44557         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44558         * sysdeps/i386/fpu/e_log.S: Likewise.
44559         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44560         * sysdeps/i386/fpu/e_logf.S: Likewise.
44561         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44562         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44563         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44564         * sysdeps/i386/fpu/e_log10.S: Likewise.
44565         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44566         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44567         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44568         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44569         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44570         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44571         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44572         * sysdeps/i386/i686/strtok.S: Likewise.
44573         * sysdeps/i386/i386-mcount.S: Likewise.
44574         * sysdeps/i386/strtok.S: Likewise.
44575         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44576         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44577         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44578         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44579         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44580         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44581         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44582         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44583         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44584         * sysdeps/x86_64/_mcount.S: Likewise.
44585         * sysdeps/x86_64/strtok.S: Likewise.
44586         * sysdeps/sh/_mcount.S: Likewise.
44588 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44590         * libio/iofopen.c: Include <fcntl.h>.
44591         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44592         (_IO_fopen64, fopen64): Define as aliases.
44593         * libio/iofopen64.c: Include <fcntl.h>.
44594         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44595         Conditionalize body on this.
44596         * sysdeps/wordsize-64/iofopen.c: File removed.
44597         * sysdeps/wordsize-64/iofopen64.c: File removed.
44599 2012-08-01  Marek Polacek  <polacek@redhat.com>
44601         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44602         Use dlfcn directly instead of a variable.
44603         (binfmt-subdir): Do not define.
44604         (dlfcn): Likewise.
44606 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44609         Remove all definitions.
44610         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44611         <kernel-features.h>.
44612         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44613         (miss_F_GETOWN_EX): Remove all definitions.
44614         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44615         macro definition.
44616         [!__ASSUME_FCNTL64]: Remove conditional code.
44617         [__ASSUME_FCNTL64]: Make code unconditional.
44618         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44619         <kernel-features.h>.
44620         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44621         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44622         (lockf64) [__NR_fcntl64]: Make code unconditional.
44623         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44625         * sysdeps/unix/sysv/linux/kernel-features.h
44626         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44627         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44628         Make code unconditional.
44629         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44630         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44632         [__NR_vfork]: Make code unconditional.
44633         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44634         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44636         [__NR_vfork]: Make code unconditional.
44637         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44638         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44640 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44642         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44643         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44645         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44646         Define mkstemp64 as an alias.
44647         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44648         Define mkstemps64 as an alias.
44649         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44650         Define mkostemp64 as an alias.
44651         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44652         Define mkostemps64 as an alias.
44653         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44654         Conditionalize body on this.
44655         * misc/mkostemp64.c: Likewise.
44656         * misc/mkostemps64.c: Likewise.
44657         * misc/mkstemps64.c: Likewise.
44658         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44659         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44660         * sysdeps/wordsize-64/mkostemp.c: File removed.
44661         * sysdeps/wordsize-64/mkstemp.c: File removed.
44662         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44663         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44664         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44665         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44667         [BZ #14138]
44668         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44669         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44670         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44671         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44673         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44674         compat_symbol macros from <shlib-compat.h> rather than the underlying
44675         default_symbol_version and symbol_version macros, so that DEFAULT
44676         lines in shlib-versions are respected.
44677         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44679 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44681         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44682         Declare with warn_unused_result.
44683         (setgid, setregid, setegid, setresgid): Likewise.
44684         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44685         Likewise.
44686         * WUR-REPORT: Remove set*id functions.
44688 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44690         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44692 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44694         [BZ #10191]
44695         * include/sys/socket.h (__libc_accept, __libc_accept4):
44696         Add attribute_hidden.
44697         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44699         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44700         use of PTR_MANGLE.
44701         * inet/getnetgrent_r.c (setup): Likewise.
44703         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44705 2012-07-31  David S. Miller  <davem@davemloft.net>
44707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44709 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44711         [BZ #13629]
44712         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44713         value between 1.0 and 2.0 and smaller part has absolute value less
44714         than 1.0.
44715         * math/s_clog10.c (__clog10): Likewise.
44716         * math/s_clog10f.c (__clog10f): Likewise.
44717         * math/s_clog10l.c (__clog10l): Likewise.
44718         * math/s_clogf.c (__clogf): Likewise.
44719         * math/s_clogl.c (__clogl): Likewise.
44720         * math/libm-test.inc (clog_test): Add more tests.
44721         (clog10_test): Likewise.
44722         * sysdeps/i386/fpu/libm-test-ulps: Update.
44723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44725 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44727         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44728         Exit with zero in case no suitable GID is found, and write a
44729         message to standard error.
44731 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44733         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44734         rather than to 1.
44735         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44736         (MAXPATHLEN): Removed.
44737         (NOGROUP, NODEV): New macros.
44738         (setbit, clrbit, isset, isclr): New macros.
44739         (howmany, roundup, powerof2): New macros.
44740         (DEV_BSIZE): New macro.
44742         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44743         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44745         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44746         definition on [!__NO_LONG_DOUBLE_MATH].
44748         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44749         PTR_MANGLE and PTR_DEMANGLE.
44751         * socket/accept4.c (accept4): Rename to __libc_accept4.
44752         Define accept4 as a weak alias.
44754         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44755         on [_DIRENT_HAVE_D_TYPE].
44756         * io/ftw.c (ftw_dir): Likewise.
44758         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44760         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44762         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44763         Use the BSD numbers rather than the arbitrary ones we had.
44764         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44765         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44766         (SIGXCPU, SIGXFSZ): New macros.
44767         (_NSIG): Now 32.
44769         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44770         initializer on [_LIBC_REENTRANT].
44772         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44773         definitions inside [_POSIX_MAPPED_FILES].
44775         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44777         * dirent/opendir.c: Include <fcntl.h>.
44779         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44780         (__libc_getspecific): Likewise.
44781         (__libc_key_create): Likewise.
44783         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44784         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44785         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44786         (tmpfile64): Define as alias.
44787         * sysdeps/wordsize-64/tmpfile.c: File removed.
44788         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44789         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44790         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44792         * stdio-common/vfscanf.c: Include <stdbool.h>.
44793         * nss/makedb.c: Likewise.
44794         * stdio-common/_i18n_number.h: Likewise.
44795         * argp/argp-help.c: Likewise.
44796         * posix/wordexp.c: Likewise.
44797         * sysdeps/posix/spawni.c: Likewise.
44798         * nss/nss_files/files-initgroups.c: Likewise.
44799         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44800         * nss/nss_files/files-initgroups.c: Likewise.
44801         * nss/nss_db/db-netgrp.c: Likewise.
44802         * nss/nss_db/db-initgroups.c: Likewise.
44803         * io/fchmodat.c: Include <sys/stat.h>.
44805         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44806         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44808         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44809         [HAVE_MMAP].
44811         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44812         Add multiple inclusion protection.
44814 2012-07-27  David S. Miller  <davem@davemloft.net>
44816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44818 2012-07-27  Gary Benson  <gbenson@redhat.com>
44820         [BZ #14298]
44821         * elf/rtld.c: Include <stap-probe.h>.
44822         (dl_main): Added static probes "init_start" and "init_complete".
44823         * elf/dl-load.c: Include <stap-probe.h>.
44824         (lose): Take new parameter "nsid".
44825         Added static probe "map_failed".
44826         (_dl_map_object_from_fd): Pass namespace id to lose.
44827         Added static probe "map_start".
44828         (open_verify): Pass namespace id to lose.
44829         * elf/dl-open.c: Include <stap-probe.h>.
44830         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44831         and "reloc_complete".
44832         * elf/dl-close.c: Include <stap-probe.h>.
44833         (_dl_close_worker): Added static probes "unmap_start" and
44834         "unmap_complete".
44835         * elf/rtld-debugger-interface.txt: New file documenting the above.
44837 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44839         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44840         rather than a string variable.
44841         * sunrpc/rpc_main.c (h_output): Likewise.
44842         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44844 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44846         * inet/check_native.c: New file.
44848 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44850         [BZ #13629]
44851         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44852         if larger part has absolute value 1.0.
44853         * math/s_clog10.c (__clog10): Likewise.
44854         * math/s_clog10f.c (__clog10f): Likewise.
44855         * math/s_clog10l.c (__clog10l): Likewise.
44856         * math/s_clogf.c (__clogf): Likewise.
44857         * math/s_clogl.c (__clogl): Likewise.
44858         * math/libm-test.inc (clog_test): Add more tests.
44859         (clog10_test): Likewise.
44860         * sysdeps/i386/fpu/libm-test-ulps: Update.
44861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44863         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44864         (pltexit): Likewise.
44865         (La_regs): Likewise.
44866         (La_retval): Likewise.
44867         (int_retval): Likewise.
44868         Update #error for removed macros to refer only to definitions in
44869         tst-audit.h.
44870         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44871         macro.
44872         (pltexit): Likewise.
44873         (La_regs): Likewise.
44874         (La_retval): Likewise.
44875         (int_retval): Likewise.
44876         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44877         macro.
44878         (pltexit): Likewise.
44879         (La_regs): Likewise.
44880         (La_retval): Likewise.
44881         (int_retval): Likewise.
44882         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44883         macro.
44884         (pltexit): Likewise.
44885         (La_regs): Likewise.
44886         (La_retval): Likewise.
44887         (int_retval): Likewise.
44888         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44889         macro.
44890         (pltexit): Likewise.
44891         (La_regs): Likewise.
44892         (La_retval): Likewise.
44893         (int_retval): Likewise.
44894         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44895         macro.
44896         (pltexit): Likewise.
44897         (La_regs): Likewise.
44898         (La_retval): Likewise.
44899         (int_retval): Likewise.
44900         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44901         macro.
44902         (pltexit): Likewise.
44903         (La_regs): Likewise.
44904         (La_retval): Likewise.
44905         (int_retval): Likewise.
44906         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44907         macro definitions in tst-audit.h.
44908         * sysdeps/i386/tst-audit.h: New file.
44909         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44910         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44911         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44912         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44913         * sysdeps/sh/tst-audit.h: Likewise.
44914         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44915         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44916         * sysdeps/x86_64/tst-audit.h: Likewise.
44918 2012-07-26  Andreas Jaeger  <aj@suse.de>
44920         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44921         ptrace.
44923         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44924         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44925         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44926         PTRACE_O_MASK.
44927         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44928         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44929         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44931         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44932         value.
44934         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44935         _sigsys.
44936         (si_call_addr, si_syscall, si_arch): Define new macro.
44937         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44938         _sigsys.
44939         (si_call_addr, si_syscall, si_arch): Define new marcro.
44940         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44941         _sigsys.
44942         (si_call_addr, si_syscall, si_arch): Define new macro.
44943         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44944         _sigsys.
44945         (si_call_addr, si_syscall, si_arch): Define new macro.
44947 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44949         [BZ #13717]
44950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44951         Change to 2.4.21 where previously 2.4.1.
44952         * sysdeps/unix/sysv/linux/configure: Regenerated.
44953         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44954         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44955         Linux kernel version.
44956         (__ASSUME_STD_AUXV): Remove.
44957         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44958         kernel version.
44959         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44960         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44961         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44962         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44963         (__ASSUME_NETLINK_SUPPORT): Likewise.
44964         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44965         (__no_netlink_support): Remove conditional definition.
44966         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44967         Remove.
44968         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44969         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44970         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44971         (if_nameindex_ioctl): Remove.
44972         (if_nameindex_netlink): Do not handle __no_netlink_support.
44973         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44974         code.
44975         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44976         Remove conditional code.
44977         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44978         code.
44979         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44980         unconditional.
44981         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44982         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44983         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44984         Remove.
44985         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44986         [!__ASSUME_STD_AUXV]: Remove conditional code.
44987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44988         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44989         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44991         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44992         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44993         code.
44994         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44996         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44997         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44998         conditional code.
44999         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45001         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45002         code.
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45004         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45005         conditional code.
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45007         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45008         code unconditional.
45009         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45010         conditional code.
45011         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45012         unconditional.
45013         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45014         conditional code.
45015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45016         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45017         unconditional.
45018         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45019         conditional code.
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45021         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45022         code unconditional.
45023         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45024         conditional code.
45025         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45026         unconditional.
45027         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45028         conditional code.
45029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45030         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45031         code unconditional.
45032         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45033         conditional code.
45034         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45035         unconditional.
45036         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45037         conditional code.
45039 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45041         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45042         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45043         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45044         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45045         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45046         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45047         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45048         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45049         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45050         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45051         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45052         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45053         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45054         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45055         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45056         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45057         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45058         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45059         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45061         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45062         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45065 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45067         * Versions.def: Add GLIBC_2.17.
45068         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45069         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45070         Introduce __libc_secure_getenv.
45071         * stdlib/Versions (2.17): Add secure_getenv
45072         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45073         * stdlib/secure-getenv.c: Rename __secure_getenv to
45074         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45075         symbol __secure_getenv for GLIBC_2.0.
45076         * stdlib/tst-secure-getenv.c: New.
45077         * stdlib/Makefile (tests): Add testcase.
45078         * manual/startup.texi (Environment Access): Document
45079         secure_getenv.
45080         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45081         __libc_secure_getenv.
45082         * inet/ruserpass.c (ruserpass): Likewise.
45083         * malloc/mtrace.c (mtrace): Likewise.
45084         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45085         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45086         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45087         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45088         HAVE_SECURE_GETENV.
45089         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45090         __secure_getenv to __libc_secure_getenv.
45091         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45093         Likewise.
45094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45095         Likewise.
45096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45104 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45106         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45107         (struct La_i86_retval): Likewise.
45108         (struct La_x86_64_regs): Likewise.
45109         (struct La_x86_64_retval): Likewise.
45110         (struct La_x32_regs): Likewise.
45111         (struct La_x32_retval): Likewise.
45112         (struct La_ppc32_regs): Likewise.
45113         (struct La_ppc32_retval): Likewise.
45114         (struct La_ppc64_regs): Likewise.
45115         (struct La_ppc64_retval): Likewise.
45116         (struct La_sh_regs): Likewise.
45117         (struct La_sh_retval): Likewise.
45118         (struct La_s390_32_regs): Likewise.
45119         (struct La_s390_32_retval): Likewise.
45120         (struct La_s390_64_regs): Likewise.
45121         (struct La_s390_64_retval): Likewise.
45122         (struct La_sparc32_regs): Likewise.
45123         (struct La_sparc32_retval): Likewise.
45124         (struct La_sparc64_regs): Likewise.
45125         (struct La_sparc64_retval): Likewise.
45126         (struct audit_ifaces): Remove architecture-specific pltenter and
45127         pltexit members.
45128         * sysdeps/i386/ldsodefs.h: New file.
45129         * sysdeps/powerpc/ldsodefs.h: Likewise.
45130         * sysdeps/s390/ldsodefs.h: Likewise.
45131         * sysdeps/sh/ldsodefs.h: Likewise.
45132         * sysdeps/sparc/ldsodefs.h: Likewise.
45133         * sysdeps/x86_64/ldsodefs.h: Likewise.
45135 2012-07-25  Marek Polacek  <polacek@redhat.com>
45137         [BZ #6808]
45138         * math/libm-test.inc (yn_test): Add another test.
45139         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45140         to ERANGE when the result is +-Inf.
45141         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45142         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45143         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45144         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45146 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45148         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45149         equal to 0.
45150         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45151         clock_t.
45152         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45154 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45156         * configure.in <sysdeps resolving>: Correct printing
45157         Implies_before.
45158         * configure: Regenerate.
45160 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45162         * math/w_ilogb.c: Include <limits.h>.
45163         * math/w_ilogbl.c: Likewise.
45165 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45167         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45168         va_copy.  Document allowing for unavailable va_copy only as
45169         pre-C99 compatibility.
45170         * manual/string.texi (Copying and Concatenation): Use va_copy
45171         instead of __va_copy in concat example.
45173 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45175         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45176         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45177         it if not null.
45179         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45180         with O_NOLINK passed to __file_name_lookup.
45182         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45183         with O_NOLINK passed to __file_name_lookup.
45185         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45186         negative N or less than NGIDS.
45188         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45189         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45190         enough.  Use memcpy instead of strncpy.
45192 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45194         * elf/Makefile (check-data): Remove.
45195         (localplt.data): New vpath directive.
45196         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45197         instead of $(check-data).
45198         * scripts/data/localplt-generic.data: Move to ...
45199         * sysdeps/generic/localplt.data: ... here.
45200         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45201         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45202         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45204         ... here.
45205         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45207         ... here.
45208         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45210         ... here.
45211         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45213         ... here.
45214         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45216         ... here.
45217         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45219         ... here.
45221 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45223         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45224         PPC32 and PPC64 files.
45225         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45226         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45228 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45230         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45231         __makecontext_ret to ...
45232         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45233         ... here and call exit if uc_link is NULL.  New file.
45234         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45235         __makecontext_ret.S.
45236         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45237         __makecontext_ret to ...
45238         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45239         ... here and call exit if uc_link is NULL.  New file.
45240         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45241         __makecontext_ret.S.
45243 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45245         * elf/elf.h (R_390_IRELATIVE): New definition.
45246         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45247         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45248         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45249         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45250         (elf_machine_lazy_rel): Likewise.
45251         * sysdeps/s390/dl-irel.h: New file.
45252         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45253         * sysdeps/s390/s390-64/memset.S: New asm code.
45254         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45255         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45257         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45258         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45259         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45260         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45261         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45262         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45263         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45264         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45265         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45266         * sysdeps/s390/s390-32/memset.S: New asm code.
45267         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45269 2012-07-17  Marek Polacek  <polacek@redhat.com>
45271         [BZ #14349]
45272         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45273         * sysdeps/s390/s390-64/configure.in: Likewise.
45274         * sysdeps/sparc/configure.in: Likewise.
45275         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45276         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45277         * sysdeps/i386/configure.in: Likewise.
45278         * sysdeps/x86_64/configure.in: Likewise.
45279         * sysdeps/sh/configure.in: Likewise.
45280         * sysdeps/s390/s390-32/configure: Regenerated.
45281         * sysdeps/s390/s390-64/configure: Likewise.
45282         * sysdeps/x86_64/configure: Likewise.
45283         * sysdeps/sh/configure: Likewise.
45284         * sysdeps/powerpc/powerpc64/configure: Likewise.
45285         * sysdeps/powerpc/powerpc32/configure: Likewise.
45286         * sysdeps/sparc/configure: Likwise.
45287         * sysdeps/i386/configure: Likewise.
45289         * elf/dl-open.c: Comment fixes.
45291 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45293         * Makefile [CXX] (check-data): Remove.
45294         [CXX] (c++-types.data): New vpath directive.
45295         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45296         vpath.  Do not allow for C++ type data being missing.
45297         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45298         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45299         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45300         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45301         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45302         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45303         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45305         ... here.
45306         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45308         ... here.
45309         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45311         ... here.
45312         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45314         ... here.
45315         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45317         ... here.
45318         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45320         ... here.
45321         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45323         ... here.
45324         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45327         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45328         definitions to architecture-specific files.
45329         (TLS_IE): Likewise.
45330         (TLS_LD): Likewise.
45331         (TLS_GD): Likewise.
45332         * sysdeps/i386/tls-macros.h: New file.
45333         * sysdeps/powerpc/tls-macros.h: Likewise.
45334         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45335         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45336         * sysdeps/sh/tls-macros.h: Likewise.
45337         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45338         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45339         * sysdeps/x86_64/tls-macros.h: Likewise.
45341 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45343         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45344         zero value for regular exit case.
45346         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45347         (__start_context): Preserve zero value for regular exit case.
45349 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45350             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45352         * manual/setjmp.texi (setcontext): Clarify normal process
45353         termination when uc_link is the null pointer.
45354         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45355         exit call.
45357 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45359         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45360         preprocessor.  Test for each exception mask separately.
45362 2012-07-16  Andreas Jaeger  <aj@suse.de>
45364         * po/ru.po: Update from translation team.
45366 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45368         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45369         equal to 0.
45370         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45371         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45372         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45373         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45374         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45376 2012-07-13  Andreas Jaeger  <aj@suse.de>
45378         * po/fr.po: Update from translation team.
45380 2012-07-12  Marek Polacek  <polacek@redhat.com>
45382         [BZ #14173]
45383         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45385         loop condition.
45387 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45389         [BZ #13717]
45390         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45391         Change to 2.4.1 where previously 2.4.0.
45392         * sysdeps/unix/sysv/linux/configure: Regenerated.
45393         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45394         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45395         version.
45396         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45397         (__ASSUME_AT_CLKTCK): Remove.
45398         (__ASSUME_AT_PAGESIZE): Likewise.
45399         (__ASSUME_AT_XID): Likewise.
45400         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45401         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45402         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45403         unconditionally.
45404         (HAVE_AUX_PAGESIZE): Likewise.
45405         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45406         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45407         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45409 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45411         [BZ #14307]
45412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45413         the temporary buffer used to invoke __gethostbyname2_r,
45414         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45415         host_data / struct gaih_addrtuple.
45416         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45417         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45418         header file nss/nsswitch.h.
45419         * nss/nsswitch.h (global scope): Add definition of implementation
45420         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45421         resolv/nss_dns/dns-host.c).
45423 2012-07-11  Andreas Jaeger  <aj@suse.de>
45425         * po/fr.po: Update from translation team.
45427         * po/sv.po: Update from translation team
45428         * po/fr.po: Another update from translation team.
45430 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45432         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45433         for subnormals or multiply small sinh result by itself.
45434         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45437 2012-07-11  David S. Miller  <davem@davemloft.net>
45439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45441 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45443         [BZ #14347]
45444         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45445         (INTERNAL_MARK): Shift it here.
45447 2012-07-10  Marek Polacek  <polacek@redhat.com>
45449         [BZ #14151]
45450         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45451         libc_cv_asm_global_directive with .globl.
45452         * configure: Regenerated.
45453         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45454         with .globl.
45455         * sysdeps/i386/configure: Regenerated.
45456         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45457         with .globl.
45458         * sysdeps/x86_64/configure: Regenerated.
45459         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45460         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45461         * elf/tst-unique2mod2.c: Likewise.
45462         * elf/tst-unique2mod1.c: Likewise.
45463         * elf/tst-unique1mod2.c: Likewise.
45464         * elf/tst-unique1mod1.c: Likewise.
45465         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45466         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45467         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45468         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45469         * sysdeps/mach/sysdep.h: Likewise.
45470         * sysdeps/i386/sysdep.h: Likewise.
45471         * sysdeps/i386/i386-mcount.S: Likewise.
45472         * sysdeps/x86_64/_mcount.S: Likewise.
45473         * sysdeps/x86_64/sysdep.h: Likewise.
45474         * sysdeps/sh/_mcount.S: Likewise.
45475         * sysdeps/sh/sysdep.h: Likewise.
45476         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45477         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45478         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45479         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45480         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45481         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45482         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45483         * locale/localeinfo.h: Likewise.
45484         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45485         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45487 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45489         [BZ #14336]
45490         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45491         system".
45492         * manual/message.texi (The Uniforum approach): Likewise.
45493         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45494         (glibc iconv Implementation): Likewise.
45496 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45498         [BZ #14337]
45499         * math/s_clog.c (__clog): Avoid scaling a value down where that
45500         could result in underflow.
45501         * math/s_clog10.c (__clog10): Likewise.
45502         * math/s_clog10f.c (__clog10f): Likewise.
45503         * math/s_clog10l.c (__clog10l): Likewise.
45504         * math/s_clogf.c (__clogf): Likewise.
45505         * math/s_clogl.c (__clogl): Likewise.
45506         * math/libm-test.inc (clog_test): Add more tests.
45507         (clog10_test): Likewise.
45508         * sysdeps/i386/fpu/libm-test-ulps: Update.
45509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45511 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45513         [BZ #14283]
45514         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45515         by 7 not 8 to examine high bit of fractional part.
45517         [BZ #14042]
45518         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45519         for call to __mcount_internal.
45520         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45521         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45522         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45524 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45526         [BZ #14154]
45527         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45528         approximation for values within 0x1p-13f of an odd multiple of
45529         pi/4.
45530         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45531         exception.  Add more tests.
45532         * sysdeps/i386/fpu/libm-test-ulps: Update.
45534         [BZ #6778]
45535         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45536         inputs and return -1 for them.  Do not check for +Inf in case not
45537         reachable for +Inf.
45538         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45539         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45540         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45541         and return -1 for them.  Do not check for +Inf in case not
45542         reachable for +Inf.
45543         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45544         define.
45545         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45546         and return -1 for them.  Do not check for +Inf in case not
45547         reachable for +Inf.
45548         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45549         spurious underflow.
45550         * sysdeps/i386/fpu/libm-test-ulps: Update.
45551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45553 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45555         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45557 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45559         [BZ #14157]
45560         [BZ #14331]
45561         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45562         could result in spurious underflow.  Scale down values above
45563         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45564         * math/s_csqrtf.c (__csqrtf): Likewise.
45565         * math/s_csqrtl.c (__csqrtl): Likewise.
45566         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45567         spurious underflow.
45568         * sysdeps/i386/fpu/libm-test-ulps: Update.
45569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45571 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45573         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45574         xopen-msg.sed.
45575         * catgets/xopen-msg.awk: New file.
45576         * catgets/xopen-msg.sed: Removed.
45578         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45579         po2text.sed.
45580         * intl/po2test.awk: New file.
45581         * intl/po2test.sed: Removed.
45583 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45585         [BZ #14328]
45586         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45587         or multiply small sinh result by itself.
45588         * math/s_ctanf.c (__ctanf): Likewise.
45589         * math/s_ctanh.c (__ctanh): Likewise.
45590         * math/s_ctanhf.c (__ctanhf): Likewise.
45591         * math/s_ctanhl.c (__ctanhl): Likewise.
45592         * math/s_ctanl.c (__ctanl): Likewise.
45593         * math/libm-test.inc (ctan_test_tonearest): New function.
45594         (ctan_test_towardzero): Likewise.
45595         (ctan_test_downward): Likewise.
45596         (ctan_test_upward): Likewise.
45597         (ctanh_test_tonearest): Likewise.
45598         (ctanh_test_towardzero): Likewise.
45599         (ctanh_test_downward): Likewise.
45600         (ctanh_test_upward): Likewise.
45601         (main): Call these new functions.
45602         * sysdeps/i386/fpu/libm-test-ulps: Update.
45603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45605 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45607         * .gitignore: Delete /ports entry.
45609 2012-07-03  Andreas Jaeger  <aj@suse.de>
45611         * po/bg.po: Update from translation team.
45612         * po/cs.po: Likewise.
45613         * po/de.po: Likewise.
45614         * po/hr.po: Likewise.
45615         * po/nl.pl: Likewise.
45616         * po/pl.po: Likewise.
45617         * po/vi.po: Likewise.
45619 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45621         * Makeconfig [!+link] (+link-before-libc): New variable.
45622         [!+link] (+link-after-libc): Likewise.
45623         [!+link] (+link-tests): Likewise.
45624         [!+link] (+link): Define in terms of $(+link-before-libc) and
45625         $(+link-after-libc).
45626         [!+link-static] (+link-static-before-libc): New variable.
45627         [!+link-static] (+link-static-after-libc): Likewise.
45628         [!+link-static] (+link-static-tests): Likewise.
45629         [!+link-static] (+link-static): Define in terms of
45630         $(+link-static-before-libc) and $(+link-static-after-libc).
45631         [build-shared] (link-libc-before-gnulib): New variable.
45632         [build-shared] (link-libc-tests): Likewise.
45633         [build-shared] (link-libc): Define in terms of
45634         $(link-libc-before-gnulib).
45635         [!build-shared] (link-libc-tests): New variable.
45636         (link-libc-static-tests): New variable.
45637         [!gnulib] (gnulib-arch): New variable.
45638         [!gnulib] (gnulib-tests): Likewise.
45639         [!gnulib] (static-gnulib-arch): Likewise.
45640         [!gnulib] (static-gnulib-tests): Likewise.
45641         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45642         Define with "=" instead of ":=".
45643         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45644         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45645         * Rules (binaries-all-notests): New variable.
45646         (binaries-all-tests): Likewise.
45647         (binaries-static-notests): Likewise.
45648         (binaries-static-tests): Likewise.
45649         (binaries-all): Define using $(binaries-all-notests) and
45650         $(binaries-all-tests).
45651         (binaries-static): Define using $(binaries-static-notests) and
45652         $(binaries-static-tests).
45653         (binaries-shared-tests): New variable.
45654         (binaries-shared-notests): Likewise.
45655         (binaries-shared): Remove variable.
45656         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45657         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45658         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45659         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45660         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45661         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45662         * elf/Makefile (sln-modules): New variable.
45663         (extra-objs): Add $(sln-modules:=.o).
45664         (ldconfig-modules): Add static-stubs.
45665         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45666         * elf/static-stubs.c: New file.
45668         [BZ #14283]
45669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45670         by 7 not 8 to examine high bit of fractional part.  Use volatile
45671         variables when splitting into final array of floats if
45672         __FLT_EVAL_METHOD__ != 0.
45673         * math/libm-test.inc (cos_test): Add another test.
45674         (sin_test): Likewise.
45675         * sysdeps/i386/fpu/libm-test-ulps: Update.
45677         [BZ #14273]
45678         * math/libm-test.inc (cosh_test): Add more tests.
45680         * version.h (RELEASE): Set to "development".
45681         (VERSION): Set to "2.16.90".
45683 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45685         * NEWS: Update copyright. Remove last-updated date.
45686         Mention math library bug fixes and timezone data changes.
45687         * README: Mention GNU/Hurd, x32, and HPPA support status.
45689 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45691         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45693 2012-06-27  Andreas Jaeger  <aj@suse.de>
45695         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45697 2012-06-25  Andreas Jaeger  <aj@suse.de>
45699         * sysdeps/s390/fpu/libm-test-ulps: Update.
45701 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45702             Thomas Schwinge  <thomas@codesourcery.com>
45704         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45705         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45707         fanotify_mark.
45709 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45711         * sysdeps/mach/start.c: Remove file.
45712         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45713         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45714         * sysdeps/sh/init-first.c: Likewise.
45716         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45717         registers for frame unwinding purposes, add CFI directives.
45718         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45719         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45720         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45721         Likewise.
45723         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45724         __fortify_fail returning.
45725         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45727         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45728         sysdeps/sh/____longjmp_chk.S.
45729         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45730         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45731         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45732         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45734         * sysdeps/sh/abort-instr.h: New file.
45735         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45736         process in case exit returns.
45738         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45739         initialize the GOT register before use.
45741         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45742         calculation of ARGC > 4.
45744         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45745         meaningful names to some local labels.
45747 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45748             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45750         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45751         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45752         (__arch_compare_and_exchange_val_16_acq): Likewise.
45753         (__arch_compare_and_exchange_val_32_acq): Likewise.
45754         (atomic_exchange_and_add): Fix gUSA sequence.
45755         (atomic_add): Likewise.
45756         (atomic_add_negative): Likewise.
45757         (atomic_add_zero): Likewise.
45758         (atomic_bit_test_set): Likewise.
45760 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45762         [BZ #13579]
45763         * include/link.h (struct link_map): Add l_free_initfini.
45764         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45765         l_initfini.
45766         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45767         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45768         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45769         set.
45771 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45773         * configure.in: Use AC_LANG_SOURCE.
45774         * configure: Regenerate.
45776 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45778         * configure.in (libc_cv_localstatedir): New substituted variable.
45779         * configure: Regenerated.
45780         * config.make.in (localstatedir): New variable, substituted from
45781         libc_cv_localstatedir.
45782         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45783         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45784         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45785         * sysdeps/gnu/configure: Regenerated.
45787 2012-06-21  Jeff Law  <law@redhat.com>
45789         [BZ #14277]
45790         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45791         free.  Simplify list management for _LIBC case.
45793 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45795         [BZ #14273]
45796         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45797         Clear sign bit of 64-bit integer value before comparing against
45798         overflow value.
45800         * sysdeps/mach/configure: Regenerated.
45802 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45804         [BZ #14278]
45805         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45807 2012-06-21  Jeff Law  <law@redhat.com>
45809         [BZ #13882]
45810         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45811         uint16_t for elements in the "seen" array to avoid char overflows.
45812         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45813         * elf/dl-open.c (dl_open_worker): Likewise.
45815 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45817         * scripts/list-sources.sh: Scan PORTS for translations.
45818         * po/libc.pot: Regenerated.
45820 2012-06-21  Andreas Jaeger  <aj@suse.de>
45822         [BZ #12194]
45823         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45824         warning.
45825         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45826         * bits/byteswap-16.h (__bswap_16): Likewise.
45827         * bits/byteswap.h (__bswap_constant_16): Likewise.
45829 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45831         [BZ #14117]
45832         * sysdeps/i386/fpu_control.h: Removed.
45833         * sysdeps/x86_64/fpu_control.h: Moved to ...
45834         * sysdeps/x86/fpu_control.h: Here.
45836         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45837         (_FPU_SETCW): Likewise.
45839 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45841         [BZ #14117]
45842         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45843         * sysdeps/x86/fpu/bits/mathinline.h: This.
45844         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45846         [BZ #14050]
45847         [BZ #14117]
45848         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45849         functions if __x86_64__ is defined.
45851 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45853         * string/endian.h: Add !__ASSEMBLER__ condition for including
45854         conversion interfaces.
45856 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45858         [BZ #14241]
45859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45860         of ABS(x) in calculating zero to negative powers other than odd
45861         integers.
45862         * math/libm-test.inc (pow_test): Add more tests.
45864 2012-06-15  Andreas Jaeger  <aj@suse.de>
45866         * manual/contrib.texi (Contributors): Update entry of Liubov
45867         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45868         Machado Filho.
45870 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45872         * string/string.h: Add __wur to GNU version of strerror_r.
45874 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45876         [BZ #14229]
45877         * string/Makefile (tests): Add tst-strtok_r.
45878         * string/tst-strtok_r.c: New file.
45879         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45880         RAX_LP/RDX_LP on SAVE_PTR.
45882 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45884         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45886 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45888         * libm_test.inc (csqrt_test): Allow more spurious underflow
45889         exceptions.
45890         (j0_test): Likewise.
45891         (j1_test): Likewise.
45892         (y0_test): Likewise.
45893         (y1_test): Likewise.
45895 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45897         * po/Makefile (libc.pot): Use UTF-8 charset.
45899 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45901         [BZ #14210]
45902         Suppress sign-conversion warning from FD_SET.
45903         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45904         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45905         not unsigned long int.
45906         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45908 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45910         [BZ #14050]
45911         [BZ #14117]
45912         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45913         __extern_always_inline instead of __extern_inline.
45914         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45915         (__signbit): Likewise.
45916         (__signbitl): Support C++ namespace.
45917         (lrintf): New inline function.
45918         (lrint): Likewise.
45919         (llrintf): Likewise.
45920         (llrint): Likewise.
45921         (fmaxf): Likewise.
45922         (fmax): Likewise.
45923         (fminf): Likewise.
45924         (fmin): Likewise.
45925         (rint): Likewise.
45926         (rintf): Likewise.
45927         (ceil): Likewise.
45928         (ceilf): Likewise.
45929         (floor): Likewise.
45930         (floorf): Likewise.
45931         (nearbyint): Likewise.
45932         (nearbyintf): Likewise.
45934 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45936         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45937         non-default versions.
45939 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45941         [BZ #14218]
45942         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45944 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45946         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45947         (FE_UPWARD, FE_DOWNWARD): Don't define.
45948         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45949         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45951         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45952         reading it.
45953         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45954         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45956 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45958         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45959         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45960         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45961         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45963 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45965         [BZ #14117]
45966         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45967         * sysdeps/i386/fpu/Implies: New file.
45968         * sysdeps/x86_64/fpu/Implies: Likewise.
45969         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45970         * sysdeps/x86/fpu/bits/fenv.h: This.
45972         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45973         __SSE_MATH__.
45975 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45977         [BZ #14134]
45978         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45979         character 0xffff that matches the last element of the
45980         conversion table.
45982 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45984         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45985         fmodl commit.
45987 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45989         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45990         values higher than 25.6283.
45992 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45995         subnormal exponent extraction and add some __builtin_expect.
45996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45997         Fix for subnormal mantissa calculation.
45999 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46001         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46002         cpu2 is -1 and errno is not ENOSYS.
46004 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46006         [BZ #14117]
46007         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46008         * sysdeps/x86/bits/string.h: This.
46009         * sysdeps/x86_64/bits/string.h: Removed.
46011         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46012         if not compiling for x86-64, but compiling for >= i486.
46014         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46015         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46017         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46018         New macro from Linux kernel 3.4.0.
46019         (FP_XSTATE_MAGIC2): Likewise.
46020         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46021         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46022         (struct _fpx_sw_bytes): New struct.
46023         (struct _xsave_hdr): Likewise.
46024         (struct _ymmh_state): Likewise.
46025         (struct _xstate): Likewise.
46027         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46028         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46029         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46030         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46031         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46032         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46034         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46035         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46036         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46037         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46038         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46039         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46041 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46043         [BZ #13743]
46044         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46045         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46046         (sysdep_headers): Include sys/platform/ppc.h.
46047         * sysdeps/powerpc/test-gettimebase.c: Test for
46048         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46049         * manual/Makefile (appendices): Include platform.texi.
46050         * manual/contrib.texi (Contributors): Update @node pointers.
46051         * manual/maint.texi (Maintenance): Likewise.
46052         (Platform): New node.
46053         * manual/platform.texi: New file.  Document the new features.
46055 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46056             Jakub Jelinek  <jakub@redhat.com>
46058         [BZ #14188]
46059         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46060         where __builtin_expect is unavailable.
46062 2012-06-03  David S. Miller  <davem@davemloft.net>
46064         * stdlib/longlong.h: Updated from GCC.
46066 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46068         [BZ #14042]
46069         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46070         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46071         __mcount_internal.
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46073         (GLIBC_2.16): Likewise.
46075 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46077         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46079 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46082         (default-abi): New variable.
46083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46084         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46085         variable.
46086         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46087         Likewise.
46088         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46089         Likewise.
46090         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46091         Likewise.
46093         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46094         definition.  Document in comment.
46096 2012-06-01  David S. Miller  <davem@davemloft.net>
46098         * stdlib/longlong.h: Updated from GCC.
46100 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46102         [BZ #14117]
46103         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46104         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46105         sys/debugreg.h sys/io.h here.
46106         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46107         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46108         sys/io.h.
46109         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46110         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46111         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46112         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46113         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46114         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46116         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46117         Define only if __x86_64__ is defined.
46119 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46121         [BZ #14048]
46122         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46123         Use int64_t for variable i.
46124         * math/libm-test.inc (fmod_test): Add more tests.
46126         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46127         z computation is not scheduled after fetestexcept.
46128         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46129         Use math_force_eval instead of asm to ensure calculation scheduled
46130         before exception test.
46131         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46132         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46134 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46137         computation is not scheduled after fetestexcept.
46139 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46141         [BZ #14117]
46142         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46143         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46145 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46147         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46148         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46150 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46152         [BZ #14117]
46153         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46154         <bits/wordsize.h>.
46155         (__WCHAR_MIN): Support __WORDSIZE == 64.
46156         (__WCHAR_MAX): Likewise.
46158         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46159         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46161         [BZ #14183]
46162         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46163         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46165         [BZ #14117]
46166         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46167         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46169         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46170         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46172         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46173         Defined to 1 if __x86_64__ isn't defined.
46174         (_STAT_VER_LINUX_OLD): New.
46175         (st_atime): Remove duplicate.
46176         (st_mtime): Likewise.
46177         (st_ctime): Likewise.
46179 2012-05-31  David S. Miller  <davem@davemloft.net>
46181         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46182         entries.
46184 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46186         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46187         gen-libm-test.pl.
46189         [BZ #14132]
46190         * elf/dl-reloc.c: Include <_itoa.h>.
46191         (_dl_reloc_bad_type): Remove use of INTUSE.
46192         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46193         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46194         * stdio-common/psiginfo.c (psiginfo): Likewise.
46195         * stdio-common/psignal.c (psignal): Likewise.
46196         * string/strsignal.c (strsignal): Likewise.
46197         * include/signal.h (_sys_siglist): Declare hidden proto.
46198         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46199         INTVARDEF with libc_hidden_data_def.
46200         * stdio-common/itoa-udigits.c: Likewise.
46201         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46202         (_itoa_lower_digits_internal): Remove declaration.
46203         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46204         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46205         (_sys_sigabbrev_internal): Remove aliases.
46206         (_sys_siglist): Define hidden alias.
46208 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46211         bits/sysctl.h.
46213 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46215         [BZ #14117]
46216         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46217         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46219         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46220         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46221         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46222         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46223         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46224         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46226         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46227         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46228         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46230         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46231         with __addr.
46232         (insw): Likewise.
46233         (insl): Likewise.
46234         (outsb): Likewise.
46235         (outsw): Likewise.
46236         (outsl): Likewise.
46238         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46239         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46240         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46242         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46243         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46244         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46245         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46246         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46247         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46249         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46250         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46252         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46253         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46255         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46256         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46257         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46259         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46260         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46261         to ...
46262         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46264         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46265         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46266         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46268         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46269         for x86-64.
46270         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46272 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46274         * math/math.h (M_El): Use two more decimal places.
46275         (M_LOG2El): Likewise.
46276         (M_LOG10El): Likewise.
46277         (M_LN2l): Likewise.
46278         (M_LN10l): Likewise.
46279         (M_PIl): Likewise.
46280         (M_PI_2l): Likewise.
46281         (M_PI_4l): Likewise.
46282         (M_1_PIl): Likewise.
46283         (M_2_PIl): Likewise.
46284         (M_2_SQRTPIl): Likewise.
46285         (M_SQRT2l): Likewise.
46286         (M_SQRT1_2l): Likewise.
46288 2012-05-31  David S. Miller  <davem@davemloft.net>
46290         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46291         values between float registers.
46292         * sysdeps/sparc/sparc64/memset.S: Likewise.
46293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46295 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46297         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46298         -D_FORTIFY_SOURCE=1.
46299         (CPPFLAGS-tst-longjmp_chk.c): Define.
46300         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46301         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46302         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46303         CFLAGS-tst-wchar-h.c.
46305 2012-05-31  Marek Polacek  <polacek@redhat.com>
46307         [BZ #14132]
46308         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46309         __endmntent_internal): Remove declaration.
46310         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46311         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46312         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46314 2012-05-30  David S. Miller  <davem@davemloft.net>
46316         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46317         (___Q_simulate_exceptions): Use real FP ops rather than writing
46318         into the %fsr.
46319         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46320         Likewise.
46322 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46324         [BZ #14117]
46325         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46326         * sysdeps/x86/bits/xtitypes.h: This.
46328         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46329         * sysdeps/x86/bits/wordsize.h: This.
46331         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46332         * sysdeps/x86/bits/huge_vall.h: This.
46334         * sysdeps/i386/bits/select.h: Removed.
46335         * sysdeps/x86_64/bits/select.h: Renamed to ...
46336         * sysdeps/x86/bits/select.h: This.
46338         * sysdeps/i386/bits/setjmp.h: Removed.
46339         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46340         * sysdeps/x86/bits/setjmp.h: This.
46342         * sysdeps/i386/bits/mathdef.h: Removed.
46343         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46344         * sysdeps/x86/bits/mathdef.h: This.
46346 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46348         [BZ #14132]
46349         * include/sys/socket.h (__connect_internal)
46350         (__libc_sa_len_internal): Remove declaration.
46351         (__connect, __libc_sa_len): Declare hidden_proto.
46352         (SA_LEN): Remove use of INTUSE.
46353         * socket/connect.c: Add libc_hidden_def.
46354         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46355         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46356         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46357         alias.
46358         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46359         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46360         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46361         of adding _internal alias.
46363 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46365         [BZ #14117]
46366         * sysdeps/i386/bits/link.h: Removed.
46367         * sysdeps/i386/bits/linkmap.h: Likewise.
46368         * sysdeps/x86_64/bits/link.h: Renamed to ...
46369         * sysdeps/x86/bits/link.h: This.
46370         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46371         * sysdeps/x86/bits/linkmap.h: This.
46373         * sysdeps/i386/bits/endian.h: Removed.
46374         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46375         * sysdeps/x86/bits/endian.h: This.
46377         * sysdeps/i386/bits/byteswap.h: Removed.
46378         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46379         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46380         * sysdeps/x86/bits/byteswap.h: This.
46381         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46382         * sysdeps/x86/bits/byteswap-16.h: This.
46383         * sysdeps/i386/Implies: Add x86.
46384         * sysdeps/x86_64/Implies: Likewise.
46386 2012-05-30  David S. Miller  <davem@davemloft.net>
46388         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46389         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46390         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46391         (FP_TRAPPING_EXCEPTIONS): Define.
46392         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46393         (FP_TRAPPING_EXCEPTIONS): Define.
46394         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46395         subnormals only when inexact has been signalled or underflow
46396         exceptions are enabled.
46397         (_FP_PACK_CANONICAL): Likewise.
46399 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46401         [BZ #14183]
46402         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46403         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46405 2012-05-30  Richard Henderson  <rth@twiddle.net>
46407         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46408         with #ifndef NOT_IN_libc.
46410         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46411         marked to avoid plt entry.
46413 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46415         [BZ #14112]
46416         * Makeconfig (default-abi): New macro.
46417         (abi-includes): Likewise.
46418         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46419         $(abi-$(default-abi)-lib-soname) for soname if defined.
46420         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46421         abi-variants.
46422         * Makefile (installed-stubs): Likewise.
46423         * include/stubs-biarch.h: Removed.
46424         * scripts/lib-names.awk: Only handle one library at a time.
46425         * scripts/soversions.awk: Remove WORDSIZE support.
46426         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46427         entries.
46428         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46429         Removed.
46430         (syscall-list-default-condition): Likewise.
46431         (syscall-list-default-condition): Likewise.
46432         (syscall-list-includes): Likewise.
46433         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46434         syscall-list-* with abi-*.  Handle undefined abi-variants.
46435         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46436         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46437         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46438         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46439         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46440         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46441         Removed.
46442         (syscall-list-32-options): Likewise.
46443         (syscall-list-32-condition): Likewise.
46444         (syscall-list-64-options): Likewise.
46445         (syscall-list-64-condition): Likewise.
46446         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46447         macro.
46448         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46449         Renamed to ...
46450         (abi-*): This.
46451         (abi-64-ld-soname): New macro.
46452         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46453         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46454         Renamed to ...
46455         (abi-*): This.
46456         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46457         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46459 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46461         * sysdeps/unix/sysv/linux/kernel-features.h
46462         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46463         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46464         include <kernel-features.h>.
46465         [!__NR_ftruncate64]: Remove conditional code.
46466         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46467         [__NR_ftruncate64]: Make code unconditional.
46468         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46469         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46470         include <kernel-features.h>.
46471         [!__NR_ftruncate64]: Remove conditional code.
46472         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46473         [__NR_ftruncate64]: Make code unconditional.
46474         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46476         include <kernel-features.h>.
46477         [!__NR_ftruncate64]: Remove conditional code.
46478         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46479         [__NR_ftruncate64]: Make code unconditional.
46480         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46482         include <kernel-features.h>.
46483         [!__NR_ftruncate64]: Remove conditional code.
46484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46485         [__NR_ftruncate64]: Make code unconditional.
46486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46488         * configure.in (libc_cv_fpie): Weaken to a compile test using
46489         LIBC_TRY_CC_OPTION.
46490         * configure: Regenerated.
46492 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46498         Refreshed.
46499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46505         Refreshed.
46507 2012-05-27  David S. Miller  <davem@davemloft.net>
46509         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46510         (___Q_zero): New.
46511         (__Q_simulate_exceptions): Return void.  Change to simulate
46512         exceptions by writing into the %fsr.
46513         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46514         (__Qp_handle_exceptions): Likewise.
46515         (numbers): Delete.
46516         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46517         __Qp_handle_exceptions.
46518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46519         __Qp_handle_exceptions.
46520         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46521         as unused and give dummy FP_RND_NEAREST initializer.
46522         (FP_INHIBIT_RESULTS): Define.
46523         (___Q_simulate_exceptions): Update declaration.
46524         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46525         formatting.
46526         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46527         as unused and give dummy FP_RND_NEAREST initializer.
46528         (__Qp_handle_exceptions): Update declaration.
46529         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46530         formatting.
46532 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46534         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46535         the temporary FPU control word.
46536         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46537         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46538         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46539         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46540         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46541         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46542         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46543         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46544         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46545         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46546         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46548 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46550         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46551         fields.
46553 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46555         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46556         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46557         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46558         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46559         Likewise.
46560         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46561         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46562         Likewise.
46564 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46566         * po/h.po: Update from translation team.
46568 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46570         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46572         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46573         handling of denormals.
46574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46575         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46576         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46577         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46578         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46581         Likewise.
46583 2012-05-26  Marek Polacek  <polacek@redhat.com>
46585         [BZ #14152]
46586         * math/libm-test.inc (fma_test): Don't always expect underflow
46587         exception.
46589 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46591         [BZ #12416]
46592         * elf/tst-execstack.c: Include stackinfo.h.
46593         (do_test): Adjust test case to ensure that pthread_getattr_np
46594         behaviour remains the same after marking stack executable.
46596 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46598         * sysdeps/unix/sysv/linux/kernel-features.h
46599         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46600         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46601         kernel-features.h.
46602         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46603         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46604         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46605         kernel-features.h.
46606         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46607         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46609 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46611         * configure.in: Define the default includes to being none.
46612         * configure: Regenerated.
46614 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46616         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46617         * sysdeps/x86_64/setjmp.S: Likewise.
46618         * sysdeps/i386/bsd-setjmp.S: Likewise.
46619         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46620         * sysdeps/i386/setjmp.S: Likewise.
46621         * sysdeps/i386/__longjmp.S: Likewise.
46622         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46623         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46625         * include/stap-probe.h: New file.
46626         * configure.in: Handle --enable-systemtap.
46627         * configure: Regenerated.
46628         * config.h.in (USE_STAP_PROBE): New #undef.
46629         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46630         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46631         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46633 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46635         [BZ #13717]
46636         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46637         to 2.4.0 where earlier.
46638         * sysdeps/unix/sysv/linux/configure: Regenerated.
46639         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46640         <kernel-features.h>.
46641         [__ASSUME_32BITUIDS]: Make code unconditional.
46642         [!__ASSUME_32BITUIDS]: Remove conditional code.
46643         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46644         <kernel-features.h>.
46645         [__ASSUME_32BITUIDS]: Make code unconditional.
46646         [!__ASSUME_32BITUIDS]: Remove conditional code.
46647         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46648         [__ASSUME_32BITUIDS]: Make code unconditional.
46649         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46650         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46651         <kernel-features.h>.
46652         [__ASSUME_32BITUIDS]: Make code unconditional.
46653         [!__ASSUME_32BITUIDS]: Remove conditional code.
46654         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46655         <kernel-features.h>.
46656         [__ASSUME_32BITUIDS]: Make code unconditional.
46657         [!__ASSUME_32BITUIDS]: Remove conditional code.
46658         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46659         <kernel-features.h>.
46660         [__ASSUME_32BITUIDS]: Make code unconditional.
46661         [!__ASSUME_32BITUIDS]: Remove conditional code.
46662         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46663         <kernel-features.h>.
46664         [__ASSUME_32BITUIDS]: Make code unconditional.
46665         [!__ASSUME_32BITUIDS]: Remove conditional code.
46666         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46667         <kernel-features.h>.
46668         [__ASSUME_32BITUIDS]: Make code unconditional.
46669         [!__ASSUME_32BITUIDS]: Remove conditional code.
46670         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46671         <kernel-features.h>.
46672         [__ASSUME_32BITUIDS]: Make code unconditional.
46673         [!__ASSUME_32BITUIDS]: Remove conditional code.
46674         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46675         <kernel-features.h>.
46676         [__ASSUME_32BITUIDS]: Make code unconditional.
46677         [!__ASSUME_32BITUIDS]: Remove conditional code.
46678         * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
46691         <kernel-features.h>.
46692         [__NR_setresgid] (__setresgid): Do not declare.
46693         [__ASSUME_32BITUIDS]: Make code unconditional.
46694         [!__ASSUME_32BITUIDS]: Remove conditional code.
46695         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46696         <kernel-features.h>.
46697         [__NR_setresuid] (__setresuid): Do not declare.
46698         [__ASSUME_32BITUIDS]: Make code unconditional.
46699         [!__ASSUME_32BITUIDS]: Remove conditional code.
46700         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46701         <kernel-features.h>.
46702         [__ASSUME_32BITUIDS]: Make code unconditional.
46703         [!__ASSUME_32BITUIDS]: Remove conditional code.
46704         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46705         <kernel-features.h>.
46706         [__ASSUME_32BITUIDS]: Make code unconditional.
46707         [!__ASSUME_32BITUIDS]: Remove conditional code.
46708         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46709         <kernel-features.h>.
46710         [__ASSUME_32BITUIDS]: Make code unconditional.
46711         [!__ASSUME_32BITUIDS]: Remove conditional code.
46712         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46713         <kernel-features.h>.
46714         [__ASSUME_32BITUIDS]: Make code unconditional.
46715         [!__ASSUME_32BITUIDS]: Remove conditional code.
46716         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46717         <kernel-features.h>.
46718         [__ASSUME_32BITUIDS]: Make code unconditional.
46719         [!__ASSUME_32BITUIDS]: Remove conditional code.
46720         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46721         <kernel-features.h>.
46722         [__ASSUME_32BITUIDS]: Make code unconditional.
46723         [!__ASSUME_32BITUIDS]: Remove conditional code.
46724         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46725         <kernel-features.h>.
46726         [__ASSUME_32BITUIDS]: Make code unconditional.
46727         [!__ASSUME_32BITUIDS]: Remove conditional code.
46728         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46729         <kernel-features.h>.
46730         [__ASSUME_32BITUIDS]: Make code unconditional.
46731         [!__ASSUME_32BITUIDS]: Remove conditional code.
46732         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46733         <kernel-features.h>.
46734         [__ASSUME_32BITUIDS]: Make code unconditional.
46735         [!__ASSUME_32BITUIDS]: Remove conditional code.
46736         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46737         <kernel-features.h>.
46738         [__ASSUME_32BITUIDS]: Make code unconditional.
46739         [!__ASSUME_32BITUIDS]: Remove conditional code.
46740         * sysdeps/unix/sysv/linux/kernel-features.h
46741         (__ASSUME_SETRESUID_SYSCALL): Remove.
46742         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46743         (__ASSUME_32BITUIDS): Likewise.
46744         (__ASSUME_LDT_WORKS): Likewise.
46745         (__ASSUME_O_DIRECTORY): Likewise.
46746         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46747         architecture but not kernel version.
46748         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46749         (__ASSUME_MMAP2_SYSCALL): Likewise.
46750         (__ASSUME_STAT64_SYSCALL): Likewise.
46751         (__ASSUME_IPC64): Likewise.
46752         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46753         <kernel-features.h>.
46754         [__ASSUME_32BITUIDS]: Make code unconditional.
46755         [!__ASSUME_32BITUIDS]: Remove conditional code.
46756         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46757         <kernel-features.h>.
46758         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46759         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46760         132096]: Remove conditional code.
46761         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46762         * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
46767         <kernel-features.h>.
46768         [__ASSUME_32BITUIDS]: Make code unconditional.
46769         [!__ASSUME_32BITUIDS]: Remove conditional code.
46770         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46771         <kernel-features.h>.
46772         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46773         unconditional.
46774         (__setresgid): Do not declare.
46775         [__ASSUME_32BITUIDS]: Make code unconditional.
46776         [!__ASSUME_32BITUIDS]: Remove conditional code.
46777         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46778         <kernel-features.h>.
46779         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46780         unconditional.
46781         (__setresuid): Do not declare.
46782         [__ASSUME_32BITUIDS]: Make code unconditional.
46783         [!__ASSUME_32BITUIDS]: Remove conditional code.
46784         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46785         <kernel-features.h>.
46786         [__ASSUME_32BITUIDS]: Make code unconditional.
46787         [!__ASSUME_32BITUIDS]: Remove conditional code.
46788         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46789         <kernel-features.h>.
46790         [__ASSUME_32BITUIDS]: Make code unconditional.
46791         [!__ASSUME_32BITUIDS]: Remove conditional code.
46793 2012-05-25  Richard Henderson  <rth@twiddle.net>
46795         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46796         dl_hwcap to ifunc resolver.
46797         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46798         elf_ifunc_invoke.
46799         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46800         dl_hwcap to ifunc resolver.
46801         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46803 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46805         [BZ #14153]
46806         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46807         for |x| <= 2**-26, not 2**-57.
46808         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46809         exception.
46811 2012-05-24  Jeff Law  <law@redhat.com>
46813         * stdio-common/Makefile (tests): Add bug25.
46814         * stdio-common/bug25.c: New test.
46816 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46818         [BZ #13576]
46819         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46820         multiple of MALLOC_ALIGNMENT in size.
46821         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46823 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46825         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46826         Require >= 256.
46827         (FILENAME_MAX): Use macro-int-constant.
46828         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46829         (_IOFBF): Use macro-int-constant.
46830         (_IOLBF): Likewise.
46831         (_IONBF): Likewise.
46832         (SEEK_CUR): Likewise.
46833         (SEEK_END): Likewise.
46834         (SEEK_SET): Likewise.
46835         (TMP_MAX): Likewise.
46836         (EOF): Use macro-int-constant.  Require < 0.
46837         (NULL): Use macro-constant.  Require == 0.
46838         (stdin): Require type to be FILE *.
46839         (stdout): Likewise.
46840         (stderr): Likewise.
46841         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46842         macro-int-constant.
46843         (EXIT_SUCCESS): Likewise.
46844         (NULL): Use macro-constant.  Require == 0.
46845         (RAND_MAX): Use macro-int-constant.
46846         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46847         [C99-based standards] (strtof): Require function.
46848         [C99-based standards] (strtold): Likewise.
46849         [C99-based standards] (strtoll): Likewise.
46850         [C99-based standards] (strtoull): Likewise.
46851         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46852         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46853         [ISO || ISO99 || ISO11] (math.h): Likewise.
46854         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46855         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46858 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46860         [BZ #14132]
46861         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46862         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46863         * intl/dgettext.c (DCGETTEXT): Likewise.
46864         * intl/gettext.c (DCGETTEXT): Likewise.
46865         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46866         * posix/regex_internal.h (gettext): Likewise.
46867         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46868         Remove declaration.
46869         * include/argz.h (__argz_count_internal)
46870         (__argz_stringify_internal): Remove declaration.
46871         (__argz_count, __argz_stringify): Declare hidden proto.
46872         * intl/dcgettext.c: Remove use of INTDEF.
46873         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46874         * string/argz-stringify.c: Likewise.
46875         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46876         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46877         Declare hidden proto.
46878         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46879         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46880         Declare hidden proto.
46881         * include/stdio.h (__asprintf_internal): Don't declare.
46882         (__asprintf): Don't define as macro.  Declare hidden proto.
46883         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46884         (__fsetlocking): Declare hidden proto.
46885         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46886         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46887         hidden proto.
46888         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46889         (_IO_setlinebuf): Remove use of INTUSE.
46890         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46891         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46892         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46893         Remove declaration.
46894         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46895         (_IO_do_flush): Remove use of INTUSE.
46896         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46897         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46898         (_IO_adjust_column, _IO_least_wmarker)
46899         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46900         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46901         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46902         (_IO_default_doallocate, _IO_wdefault_doallocate)
46903         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46904         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46905         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46906         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46907         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46908         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46909         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46910         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46911         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46912         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46913         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46914         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46915         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46916         proto.
46917         (_IO_flush_all_internal, _IO_adjust_column_internal)
46918         (_IO_default_uflow_internal, _IO_default_finish_internal)
46919         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46920         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46921         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46922         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46923         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46924         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46925         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46926         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46927         (_IO_file_close_internal, _IO_file_close_it_internal)
46928         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46929         (_IO_file_init_internal, _IO_file_attach_internal)
46930         (_IO_file_fopen_internal, _IO_file_read_internal)
46931         (_IO_file_sync_internal, _IO_file_seek_internal)
46932         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46933         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46934         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46935         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46936         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46937         (_IO_list_all_internal, _IO_link_in_internal)
46938         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46939         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46940         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46941         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46942         (_IO_do_write_internal, _IO_padn_internal)
46943         (_IO_getline_info_internal, _IO_getline_internal)
46944         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46945         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46946         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46947         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46948         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46949         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46950         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46951         with libc_hidden_ver, remove use of INTUSE.
46952         * libio/genops.c: Likewise.
46953         * libio/freopen.c: Likewise.
46954         * libio/freopen64.c: Likewise.
46955         * libio/iofclose.c: Likewise.
46956         * libio/iofdopen.c: Likewise.
46957         * libio/iofflush.c: Likewise.
46958         * libio/iofflush_u.c: Likewise.
46959         * libio/iofgets.c: Likewise.
46960         * libio/iofgets_u.c: Likewise.
46961         * libio/iofopen.c: Likewise.
46962         * libio/iofopncook.c: Likewise.
46963         * libio/iofread.c: Likewise.
46964         * libio/iofread_u.c: Likewise.
46965         * libio/ioftell.c: Likewise.
46966         * libio/iofwrite.c: Likewise.
46967         * libio/iogetline.c: Likewise.
46968         * libio/iogets.c: Likewise.
46969         * libio/iogetwline.c: Likewise.
46970         * libio/iopadn.c: Likewise.
46971         * libio/iopopen.c: Likewise.
46972         * libio/ioseekoff.c: Likewise.
46973         * libio/ioseekpos.c: Likewise.
46974         * libio/iosetbuffer.c: Likewise.
46975         * libio/iosetvbuf.c: Likewise.
46976         * libio/ioungetc.c: Likewise.
46977         * libio/ioungetwc.c: Likewise.
46978         * libio/iovdprintf.c: Likewise.
46979         * libio/iovsprintf.c: Likewise.
46980         * libio/iovsscanf.c: Likewise.
46981         * libio/memstream.c: Likewise.
46982         * libio/obprintf.c: Likewise.
46983         * libio/oldfileops.c: Likewise.
46984         * libio/oldiofclose.c: Likewise.
46985         * libio/oldiofdopen.c: Likewise.
46986         * libio/oldiofopen.c: Likewise.
46987         * libio/oldiopopen.c: Likewise.
46988         * libio/oldstdfiles.c: Likewise.
46989         * libio/putc.c: Likewise.
46990         * libio/setbuf.c: Likewise.
46991         * libio/setlinebuf.c: Likewise.
46992         * libio/stdfiles.c: Likewise.
46993         * libio/strops.c: Likewise.
46994         * libio/vasprintf.c: Likewise.
46995         * libio/vscanf.c: Likewise.
46996         * libio/vsnprintf.c: Likewise.
46997         * libio/vswprintf.c: Likewise.
46998         * libio/wfiledoalloc.c: Likewise.
46999         * libio/wfileops.c: Likewise.
47000         * libio/wgenops.c: Likewise.
47001         * libio/wmemstream.c: Likewise.
47002         * libio/wstrops.c: Likewise.
47003         * libio/__fpurge.c: Likewise.
47004         * libio/__fsetlocking.c: Likewise.
47005         * assert/assert.c: Likewise.
47006         * debug/fgets_chk.c: Likewise.
47007         * debug/fgets_u_chk.c: Likewise.
47008         * debug/fread_chk.c: Likewise.
47009         * debug/fread_u_chk.c: Likewise.
47010         * debug/gets_chk.c: Likewise.
47011         * debug/obprintf_chk.c: Likewise.
47012         * debug/vasprintf_chk.c: Likewise.
47013         * debug/vdprintf_chk.c: Likewise.
47014         * debug/vsnprintf_chk.c: Likewise.
47015         * debug/vsprintf_chk.c: Likewise.
47016         * malloc/mtrace.c: Likewise.
47017         * misc/error.c: Likewise.
47018         * misc/syslog.c: Likewise.
47019         * stdio-common/asprintf.c: Likewise.
47020         * stdio-common/fxprintf.c: Likewise.
47021         * stdio-common/getw.c: Likewise.
47022         * stdio-common/isoc99_fscanf.c: Likewise.
47023         * stdio-common/isoc99_scanf.c: Likewise.
47024         * stdio-common/isoc99_vfscanf.c: Likewise.
47025         * stdio-common/isoc99_vscanf.c: Likewise.
47026         * stdio-common/isoc99_vsscanf.c: Likewise.
47027         * stdio-common/printf-prs.c: Likewise.
47028         * stdio-common/printf_fp.c: Likewise.
47029         * stdio-common/printf_fphex.c: Likewise.
47030         * stdio-common/printf_size.c: Likewise.
47031         * stdio-common/putw.c: Likewise.
47032         * stdio-common/scanf.c: Likewise.
47033         * stdio-common/sprintf.c: Likewise.
47034         * stdio-common/tmpfile.c: Likewise.
47035         * stdio-common/vfprintf.c: Likewise.
47036         * stdio-common/vfscanf.c: Likewise.
47037         * stdlib/strfmon_l.c: Likewise.
47038         * sunrpc/openchild.c: Likewise.
47039         * sunrpc/xdr_stdio.c: Likewise.
47040         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47041         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47043 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47045         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47047         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47048         in the third column, to generate for the shared library an IFUNC
47049         that uses _dl_vdso_vsym.
47050         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47051         * Makeconfig (object-suffixes-noshared): New variable.
47053         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47054         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47055         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47056         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47058         [BZ #14132]
47059         * include/sys/time.h (__gettimeofday): Remove macro.
47060         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47061         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47062         Remove INTDEF.
47063         (__gettimeofday): Add libc_hidden_def.
47064         (gettimeofday): Add libc_hidden_weak.
47065         * sysdeps/mach/gettimeofday.c: Likewise.
47066         * sysdeps/posix/gettimeofday.c: Likewise.
47067         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47068         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47069         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47070         (__gettimeofday_internal): Remove strong_alias.
47071         (__gettimeofday): Add libc_hidden_def.
47072         (gettimeofday): Add libc_hidden_weak.
47073         * sysdeps/unix/syscalls.list (gettimeofday):
47074         Remove __gettimeofday_internal alias.
47076 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47077             H.J. Lu  <hongjiu.lu@intel.com>
47079         [BZ #12495]
47080         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47081         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47082         (largebin_index_32_big): New.
47083         (largebin_index): Use it for 16-byte alignment.
47084         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47085         correction with front_misalign.
47087 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47091         Likewise.
47092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47093         Likewise.
47094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47095         Likewise.
47096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47097         Likewise.
47098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47099         Likewise.
47100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47101         Likewise.
47102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47103         Likewise.
47104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47105         Likewise.
47106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47107         Likewise.
47108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47109         Likewise.
47110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47111         Likewise.
47112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47113         Likewise.
47115         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47116         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47118 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47120         [BZ #10846]
47121         [BZ #14036]
47122         * math/libm-test.inc (exp_test): Add test from bug 14036.
47123         (pow_test): Add test from bug 10846.
47125         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47126         and other flags.
47127         (special_function): Do not include flags in test name.
47128         (parse_args): Likewise.
47129         * sysdeps/i386/fpu/libm-test-ulps: Update.
47130         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47131         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47132         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47135         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47136         exceptions.
47137         * math/libm-test.inc ("Philosophy"): Update comment about
47138         exception testing.
47139         (UNDERFLOW_EXCEPTION): New macro.
47140         (UNDERFLOW_EXCEPTION_OK): Likewise.
47141         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47142         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47143         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47144         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47145         (INVALID_EXCEPTION_OK): Update value.
47146         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47147         (OVERFLOW_EXCEPTION_OK): Likewise.
47148         (IGNORE_ZERO_INF_SIGN): Likewise.
47149         (test_exceptions): Handle underflow exceptions.
47150         (acos_test): Update for underflow exception expectations.
47151         (cexp_test): Likewise.
47152         (clog_test): Likewise.
47153         (clog10_test): Likewise.
47154         (csqrt_test): Likewise.
47155         (ctan_test): Likewise.
47156         (ctanh_test): Likewise.
47157         (exp_test): Likewise.
47158         (exp10_test): Likewise.
47159         (exp2_test): Likewise.
47160         (expm1_test): Likewise.
47161         (fma_test): Likewise.
47162         (j0_test): Likewise.
47163         (jn_test): Likewise.
47164         (nexttoward_test): Likewise.
47165         (pow_test): Likewise.
47166         (scalbn_test): Likewise.
47167         (scalbln_test): Likewise.
47168         (tan_test): Likewise.
47169         (y1_test): Likewise.
47170         * sysdeps/i386/fpu/libm-test-ulps: Update.
47171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47173 2012-05-23  David S. Miller  <davem@davemloft.net>
47175         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47176         (__libc_sigaction): Remove unused local variables.
47178 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47180         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47182 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47184         mktime: avoid signed integer overflow
47185         * time/mktime.c (__mktime_internal): Do not mishandle the case
47186         where diff == INT_MIN.
47188         mktime: simplify computation of average
47189         * time/mktime.c (ranged_convert): Use new time_t_avg function
47190         instead of rolling our own (probably-slower) code.
47192         mktime: do not assume signed right shift propagates sign bit
47193         * time/mktime.c (isdst_differ): New static function.
47194         (__mktime_internal): No need to normalize tm_isdst now.
47195         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47196         tm_isdst values.
47198         mktime: merge another wrapv change from gnulib
47199         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47200         from some compilers.
47202         mktime: remove incorrect attempt at unusual arithmetics
47203         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47204         The code didn't really work on such machines anyway.
47205         (TYPE_MINIMUM): Assume two's complement.
47206         (twos_complement_arithmetic): Verify that long_int and time_t
47207         are two's complement (or unsigned, in the latter case).
47209         mktime: check signed shifts on long_int and time_t, too
47210         * time/mktime.c (SHR): Check that shifts work as desired
47211         on the types long_int and time_t too, as SHR is used on
47212         such types.
47214         mktime: do not assume 'long' is wide enough
47215         * time/mktime.c (verify): Move decl up.
47216         (long_int): New type.
47217         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47218         to remove assumption in the code that 'long' is wide enough to
47219         store year values.  This assumption is not true on x32 and on
47220         some non-glibc platforms.
47222         mktime: merge wrapv change from gnulib
47223         * time/mktime.c (WRAPV): New macro.
47224         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47225         (guess_time_tm, __mktime_internal): Do not assume that signed
47226         integer overflow wraps around; modern compilers generate code
47227         where this assumption is no longer valid.
47229 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47231         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47232         Replace "jmp L(pseudo_end)" with "ret".
47233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47234         Likewise.
47236 2012-05-23  Andreas Jaeger  <aj@suse.de>
47238         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47239         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47241 2012-05-23  Andreas Jaeger  <aj@suse.de>
47242             Maximilian Attems  <max@stro.at>
47244         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47245         New macros.
47247 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47250         code so that pseudo_end is just ret and the stack pointer is
47251         correct also for static library in error case.
47253 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47255         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47256         move to syscalls.list.
47257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47262         * manual/install.texi (Running make install): Do not mention Linux
47263         kernel version for which pt_chown is not needed.
47264         (Linux): Do not mention problems with nscd with 2.0 kernels.
47265         * INSTALL: Regenerated.
47267 2012-05-23  Andreas Jaeger  <aj@suse.de>
47269         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47270         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47271         macro.
47272         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47273         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47274         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47275         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47276         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47277         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47278         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47279         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47280         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47281         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47282         * sysdeps/unix/sysv/linux/bits/in.h
47283         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47285 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47287         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47288         (PREPARE_VERSION): Just use assert instead, it will be elided
47289         under [NDEBUG] anyway.
47291 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47293         * sysdeps/unix/sysv/linux/Makefile: Include
47294         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47295         (sysdep_routines): Remove sysctl.
47296         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47297         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47298         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47299         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47300         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47302 2012-05-22  Andreas Jaeger  <aj@suse.de>
47304         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47305         that pseudo_end is just ret and the stack pointer is correct also
47306         for static library in error case.
47308 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47310         [BZ #14122]
47311         * nss/nsswitch.c (defconfig_entries): New variable.
47312         (__nss_database_lookup): Don't leak defconfig entries.
47313         (nss_parse_service_list): Don't leak on error paths.
47314         (free_database_entries): New function.
47315         (free_defconfig): New function.
47316         (free_mem): Move common code to free_database_entries.
47318 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47320         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47321         Add arch_prctl.
47322         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47324         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47325         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47327         New macro.
47328         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47329         (INTERNAL_SYSCALL_TYPES): Likewise.
47330         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47331         (LOAD_REGS_TYPES_[1-6]): Likewise.
47332         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47333         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47335 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47337         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47338         copysignl for GLIBC_2_0.
47339         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47340         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47342         logbl for GLIBC_2_0.
47343         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47344         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47346 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47348         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47349         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47351         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47352         Use "neg %eax".
47354         * time/mktime.c: Update copyright years.
47356 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47358         mktime: merge comment-quoting-style change from gnulib
47359         * time/mktime.c: Quote 'like this' in comments.
47360         The GNU coding standards suggest that we no longer quote `like this',
47361         as "`" and "'" are typically rendered asymmetrically nowadays.
47362         The typical gnulib style is to quote 'like this' when quoting
47363         code, and "like this" when quoting English.
47365         * time/mktime.c (compile-command): Add "-I.".
47367         mktime: merge mktime-internal.h change from gnulib
47368         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47370         mktime: merge time_r change from gnulib
47371         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47373         mktime: merge DEBUG change from gnulib
47374         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47375         case system <time.h> has a #define.
47377         mktime: merge <sys/types.h> change from gnulib
47378         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47379         since <time.t> is now guaranteed to define time_t.
47381         mktime: merge HAVE_CONFIG_H change from gnulib
47382         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47384 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47387         Use "neg %eax".
47389         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47390         __rlim_t cast.
47391         (struct rusage): Use anonymous union to pad each field to
47392         __syscall_slong_t.
47394 2012-05-21  David S. Miller  <davem@davemloft.net>
47396         * Makefules (o-iterator): Remove .s cases.
47397         (compile-command.s): Delete.
47398         (COMPILE.s): Delete.
47399         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47401 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47403         * configure.in (libc_cv_predef_stack_protector): Only consider
47404         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47405         * configure: Regenerated.
47407 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47410         New macro.  Use R*LP on int and pointer.
47411         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47412         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47413         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47414         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47416         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47417         [__WORDSIZE_TIME64_COMPAT32] instead of
47418         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47419         (struct utmp): Likewise.
47420         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47421         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47422         Renamed to ...
47423         (__WORDSIZE_TIME64_COMPAT32): This.
47424         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47425         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47426         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47427         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47428         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47429         (__WORDSIZE_TIME64_COMPAT32): New macro.
47431 2012-05-21  Andreas Jaeger  <aj@suse.de>
47433         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47434         only if [SHARED]. Add prototype for __wcschr_ia32.
47436 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47438         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47439         of %rbp unmolested in the jmp_buf while mangling the low bits.
47440         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47441         unmolested high bits of %rbp while demangling the low bits.
47442         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47444 2012-05-21  Andreas Jaeger  <aj@suse.de>
47446         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47447         * sunrpc/svc_simple.c: Use it for registerrpc.
47448         * sunrpc/xcrypt.c: Use it for passwd2des.
47450         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47452 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47454         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47455         Don't define if [__SYSCALL_WORDSIZE != 32].
47456         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47457         New macro.
47459 2012-05-21  Bruno Haible  <bruno@clisp.org>
47460             Andreas Jaeger  <aj@suse.de>
47462         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47463         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47464         inptr and inend for must_buffer_ch.
47465         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47466         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47467         * stdio-common/Makefile (tests): Remove bug15.
47468         (bug15-ENV): Remove macro.
47469         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47470         anymore.
47472 2012-05-19  Andreas Jaeger  <aj@suse.de>
47473             Roland McGrath  <roland@hack.frob.com>
47475         * manual/contrib.texi: Completely rewritten. It contains now an
47476         alphabetical list of contributors and their contributions.
47478 2012-05-21  Richard Henderson  <rth@twiddle.net>
47480         * misc/getauxval.c (__getauxval): Use unsigned long int.
47481         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47482         (getauxval): Use unsigned long int.
47484 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47486         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47488 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47490         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47491         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47492         __alignof__ (long double).
47494 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47498 2012-05-20  Richard Henderson  <rth@twiddle.net>
47500         * misc/getauxval.c: New file.
47501         * misc/sys/auxv.h: New file.
47502         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47503         (routines): Add getauxval.
47504         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47505         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47506         * elf/dl-sysdep.c (_dl_auxv): Remove.
47507         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47508         * elf/dl-support.c (_dl_auxv): New variable.
47509         (_dl_aux_init): Initialize it.
47510         * manual/startup.texi (Auxiliary Vector): New node.
47511         * sysdeps/generic/bits/hwcap.h: New file.
47512         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47513         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47514         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47515         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47516         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47517         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47519         Update.
47520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47523         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47529 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47533 2012-05-19  David S. Miller  <davem@davemloft.net>
47535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47537 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47539         [BZ #14123]
47540         * math/s_ccosh.c: Include <float.h>
47541         (__ccosh): Avoid internal overflow calculating sinh and cosh
47542         values before multiplying by sin and cos values.
47543         * math/s_ccoshf.c: Likewise.
47544         * math/s_ccoshl.c: Likewise.
47545         * math/s_csin.c: Likewise.
47546         * math/s_csinf.c: Likewise.
47547         * math/s_csinl.c: Likewise.
47548         * math/s_csinh.c: Likewise.
47549         * math/s_csinhf.c: Likewise.
47550         * math/s_csinhl.c: Likewise.
47551         * math/libm-test.inc (ccos_test): Add more tests.
47552         (ccosh_test): Likewise.
47553         (csin_test): Likewise.
47554         (csinh_test): Likewise.
47555         * sysdeps/i386/fpu/libm-test-ulps: Update.
47556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47558 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47560         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47561         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47563         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47565 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47567         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47568         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47569         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47570         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47571         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47572         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47573         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47574         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47575         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47576         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47577         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47578         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47579         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47580         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47581         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47582         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47583         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47584         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47585         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47586         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47587         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47588         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47589         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47590         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47591         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47592         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47593         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47594         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47595         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47596         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47597         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47599 2012-05-18  Andreas Jaeger  <aj@suse.de>
47601         * csu/.gitignore: Delete.
47603 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47605         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47606         (timex): Use __syscall_slong_t.
47608 2012-05-18  Andreas Jaeger  <aj@suse.de>
47609             Carlos O'Donell  <carlos_odonell@mentor.com>
47611         * manual/install.texi (Configuring and compiling): Update
47612         description about files modified in the source directory.
47613         * INSTALL: Regenerated.
47615 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47617         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47618         value.  Use "or" to set return value to -1.
47619         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47620         negate return value.
47622 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47624         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47625         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47626         failure if the compiler has Graphite support disabled.
47627         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47628         Likewise.
47629         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47630         (CFLAGS-memmove.c): Likewise.
47631         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47632         Likewise.
47634 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47636         * sysdeps/x86_64/x32/_itoa.h: New file.
47638         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47639         getdents system call only if kernel and user dirents have the
47640         same d_ino and d_off.
47642         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47643         LLONG_MAX != LONG_MAX.
47644         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47645         (_fitoa_word): Likewise.
47647         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47648         years.
47649         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47650         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47651         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47653         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47654         include <bits/wordsize.h>.  Check __x86_64__ instead of
47655         __WORDSIZE.
47656         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47657         if __x86_64__ is defined.  Use anonymous union on fpstate.
47659         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47660         anonymous union.
47662 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47664         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47665         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47666         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47667         Refer to _rtld_local_ro instead of _rtld_global_ro.
47668         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47669         Likewise.
47670         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47671         Likewise.
47672         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47673         Likewise.
47674         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47675         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47676         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47678         * sysdeps/powerpc/powerpc32/dl-machine.c
47679         (__elf_machine_runtime_setup) [PROF]: Don't reference
47680         _dl_prof_resolve.
47682 2012-05-18  Andreas Jaeger  <aj@suse.de>
47684         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47685         function only available for GCCs before 3.4 since GCC 3.4
47686         introduced a builtin.
47687         (lrint): Likewise.
47688         (llrintf): Likewise.
47689         (llrint): Likewise.
47690         (fmaxf): Likewise.
47691         (fmax): Likewise.
47692         (fminf): Likewise.
47693         (fmin): Likewise.
47694         (rint): Likewise.
47695         (rintf): Likewise.
47696         (nearbyint): Likewise.
47697         (nearbyintf): Likewise.
47698         (ceil): Likewise.
47699         (ceilf): Likewise.
47700         (floor): Likewise.
47701         (floorf): Likewise.
47703 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47705         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47706         on both fields and cast pointer to __syscall_ulong_t.
47708         * bits/types.h (__fsword_t): New type.
47709         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47710         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47711         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47712         (__FSWORD_T_TYPE): Likewise.
47713         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47714         (__FSWORD_T_TYPE): Likewise.
47715         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47716         (__FSWORD_T_TYPE): Likewise.
47717         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47718         (__FSWORD_T_TYPE): Likewise.
47719         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47720         __SWORD_TYPE with __fsword_t.
47721         (statfs64): Likewise.
47723 2012-05-17  David S. Miller  <davem@davemloft.net>
47725         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47727 2012-05-17  Andreas Jaeger  <aj@suse.de>
47729         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47730         warning.
47732 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47734         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47736 2012-05-17  Andreas Jaeger  <aj@suse.de>
47738         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47739         when it is used.
47741 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47743         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47745 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47747         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47748         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47750 2012-05-17  Andreas Jaeger  <aj@suse.de>
47751             Carlos O'Donell  <carlos_odonell@mentor.com>
47753         [BZ #14059]
47754         * sysdeps/x86_64/multiarch/init-arch.h
47755         (bit_YMM_Usable): Rename to...
47756         (bit_AVX_Usable): ... this.
47757         (bit_FMA4_Usable): New macro.
47758         (bit_XMM_state): New macro.
47759         (bit_YMM_state): New macro.
47760         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47761         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47762         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47763         (CPUID_OSXSAVE): New macro.
47764         (CPUID_AVX): New macro.
47765         (CPUID_FMA4): New macro.
47766         (index_YMM_Usable): Rename to...
47767         (index_AVX_Usable): ... this.
47768         (HAS_AVX): Use HAS_ARCH_FEATURE.
47769         (HAS_FMA4): Likewise.
47770         (HAS_YMM_USABLE): Remove.
47771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47772         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47773         are present.
47774         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47775         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47776         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47777         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47778         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47780 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47782         * math/libm-test.c: Support platforms without multiple rounding modes.
47783         * math/bug-nextafter.c: Support platforms without FP exceptions.
47784         * math/bug-nexttoward.c: Likewise.
47785         * math/test-fenv.c: Likewise.
47786         * math/test-misc.c: Likewise.
47787         * stdlib/bug-getcontext.c: Likewise.
47789 2012-05-17  Andreas Jaeger  <aj@suse.de>
47791         * manual/examples/search.c (critter_cmp): Change signature to
47792         avoid warnings.
47793         * manual/string.texi (Collation Functions): Likewise.
47795 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47797         * bits/types.h: Fold copyright years.
47798         * bits/typesizes.h: Likewise.
47799         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47801         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47802         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47803         * time/time.h: Likewise.
47805 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47807         [BZ #208]
47808         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47809         in instead of returning them.  Return void.
47810         (__libc_mallinfo): Accumulate over all arenas.
47811         (__malloc_stats): Adjust for change in int_mallinfo interface.
47813 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47815         [BZ #10375]
47816         * configure.in (NM): Add AC_CHECK_TOOL for it.
47817         (libc_extra_cflags): New substituted variable.
47818         Check for -fstack-protector being used implicitly.
47819         * configure: Regenerated.
47820         * config.make.in (config-extra-cflags): New variable,
47821         gets @libc_extra_cflags@.
47822         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47824         [BZ #10375]
47825         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47826         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47827         * configure: Regenerated.
47828         * config.make.in (CPPUNDEFS): New substituted variable.
47829         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47830         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47831         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47833 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47835         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47836         (mq_attr): Use __syscall_slong_t.
47838 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47840         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47841         Check __x86_64__ instead of __WORDSIZE.
47842         (_STAT_VER_LINUX): Likewise.
47843         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47844         __syscall_ulong_t and __syscall_slong_t.
47845         (stat64): Likewise.
47847 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47849         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47853         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47857         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47858         __syscall_ulong_t.
47860         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47861         include <bits/wordsize.h>.  Check __x86_64__ instead of
47862         __WORDSIZE.
47863         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47864         defined.
47865         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47867         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47868         include <bits/wordsize.h>.  Check __x86_64__ instead of
47869         __WORDSIZE.
47870         (user_regs_struct): Use "__extension__ unsigned long long"
47871         instead of "unsigned long" if __x86_64__ is defined.
47872         (user): Likewise.  Pad after pointer field if __ILP32__ is
47873         defined.
47875 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47877         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47878         versions 5 to 9.
47879         * configure: Regenerated.
47880         * manual/install.texi (texinfo): Increase version requirement to
47881         4.5 or later.
47882         * INSTALL: Regenerated.
47884         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47886 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47888         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47890         * sysdeps/x86_64/x32/ffs.c: New file.
47892         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47893         __syscall_ulong_t.
47894         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47895         defined.  Use __syscall_ulong_t.
47896         (shminfo): Use __syscall_ulong_t.
47897         (shm_info): Likewise.
47899         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47900         __syscall_ulong_t.
47902         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47903         <bits/wordsize.h>.
47904         (msgqnum_t): Use __syscall_ulong_t.
47905         (msglen_t): Likewise.
47906         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47907         __syscall_ulong_t.
47909         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47910         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47912         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47914         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47915         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47917         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47918         __syscall_slong_t.
47920         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47921         include <bits/wordsize.h>.  Check __x86_64__ instead of
47922         __WORDSIZE.
47924         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47925         "unsigned long long int" if __x86_64__ is defined.
47926         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47928         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47929         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47930         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47932         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47933         <stdint.h>.
47934         (GET_PC): Cast to uintptr_t first.
47935         (GET_FRAME): Likewise.
47936         (GET_STACK): Likewise.
47938         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47939         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47940         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47941         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47942         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47943         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47944         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47945         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47946         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47947         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47948         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47949         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47950         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47951         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47952         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47953         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47954         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47955         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47956         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47957         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47958         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47959         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47960         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47961         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47962         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47963         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47964         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47965         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47966         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47968 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47970         * Makerules (+depfiles): Also collect depfiles from .oS in
47971         $(extra-objs).
47972         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47973         .oS, $(libnldbl-routines)).
47975         * Makerules (native-compile-mkdep-flags): Define.
47976         * sunrpc/Makefile (extra-objs): Add $(addprefix
47977         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47978         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47979         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47980         calling $(make-target-directory).
47982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47984         * bits/types.h (__snseconds_t): Removed.
47985         * time/time.h (struct timespec): Replace __snseconds_t with
47986         __syscall_slong_t.
47987         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47988         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47989         Likewise.
47990         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47991         (__SNSECONDS_T_TYPE): Likewise.
47992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47993         (__SNSECONDS_T_TYPE): Likewise.
47994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47995         (__SNSECONDS_T_TYPE): Likewise.
47997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47999         * sysdeps/mach/hurd/bits/typesizes.h
48000         (__SYSCALL_SLONG_TYPE): New macro.
48001         (__SYSCALL_ULONG_TYPE): Likewise.
48003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48005         * bits/types.h (__syscall_slong_t): New type.
48006         (__syscall_ulong_t): Likewise.
48008         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48009         (__SYSCALL_ULONG_TYPE): Likewise.
48010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48011         (__SYSCALL_SLONG_TYPE): Likewise.
48012         (__SYSCALL_ULONG_TYPE): Likewise.
48013         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48014         (__SYSCALL_SLONG_TYPE): Likewise.
48015         (__SYSCALL_ULONG_TYPE): Likewise.
48016         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48017         (__SYSCALL_SLONG_TYPE): Likewise.
48018         (__SYSCALL_ULONG_TYPE): Likewise.
48020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48022         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48023         Add sigaltstack-offsets.sym.
48024         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48025         <sigaltstack-offsets.h>.
48026         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48027         longjmp_msg pointer.
48028         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48029         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48030         signal stack.
48031         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48033 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48035         * elf/stackguard-macros.h: Remove file.
48036         * sysdeps/generic/stackguard-macros.h: New file.
48037         * sysdeps/i386/stackguard-macros.h: Likewise.
48038         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48039         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48040         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48041         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48042         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48043         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48044         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48045         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48046         <elf/stackguard-macros.h>.
48048         [BZ #14109]
48049         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48050         __aligned__ in attribute.
48051         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48052         (gregset_t): Likewise.
48054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48056         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48057         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48058         * sysdeps/x86_64/x32/Implies-after: New file.
48060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48062         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48063         and access return value for _dl_profile_fixup.  Use R10_LP to
48064         load frame size.
48066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48068         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48072         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48073         * sysdeps/x86_64/x32/sysdep.h: New file.
48075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48077         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48078         * sysdeps/x86_64/setjmp.S: Likewise.
48080 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48082         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48083         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48084         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48085         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48086         remove unused global constant.
48088 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48090         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48091         include of <not-cancel.h>.
48093 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48095         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48097 2012-05-15  Jeff Law  <law@redhat.com>
48098             Andreas Jaeger  <aj@suse.de>
48100         [BZ #13594]
48101         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48102         out from...
48103         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48104         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48105         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48106         code changing __hst_map_handle.map.
48108 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48110         * configure.in (sysnames): Look for Implies-before and Implies-after
48111         files.
48112         * configure: Regenerated.
48114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48116         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48117         8-byte data alignment with LP_SIZE alignment.
48119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48121         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48122         into R10_LP.
48124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48126         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48130         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48131         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48132         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48133         Likewise.
48134         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48138         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48139         (stackinfo_sub_sp): Likewise.
48141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48143         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48144         RAX_LP.
48146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48148         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48149         into R*_LP.
48151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48153         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48154         sizes into R*_LP.
48156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48158         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48162         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48163         into R11_LP and load __x86_64_shared_cache_size_half into
48164         R8_LP.
48166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48168         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48169         R8_LP.
48171 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48174         logb for POWER7.
48175         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48176         logbf for POWER7.
48177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48178         logbl for POWER7.
48179         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48180         powerpc32/power7/fpu/s_logb.c via #include.
48181         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48182         powerpc32/power7/fpu/s_logbf.c via #include.
48183         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48184         powerpc32/power7/fpu/s_logbl.c via #include.
48186 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48188         * README.libm: Remove file.
48190 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48192         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48193         count for x32.  Use R*_LP and omit operand-size suffix.
48195 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48197         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48198         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48199         * sysdeps/x86_64/x32/shlib-versions: New file.
48201 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48203         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48204         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48205         Use _dl_fatal_printf instead.
48207 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48209         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48210         set if not set by the user.  Do not allow for being unset.
48211         * sysdeps/unix/sysv/linux/configure: Regenerated.
48213 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48215         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48216         the `q' suffix from lea and replace .quad with ASM_ADDR.
48218 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48221         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48222         instead of $17.
48223         (PTR_DEMANGLE): Likewise.
48225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48227         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48228         (LP_OP): Likewise.
48229         (ASM_ADDR): Likewise.
48230         (RAX_LP): Likewise.
48231         (RBP_LP): Likewise.
48232         (RBX_LP): Likewise.
48233         (RCX_LP): Likewise.
48234         (RDI_LP): Likewise.
48235         (RSI_LP): Likewise.
48236         (RSP_LP): Likewise.
48237         (R8_LP): Likewise.
48238         (R9_LP): Likewise.
48239         (R10_LP): Likewise.
48240         (R10_LP): Likewise.
48241         (R11_LP): Likewise.
48242         (R12_LP): Likewise.
48243         (R13_LP): Likewise.
48244         (R14_LP): Likewise.
48245         (R15_LP): Likewise.
48247 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48249         * sysdeps/x86_64/x32/dl-machine.h: New file.
48251 2012-05-14  Andreas Jaeger  <aj@suse.de>
48253         * manual/Makefile (subdir): Remove export of subdir.
48254         (all): Remove target.
48255         (.PHONY): Remove all from list.
48256         (mkinstalldirs): Remove.
48257         (.PHONY): Remove installdirs from list.
48258         ($(inst_infodir)/libc.info): Use make-target-directory.
48259         (installdirs): Remove.
48260         (subdir_%): Remove.
48261         (glibc-targets): Remove.
48262         (lib): Remove.
48263         (stubs): Remove.
48264         ($(objpfx)stubs ../po/manual.pot): Remove.
48265         ($(objpfx)stamp%): Remove.
48266         (make-target-directory): Remove.
48267         (subdir_install): Remove.
48268         (routines): Remove.
48269         (aux): Remove.
48270         (sources): Remove.
48271         (objects): Remove.
48272         (headers): Remove.
48274         [BZ #13750]
48275         * manual/.gitignore: Remove, it's not needed anymore.
48276         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48277         all files in it.
48278         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48279         directory.
48280         (texis): Renamed to $(objpfx)texis.
48281         (texis-path): New, contains path to generated files.
48282         (chapters.%): Use texis-path for complete path, add extra argument
48283         libc-texinfo.sh.
48284         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48285         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48286         (summary,texi, stamp-summary): Use complete path of
48287         files. Generate files in build dir.
48288         (dir-add.texi): Build in build dir.
48289         (libm-err.texi,stamp-libm-err): Likewise.
48290         (version.texi, stamp-version): Likewise.
48291         (.%c.texi): Likewise.
48292         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48293         (mostlyclean): Remove target.
48294         (realclean): Remove target.
48295         (generated): Add new variable with contents from mostlyclean and
48296         realclean, remove entries duplicated in common-mostlyclean, add
48297         stamp-libm-err and stamp-version.
48298         (generated-dirs): Add libc directory.
48299         ($(inst_infodir)/libc.info): Install files from build dir.
48301         * manual/install.texi (Configuring and compiling): Adjust since
48302         the info files are not part of the tar ball anymore.
48304 2012-05-14  Andreas Jaeger  <aj@suse.de>
48306         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48307         variable.
48309 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48311         [BZ #13717]
48312         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48313         to 2.2.0 where earlier.
48314         * sysdeps/unix/sysv/linux/configure: Regenerated.
48315         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48316         Remove conditional code.
48317         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48318         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48319         Remove conditional code.
48320         [!__NR_lchown]: Likewise.
48321         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48322         [__NR_lchown]: Likewise.
48323         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48324         comment referencing __ASSUME_LCHOWN_SYSCALL.
48325         * sysdeps/unix/sysv/linux/i386/sigaction.c
48326         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48327         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48328         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48329         Remove conditional code.
48330         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48331         (__protocol_available): Remove #if 0 code.
48332         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48333         conditional code.
48334         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48335         * sysdeps/unix/sysv/linux/kernel-features.h
48336         (__ASSUME_GETCWD_SYSCALL): Don't define.
48337         (__ASSUME_REALTIME_SIGNALS): Likewise.
48338         (__ASSUME_PREAD_SYSCALL): Likewise.
48339         (__ASSUME_PWRITE_SYSCALL): Likewise.
48340         (__ASSUME_POLL_SYSCALL): Likewise.
48341         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48342         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48343         non-SPARC.
48344         (__ASSUME_SIOCGIFNAME): Don't define.
48345         (__ASSUME_MSG_NOSIGNAL): Likewise.
48346         (__ASSUME_SENDFILE): Define unconditionally.
48347         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48348         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48349         conditional code.
48350         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48351         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48352         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48353         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48354         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48355         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48356         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48361         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48362         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48367         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48368         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48370         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48373         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48374         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48376         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48377         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48379         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48380         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48381         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48382         Remove conditional code.
48383         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48384         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48385         Remove conditional code.
48386         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48387         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48388         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48389         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48390         Remove conditional code.
48391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48392         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48393         Remove conditional code.
48394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48395         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48396         Remove conditional code.
48397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48398         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48399         Remove conditional code.
48400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48401         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48402         Remove conditional code.
48403         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48404         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48405         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48407         * sysdeps/unix/sysv/linux/sigaction.c
48408         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48409         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48410         * sysdeps/unix/sysv/linux/sigpending.c
48411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48413         * sysdeps/unix/sysv/linux/sigprocmask.c
48414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48416         * sysdeps/unix/sysv/linux/sigsuspend.c
48417         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48418         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48419         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48420         (__libc_missing_rt_sigs): Remove.
48421         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48422         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48423         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48424         Remove conditional code.
48425         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48426         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48427         return 1.
48428         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48429         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48430         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48431         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48433 2012-05-14  Andreas Jaeger  <aj@suse.de>
48435         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48436         it's not used in glibc.
48437         (__coshm1): Likewise.
48438         (__acosh1p): Likewise.
48439         (__sgn): Likewise.
48441         * manual/string.texi (Copying and Concatenation): Add missing
48442         variable in concat example.
48443         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48447         [BZ #14103]
48448         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48449         __builtin_clzl with __builtin_clzll.
48451 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48453         [BZ #14104]
48454         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48455         libc_freeres_ptr.
48457 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48459         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48460         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48461         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48462         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48464 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48466         * NEWS: Update ia64 info.
48468 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48470         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48471         used as bcopy.
48473 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48475         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48476         * sysdeps/unix/syscalls.list (dup3): Likewise.
48477         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48478         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48480 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48482         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48483         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48485 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48487         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48488         thread pointer.
48489         (TLS_IE): Use mov/add instead of movq/addq to load thread
48490         pointer.
48491         (TLS_GD_PREFIX): New.
48492         (TLS_GD): Use it.
48494 2012-05-11  David S. Miller  <davem@davemloft.net>
48496         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48497         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48498         (_FPU_SETCW): Likewise.
48500 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48502         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48503         is 32-byte aligned.
48505 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48507         [BZ #11837]
48508         * iconvdata/gb18030.c: Update tables.
48509         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48510         characters specially.
48511         (BODY for TO_LOOP): Add encoding of missing ranges.
48513 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48515         [BZ #13673]
48516         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48517         * sysdeps/mach/hurd/dup3.c: Likewise.
48518         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48519         * sysdeps/powerpc/memmove.c:: Likewise.
48521 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48524         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48526 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48528         * elf/elf.h (R_X86_64_RELATIVE64): New.
48529         (R_X86_64_NUM): Updated.
48530         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48531         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48532         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48533         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48534         tst-quad1pie tst-quad2pie
48535         (modules-names): Add tst-quadmod1 tst-quadmod2.
48536         ($(objpfx)tst-quad1): New dependency.
48537         ($(objpfx)tst-quad2): Likewise.
48538         ($(objpfx)tst-quad1pie): Likewise.
48539         ($(objpfx)tst-quad2pie): Likewise.
48540         * sysdeps/x86_64/tst-quad1.c: New file.
48541         * sysdeps/x86_64/tst-quad1pie.c: New file.
48542         * sysdeps/x86_64/tst-quad2.c: Likewise.
48543         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48544         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48545         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48546         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48547         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48551         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48552         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48553         * streams/stropts.h (t_scalar_t): Define type.
48555         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48556         (_PATH_PRESERVE): Set to "/var/lib".
48557         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48559         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48560         instead of int.
48562         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48563         if __dir_mkfile succeeded.
48565         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48566         checking for _hurd_dtablesize.  Unlock it right after having
48567         finished _hurd_dtable allocation.
48569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48571         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48572         * sysdeps/mach/hurd/configure: Regenerated.
48573         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48574         special-casing to...
48575         * sysdeps/gnu/configure.in: ... this new file.
48576         * sysdeps/unix/sysv/linux/configure: Regenerated.
48577         * sysdeps/gnu/configure: New generated file.
48579         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48580         for Linux: use nsec instead of usec, as well as:
48581         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48582         members of type struct timespec.
48583         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48584         New macros.
48585         (struct stat64): Likewise.
48586         (_STATBUF_ST_NSEC): New macro.
48587         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48589         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48590         __strtoul_internal rather than strtoul.
48592 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48594         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48595         and reject them.
48597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48599         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48600         which preserves existing values.
48601         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48603 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48605         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48606         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48607         greater than FD_SETSIZE.
48609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48611         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48612         allocated, call __vm_protect to finish enabling the existing space, and
48613         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48614         allocate the remainder.
48616 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48618         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48619         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48623         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48624         sysdeps/mach/hurd/readlink.c.
48626         * posix/tst-sysconf.c (posix_options): Only use
48627         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48628         _POSIX_SYNCHRONIZED_IO when they are defined
48629         * sysdeps/mach/hurd/bits/posix_opt.h:
48630         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48631         (_XOPEN_REALTIME): Undefine macro.
48632         (_XOPEN_REALTIME_THREADS): Undefine macro.
48633         (_XOPEN_SHM): Undefine macro.
48634         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48635         macro to -1.
48636         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48637         macro to -1.
48638         (_POSIX_ASYNC_IO): Undefine macro.
48639         (_POSIX_PRIORITIZED_IO): Undefine macro.
48640         (_POSIX_SPIN_LOCKS): Define macro to -1.
48642         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48643         SA_NODEFER, SA_RESETHAND.
48644         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48645         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48646         F_DUPFD_CLOEXEC.
48648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48650         * elf/Makefile (pldd-modules): Define unconditionally.
48652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48654         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48658         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48659         Return ENOENT when name is empty.
48660         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48664         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48666         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48670         Fix mlock in all cases except non-readable pages.
48671         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48672         instead of VM_PROT_ALL as parameter to __vm_wire function.
48674         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48675         (__mkdir): When path is `/', just fail with EEXIST.
48676         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48678 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48680         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48681         <sys/uio.h> (for writev).
48682         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48683         and <sys/param.h> (for MIN).
48685 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48687         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48688         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48689         if interrupted.
48691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48693         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48694         Depend on against $(link-rpcuserlibs).
48696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48698         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48699         (__libc_stack_end): Do not use attribute_relro.
48700         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48701         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48702         to libthread-provided value.
48703         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48704         attribute_relro.
48706 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48708         [BZ #3748]
48709         * bits/libc-lock.h (__libc_once_get): New macro.
48710         * sysdeps/mach/bits/libc-lock.h: Likewise.
48711         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48713         instead of using implementation details.
48715         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48716         * libio/freopen.c: Likewise.
48717         * libio/freopen64.c: Likewise.
48718         * misc/syslog.c: Likewise.
48719         * nscd/connections.c: Likewise.
48720         * nscd/netgroupcache.c: Likewise.
48721         * sysdeps/posix/getcwd.c: Likewise.
48723 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48725         * math/w_ilogbf.c: Add #include <limits.h>.
48727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48729         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48730         path instead of returning without unlocking.
48732         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48733         immediate-write ioctls.
48734         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48738         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48739         __builtin_frame_address instead of making assumptions about the
48740         location of the return address relative to DATA.  Force early load of
48741         the return address.
48742         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48743         __builtin_frame_address.
48745         dup3 for GNU Hurd.
48746         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48747         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48748         implement dup3 and do some further code clean-ups.
48749         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48750         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48754         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48756         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48757         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48758         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48759         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48760         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48761         d->port.lock.
48763         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48764         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48765         when handler == SIG_ERR, not when handler != SIG_ERR.
48767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48769         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48770         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48771         definitions.
48773         accept4 for GNU Hurd.
48774         * include/sys/socket.h (__libc_accept4): New prototype.
48775         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48776         to implement __libc_accept4.
48777         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48778         __libc_accept4.
48779         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48781         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48782         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48783         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48784         signal-defines.sym.
48786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48788         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48790 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48792         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48793         assertion on O_CLOEXEC flag.
48794         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48795         * hurd/intern-fd.c: Likewise.
48796         * hurd/port2fd.c: Likewise.
48798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48800         [BZ #3906]
48801         * bits/in.h (IPV6_PKTINFO): Define new macro.
48802         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48804 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48806         [BZ #13954]
48807         [BZ #13955]
48808         [BZ #13956]
48809         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48810         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48811         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48812         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48814         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48815         * math/libm-test.inc (logb_test) : Additional logb tests.
48817 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48818             Andreas Jaeger  <aj@suse.de>
48820         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48821         * configure: Regenerated.
48822         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48823         * config.make.in (link-obsolete-rpc): New substituted variable.
48824         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48825         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48826         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48827         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48828         so that libc.a contains the symbols.
48829         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48830         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48831         * sunrpc/auth_none.c: Likewise.
48832         * sunrpc/auth_unix.c: Likewise.
48833         * sunrpc/authdes_prot.c: Likewise.
48834         * sunrpc/authuxprot.c: Likewise.
48835         * sunrpc/clnt_gen.c: Likewise.
48836         * sunrpc/clnt_perr.c: Likewise.
48837         * sunrpc/clnt_raw.c: Likewise.
48838         * sunrpc/clnt_simp.c: Likewise.
48839         * sunrpc/clnt_tcp.c: Likewise.
48840         * sunrpc/clnt_udp.c: Likewise.
48841         * sunrpc/clnt_unix.c: Likewise.
48842         * sunrpc/des_crypt.c: Likewise.
48843         * sunrpc/des_soft.c: Likewise.
48844         * sunrpc/get_myaddr.c: Likewise.
48845         * sunrpc/key_call.c: Likewise.
48846         * sunrpc/key_prot.c: Likewise.
48847         * sunrpc/netname.c: Likewise.
48848         * sunrpc/pm_getmaps.c: Likewise.
48849         * sunrpc/pm_getport.c: Likewise.
48850         * sunrpc/pmap_clnt.c: Likewise.
48851         * sunrpc/pmap_prot.c: Likewise.
48852         * sunrpc/pmap_prot2.c: Likewise.
48853         * sunrpc/pmap_rmt.c: Likewise.
48854         * sunrpc/publickey.c: Likewise.
48855         * sunrpc/rpc_cmsg.c: Likewise.
48856         * sunrpc/rpc_common.c: Likewise.
48857         * sunrpc/rpc_dtable.c: Likewise.
48858         * sunrpc/rpc_prot.c: Likewise.
48859         * sunrpc/rpc_thread.c: Likewise.
48860         * sunrpc/rtime.c: Likewise.
48861         * sunrpc/svc.c: Likewise.
48862         * sunrpc/svc_auth.c: Likewise.
48863         * sunrpc/svc_raw.c: Likewise.
48864         * sunrpc/svc_run.c: Likewise.
48865         * sunrpc/svc_tcp.c: Likewise.
48866         * sunrpc/svc_udp.c: Likewise.
48867         * sunrpc/svc_unix.c: Likewise.
48868         * sunrpc/svcauth_des.c: Likewise.
48869         * sunrpc/xcrypt.c: Likewise.
48870         * sunrpc/xdr.c: Likewise.
48871         * sunrpc/xdr_array.c: Likewise.
48872         * sunrpc/xdr_float.c: Likewise.
48873         * sunrpc/xdr_intXX_t.c: Likewise.
48874         * sunrpc/xdr_mem.c: Likewise.
48875         * sunrpc/xdr_rec.c: Likewise.
48876         * sunrpc/xdr_ref.c: Likewise.
48877         * sunrpc/xdr_sizeof.c: Likewise.
48878         * sunrpc/xdr_stdio.c: Likewise.
48880 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48883         change.  Update copyright years.
48885 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48887         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48889 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48890             Joseph Myers  <joseph@codesourcery.com>
48891             Paul Pluzhnikov  <ppluzhnikov@google.com>
48893         [BZ #14012]
48894         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48895         requiring rpcgen.
48896         [cross-compiling] (extra-libs): Likewise.
48897         [cross-compiling] (extra-libs-others): Likewise.
48898         [cross-compiling] (librpcsvc-routines): Likewise.
48899         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48900         [cross-compiling] (omit-deps): Likewise.
48901         (sunrpc-CPPFLAGS): New variable.
48902         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48903         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48904         (cross-rpcgen-objs): New variable.
48905         (extra-objs): Append $(cross-rpcgen-objs).
48906         ($(cross-rpcgen-objs)): New rule.
48907         ($(objpfx)cross-rpcgen): Likewise.
48908         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48909         comment.
48910         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48911         ($(objpfx)x%.stmp): Likewise.
48912         * sunrpc/proto.h [IS_IN_build] (_): Define.
48913         [IS_IN_build] (_libc_intl_domainname): Likewise.
48915 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48918         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48919         and R_X86_64_TPOFF64.
48921 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48923         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48924         sysdeps/unix/sysv/syscalls.list.
48925         (stime): Likewise.
48926         (utime): Likewise.
48927         * sysdeps/unix/sysv/syscalls.list: Remove file.
48929 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48931         [BZ #3440]
48932         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48933         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48934         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48935         (__LC_IDENTIFICATION): Make these macros useful in #if
48936         expressions, as required by C99.
48938 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48940         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48941         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48942         after this.
48944 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48946         * stdlib/longlong.h: Updated from GCC.
48948 2012-05-09  Andreas Jaeger  <aj@suse.de>
48950         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48951         default is first entry.
48952         (run_mode): Set type.
48953         (main): Remove informal message about syslog.
48954         (options): Fix typo.
48956         [BZ #14053]
48957         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48958         to asm.
48959         (lrint): Likewise.
48960         (llrintf): Likewise.
48961         (llrint): Likewise.
48962         (rint): Likewise.
48963         (rintf): Likewise.
48964         (nearbyint): Likewise.
48965         (nearbyintf): Likewise.
48967 2012-05-09  Andreas Jaeger  <aj@suse.de>
48968             Pedro Alves  <palves@redhat.com>
48970         * nscd/nscd.c (run_mode): Use enum.
48971         (main): Cleanup coding style issue.
48973 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48974             Andreas Jaeger  <aj@suse.de>
48976         * nscd/nscd.c (go_background): Replaced with...
48977         (run_mode): ... this.
48978         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48979         (options): Add -F --foreground.
48980         (main): Implement it.
48981         (parse_opt): Parse it.
48983 2012-05-09  Andreas Jaeger  <aj@suse.de>
48985         [BZ #14083]
48986         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48987         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48988         -Wconversion warning.
48989         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48990         Likewise.
48992 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48994         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48995         == 0.
48996         (LC_ALL): Use macro-int-constant.
48997         (LC_COLLATE): Likewise.
48998         (LC_CTYPE): Likewise.
48999         (LC_MESSAGES): Likewise.
49000         (LC_MONETARY): Likewise.
49001         (LC_NUMERIC): Likewise.
49002         (LC_TIME): Likewise.
49003         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49004         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49006         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49007         Specify type.
49008         [C99-based standards] (float_t): Expect type.
49009         [C99-based standards] (double_t): Expect type.
49010         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49011         type.
49012         [C99-based standards] (HUGE_VALL): Likewise.
49013         [C99-based standards] (INFINITY): Likewise.
49014         [C99-based standards] (NAN): Likewise.
49015         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49016         [C99-based standards] (FP_NAN): Likewise.
49017         [C99-based standards] (FP_NORMAL): Likewise.
49018         [C99-based standards] (FP_SUBNORMAL): Likewise.
49019         [C99-based standards] (FP_ZERO): Likewise.
49020         [C99-based standards] (FP_FAST_FMA): Use
49021         optional-macro-int-constant.  Specify type.  Require == 1.
49022         [C99-based standards] (FP_FAST_FMAF): Likewise.
49023         [C99-based standards] (FP_FAST_FMAL): Likewise.
49024         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49025         [C99-based standards] (FP_ILOGBNAN): Likewise.
49026         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49027         Specify type.
49028         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49029         [C99-based standards] (math_errhandling): Specify type.
49030         [ISO99 || ISO11] (signgam): Do not allow.
49031         [non-C99-based standards] (copysignf): Do not allow.
49032         [non-C99-based standards] (exp2f): Likewise.
49033         [non-C99-based standards] (log2f): Likewise.
49034         [non-C99-based standards] (modff): Allow.
49035         [non-C99-based standards] (erff): Do not allow.
49036         [non-C99-based standards] (erfcf): Likewise.
49037         [non-C99-based standards] (gammaf): Likewise.
49038         [non-C99-based standards] (hypotf): Likewise.
49039         [non-C99-based standards] (j0f): Likewise.
49040         [non-C99-based standards] (j1f): Likewise.
49041         [non-C99-based standards] (jnf): Likewise.
49042         [non-C99-based standards] (lgammaf): Likewise.
49043         [non-C99-based standards] (tgammaf): Likewise.
49044         [non-C99-based standards] (y0f): Likewise.
49045         [non-C99-based standards] (y1f): Likewise.
49046         [non-C99-based standards] (ynf): Likewise.
49047         [non-C99-based standards] (isnanf): Likewise.
49048         [non-C99-based standards] (acoshf): Likewise.
49049         [non-C99-based standards] (asinhf): Likewise.
49050         [non-C99-based standards] (atanhf): Likewise.
49051         [non-C99-based standards] (cbrtf): Likewise.
49052         [non-C99-based standards] (expm1f): Likewise.
49053         [non-C99-based standards] (ilogbf): Likewise.
49054         [non-C99-based standards] (log1pf): Likewise.
49055         [non-C99-based standards] (logbf): Likewise.
49056         [non-C99-based standards] (nextafterf): Likewise.
49057         [non-C99-based standards] (remainderf): Likewise.
49058         [non-C99-based standards] (rintf): Likewise.
49059         [non-C99-based standards] (scalbf): Likewise.
49060         [non-C99-based standards] (copysignl): Likewise.
49061         [non-C99-based standards] (exp2l): Likewise.
49062         [non-C99-based standards] (log2l): Likewise.
49063         [non-C99-based standards] (modfl): Allow.
49064         [non-C99-based standards] (erfl): Do not allow.
49065         [non-C99-based standards] (erfcl): Likewise.
49066         [non-C99-based standards] (gammal): Likewise.
49067         [non-C99-based standards] (hypotl): Likewise.
49068         [non-C99-based standards] (j0l): Likewise.
49069         [non-C99-based standards] (j1l): Likewise.
49070         [non-C99-based standards] (jnl): Likewise.
49071         [non-C99-based standards] (lgammal): Likewise.
49072         [non-C99-based standards] (tgammal): Likewise.
49073         [non-C99-based standards] (y0l): Likewise.
49074         [non-C99-based standards] (y1l): Likewise.
49075         [non-C99-based standards] (ynl): Likewise.
49076         [non-C99-based standards] (isnanl): Likewise.
49077         [non-C99-based standards] (acoshl): Likewise.
49078         [non-C99-based standards] (asinhl): Likewise.
49079         [non-C99-based standards] (atanhl): Likewise.
49080         [non-C99-based standards] (cbrtl): Likewise.
49081         [non-C99-based standards] (expm1l): Likewise.
49082         [non-C99-based standards] (ilogbl): Likewise.
49083         [non-C99-based standards] (log1pl): Likewise.
49084         [non-C99-based standards] (logbl): Likewise.
49085         [non-C99-based standards] (nextafterl): Likewise.
49086         [non-C99-based standards] (remainderl): Likewise.
49087         [non-C99-based standards] (rintl): Likewise.
49088         [non-C99-based standards] (scalbl): Likewise.
49089         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49090         [non-C99-based standards] (FP_*): Do not allow.
49091         [C99-based standards] (FP_*): Change to
49092         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49093         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49094         allow.
49095         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49096         (SIG_ERR): Likewise.
49097         [X/Open-based standards] (SIG_HOLD): Likewise.
49098         (SIG_IGN): Likewise.
49099         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49100         positive value.
49101         (SIGFPE): Likewise.
49102         (SIGILL): Likewise.
49103         (SIGINT): Likewise.
49104         (SIGSEGV): Likewise.
49105         (SIGTER): Likewise.
49106         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49107         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49108         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49109         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49110         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49111         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49112         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49113         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49114         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49115         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49116         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49117         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49118         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49119         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49120         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49121         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49122         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49123         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49124         [X/Open-based standards] (SIGTRAP): Likewise.
49125         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49126         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49127         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49128         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49129         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49130         allow.
49132 2012-05-08  Ian Wienand  <ianw@vmware.com>
49134         [BZ #14080]
49135         * time/tzset.c (__tzset_parse_tz): Update default rules for
49136         daylight time changes in the Energy Policy Act of 2005.
49138 2012-05-09  Andreas Jaeger  <aj@suse.de>
49140         [BZ #13983]
49141         * elf/ldconfig.c (parse_conf): Change string to make clear that
49142         ldconfig only issued a warning if ld.so.conf does not exist.
49144 2012-05-08  David S. Miller  <davem@davemloft.net>
49146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49147         movxtod instead of popping the value on the stack.
49149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49151 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49153         * config.h.in: Add HAVE_ARM_PCS_VFP.
49155 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49157         [BZ #13979]
49158         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49159         checking but the checks are disabled for any reason.
49161 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49163         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49164         and ELF64_R_TYPE with ELFW(R_TYPE).
49166 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49168         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49169         (ulimit): Likewise.
49171         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49172         (settimeofday): Likewise.
49174 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49176         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49177         a struct th_u2 inside the union, and move tu_block/tu_code into
49178         a new th_u3 union of tu_block/tu_code inside of that.  Move
49179         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49180         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49181         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49182         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49183         (th_stuff): Change to th_u1.tu_stuff.
49184         (th_data): Define.
49185         (th_msg): Change to th_u1.th_u2.tu_data.
49187 2012-05-07  David S. Miller  <davem@davemloft.net>
49189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49191         [BZ #14074]
49192         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49193         (SETUP_PIC_REG): Use it.
49194         (SETUP_PIC_REG_LEAF): Use it.
49196 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49198         [BZ #13885]
49199         [BZ #13923]
49200         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49201         USE_AS_EXPM1L.
49202         (EXPL_FINITE): Likewise.
49203         (FLDLOG): Likewise.
49204         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49205         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49206         e_expl.S.
49207         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49208         USE_AS_EXPM1L.
49209         (EXPL_FINITE): Likewise.
49210         (FLDLOG): Likewise.
49211         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49212         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49213         e_expl.S.
49214         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49215         test of -max_value argument for long double.
49216         * sysdeps/i386/fpu/libm-test-ulps: Update.
49217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49219 2012-05-06  David S. Miller  <davem@davemloft.net>
49221         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49222         quad soft-float symbols whose references which are compiler
49223         generated.
49224         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49226 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49228         [BZ #13884]
49229         [BZ #13914]
49230         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49231         USE_AS_EXP10L.
49232         (EXPL_FINITE): Likewise.
49233         (FLDLOG): Likewise.
49234         (c0): Likewise.
49235         (c1): Likewise.
49236         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49237         Adjust comments for base varying.
49238         (__expl_finite): Change alias to EXPL_FINITE.
49239         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49240         e_expl.S.
49241         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49242         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49244         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49245         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49246         USE_AS_EXP10L.
49247         (EXPL_FINITE): Likewise.
49248         (FLDLOG): Likewise.
49249         (c0): Likewise.
49250         (c1): Likewise.
49251         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49252         Adjust comments for base varying.
49253         (__expl_finite): Change alias to EXPL_FINITE.
49254         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49255         tests for bugs.
49256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49258         [BZ #14064]
49259         * math/libm-test.inc (check_float_internal): Correct ulp
49260         calculation for subnormal expected results.
49262 2012-05-06  Andreas Jaeger  <aj@suse.de>
49264         * Makeconfig (+math-flags): New, set to -frounding-math.
49265         (+cflags): Add +math-flags so that all of glibc gets compiled with
49266         it.
49268         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49270 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49272         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49273         Disable one test.
49275         [BZ #13787]
49276         [BZ #13922]
49277         [BZ #14036]
49278         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49279         (__ieee754_expl): Allow for and saturate large arguments.
49280         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49281         (u_threshold): Likewise.
49282         (__exp): Call __ieee754_exp before checking for overflow and
49283         underflow.
49284         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49285         (u_threshold): Likewise.
49286         (__expf): Call __ieee754_expf before checking for overflow and
49287         underflow.
49288         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49289         (u_threshold): Likewise.
49290         (__expl): Call __ieee754_expl before checking for overflow and
49291         underflow.
49292         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49293         (__ieee754_expl): Allow for and saturate large arguments.
49294         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49295         missing overflow exception on overflow.
49296         (expm1_test): Do not allow missing overflow exception on overflow.
49298         * sysdeps/i386/fpu/e_expl.c: Move to ...
49299         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49300         rather than using inline asm.
49301         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49302         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49303         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49305         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49306         (nice): Likewise.
49307         (poll): Likewise.
49308         (signal): Likewise.
49309         (time): Likewise.
49310         (times): Likewise.
49312 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49314         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49315         sysdeps/unix/common/syscalls.list.
49316         (fchmod): Likewise.
49317         (fchown): Likewise.
49318         (ftruncate): Likewise.
49319         (getrusage): Likewise.
49320         (gettimeofday): Likewise.
49321         (setpgid): Likewise.
49322         (setregid): Likewise.
49323         (setreuid): Likewise.
49324         (sigaction): Likewise.
49325         (truncate): Likewise.
49326         (vhangup): Likewise.
49327         * sysdeps/unix/common/syscalls.list: Remove file.
49328         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49329         * sysdeps/unix/sysv/linux/Implies: Likewise.
49331 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49333         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49335         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49336         Moved to ...
49337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49338         Here.
49339         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49340         to ...
49341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49342         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49343         to ...
49344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49345         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49346         to ...
49347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49348         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49349         to ...
49350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49351         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49352         to ...
49353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49354         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49355         to ...
49356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49357         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49358         to ...
49359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49360         Here.
49361         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49362         to ...
49363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49364         Here.
49365         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49366         to ...
49367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49368         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49369         Moved to ...
49370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49371         Here.
49372         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49373         to ...
49374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49376 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49378         * sysdeps/unix/common/bits/dirent.h: Remove file.
49379         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49381         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49382         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49383         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49384         * sysdeps/unix/bsd/isatty.c: Likewise.
49385         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49386         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49387         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49389 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49391         [BZ #13563]
49392         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49393         long double comparison inaccuracies.
49394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49397 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49399         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49400         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49402 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49404         [BZ #14049]
49405         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49406         nonzero digits before rounding a hex value.
49407         * stdlib/tst-strtod.c (tests): Add another test.
49409 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49411         * sysdeps/s390/fpu/libm-test-ulps: Update.
49413 2012-05-03  Andreas Jaeger  <aj@suse.de>
49415         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49416         does not get optimized out.
49417         (malloc_opt_barrier): New.
49419 2012-05-03  Andreas Jaeger  <aj@suse.de>
49420             Roland McGrath  <roland@hack.frob.com>
49422         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49423         intermediate file deletion.
49424         (generated): Add .symlist files.
49426 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49428         [BZ #13775]
49429         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49430         Redirect under this condition.
49431         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49432         [__USE_GNU] (__dprintf_chk): Not under this condition.
49433         [__USE_GNU] (__vdprintf_chk): Likewise.
49434         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49435         under this condition.
49436         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49437         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49438         [__USE_XOPEN2K8] (vdprintf): Likewise.
49439         [__USE_GNU] (__dprintf_chk): Not under this condition.
49440         [__USE_GNU] (__vdprintf_chk): Likewise.
49441         [__USE_GNU] (dprintf): Likewise.
49442         [__USE_GNU] (vdprintf): Likewise.
49444 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49446         * elf/Makefile (common-generated): Set this instead of generated for
49447         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49448         $(all-built-dso)-derived lists.
49450 2012-05-03  Andreas Jaeger  <aj@suse.de>
49452         * sysdeps/i386/fpu/libm-test-ulps: Update.
49454         * FAQ: Removed.
49455         * FAQ.in: Likewise.
49456         * scripts/gen-FAQ.pl: Likewise.
49457         * manual/install.texi (Installation): Point to online location of
49458         FAQ.
49459         * Makefile (files-for-dist): Remove FAQ.
49460         (FAQ): Remove.
49462 2012-05-02  Allan McRae  <allan@archlinux.org>
49464         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49465         (LDFLAGS-reldepmod5.so): Likewise.
49466         (LDFLAGS-reldep6mod1.so): Likewise.
49467         (LDFLAGS-reldep6mod4.so): Likewise.
49468         (LDFLAGS-reldep8mod3.so): Likewise.
49469         (LDFLAGS-unload4mod1.so): Likewise.
49470         (LDFLAGS-unload4mod2.so): Likewise.
49471         (LDFLAGS-tst-initorder): Likewise.
49472         (LDFLAGS-tst-initordera2.so): Likewise.
49473         (LDFLAGS-tst-initordera3.so): Likewise.
49474         (LDFLAGS-tst-initordera4.so): Likewise.
49475         (LDFLAGS-tst-initorderb2.so): Likewise.
49476         (LDFLAGS-noload): Likewise.
49477         (LDFLAGS-next): Likewise.
49478         (LDFLAGS-order2mod1.so): Likewise.
49479         (LDFLAGS-order2mod2.so): Likewise.
49480         (LDFLAGS-tst-initorder2): Likewise.
49481         (LDFLAGS-tst-initorder2a.so): Likewise.
49482         (LDFLAGS-tst-initorder2b.so): Likewise.
49483         (LDFLAGS-tst-initorder2c.so): Likewise.
49484         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49486 2012-05-02  David S. Miller  <davem@davemloft.net>
49488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49490 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49492         [BZ #14055]
49493         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49495 2012-05-02  Andreas Jaeger  <aj@suse.de>
49497         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49498         since we manipulate rounding mode.
49499         (CPPFLAGS-test-idouble.c): Likewise.
49500         (CPPFLAGS-test-ifloat.c): Likewise.
49501         (CFLAGS-test-ldouble.c): Likewise.
49502         (CFLAGS-test-double.c): Likewise.
49503         (CFLAGS-test-float.c): Likewise.
49504         (CFLAGS-test-misc.c): Likewise.
49505         (CFLAGS-test-test-fenv.c): Likewise.
49507 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49509         [BZ #2550]
49510         [BZ #2570]
49511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49512         comparisons to determine direction to adjust input.
49514 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49516         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49517         output to the target.
49519         * scripts/localplt.awk: New file.
49520         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49521         (check-localplt-CFLAGS): Variable removed.
49522         ($(all-built-dso:=.jmprel)): New static pattern rule.
49523         (generated): Add those targets.
49524         (localplt-built-dso): New variable.
49525         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49527         * elf/check-localplt.c: File removed.
49529         * scripts/check-execstack.awk: New file.
49530         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49531         (check-execstack-CFLAGS): Variable removed.
49532         ($(objpfx)check-execstack.h): Target removed.
49533         ($(objpfx)execstack-default): New target.
49534         (generated): Add that instead of check-execstack.h.
49535         ($(all-built-dso:=.phdr)): New static pattern rule.
49536         (generated): Add those targets.
49537         * elf/check-execstack.c: File removed.
49539         * scripts/check-textrel.awk: New file.
49540         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49541         (check-textrel-CFLAGS): Variable removed.
49542         (all-built-dso): Use := to define.o
49543         ($(all-built-dso:=.dyn)): New static pattern rule.
49544         (generated): Add those targets.
49545         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49546         * config.make.in (READELF): New substituted variable.
49547         * elf/check-textrel.c: File removed.
49549 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49551         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49552         allow.
49553         * conform/data/ctype.h-data [C99-based standards] (isblank):
49554         Expect function.
49555         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49556         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49558         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49559         Specify type.  Require positive value.
49560         (EILSEQ): Likewise.
49561         (ERANGE): Likewise.
49562         [ISO || POSIX] (EILSEQ): Do not expect.
49563         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49564         Specify type.  Require positive value.
49565         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49566         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49567         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49568         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49569         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49570         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49571         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49572         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49573         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49574         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49575         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49576         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49577         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49578         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49579         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49580         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49581         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49582         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49583         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49584         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49585         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49586         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49587         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49588         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49589         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49590         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49591         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49592         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49593         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49594         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49595         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49596         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49597         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49598         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49599         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49600         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49601         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49602         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49603         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49604         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49605         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49606         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49607         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49608         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49609         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49610         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49611         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49612         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49613         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49614         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49615         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49616         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49617         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49618         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49619         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49620         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49621         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49622         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49623         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49624         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49625         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49626         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49627         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49628         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49629         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49630         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49631         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49632         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49633         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49634         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49635         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49636         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49637         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49638         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49639         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49640         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49641         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49642         Require >= 2.
49643         (FLT_ROUNDS): Expect as macro, not constant.
49644         (FLT_MANT_DIG): Use macro-int-constant.
49645         (DBL_MANT_DIG): Likewise.
49646         (LDBL_MANT_DIG): Likewise.
49647         (FLT_DIG): Likewise.
49648         (DBL_DIG): Likewise.
49649         (LDBL_DIG): Likewise.
49650         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49651         (DBL_MIN_EXP): Likewise.
49652         (LDBL_MIN_EXP): Likewise.
49653         (FLT_MAX_EXP): Use macro-int-constant.
49654         (DBL_MAX_EXP): Likewise.
49655         (LDBL_MAX_EXP): Likewise.
49656         (FLT_MAX_10_EXP): Likewise.
49657         (DBL_MAX_10_EXP): Likewise.
49658         (LDBL_MAX_10_EXP): Likewise.
49659         (FLT_MAX): Use macro-constant.
49660         (DBL_MAX): Likewise.
49661         (LDBL_MAX): Likewise.
49662         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49663         (DBL_EPSILON): Likewise.
49664         (LDBL_EPSILON): Likewise.
49665         (FLT_MIN): Likewise.
49666         (DBL_MIN): Likewise.
49667         (LDBL_MIN): Likewise.
49668         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49669         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49670         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49671         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49672         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49673         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49674         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49675         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49676         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49677         [ISO11] (FLT_TRUE_MIN): Likewise.
49678         [ISO11] (LDBL_TRUE_MIN): Likewise.
49679         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49680         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49681         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49682         (SCHAR_MAX): Likewise.
49683         (UCHAR_MAX): Likewise.
49684         (CHAR_MIN): Likewise.
49685         (CHAR_MAX): Likewise.
49686         (MB_LEN_MAX): Use macro-int-constant.
49687         (SHRT_MIN): Use macro-int-constant.  Specify type.
49688         (SHRT_MAX): Likewise.
49689         (USHRT_MAX): Likewise.
49690         (INT_MAX): Likewise.
49691         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49692         bound negative.
49693         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49694         bound with "U".
49695         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49696         bound with "L".
49697         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49698         bound negative.  Suffix upper bound with "L".
49699         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49700         bound with "UL".
49701         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49702         Specify type.
49703         [C99-based standards] (LLONG_MAX): Likewise.
49704         [C99-based standards] (ULLONG_MAX): Likewise.
49705         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49706         == 0.
49707         [ISO11] (max_align_t): Require type.
49708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49710         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49711         from $CFLAGS, without defining away __attribute__ calls.
49712         (checknamespace): Use $CFLAGS_namespace.
49714         * conform/conformtest.pl (@keywords): Only include C99 keywords
49715         for standards based on C99 or C11.
49717         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49718         Disable tests.
49719         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49720         UNIX98]: Likewise.
49722         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49723         usability of symbols in #if.
49725         * conform/conformtest.pl: If macro or constant types start
49726         "promoted:", expect the symbol to be of the following type
49727         promoted by the integer promotions.
49729         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49730         in one place.  Also handle "macro-constant".
49732         * conform/conformtest.pl: Only accept expected macro values with
49733         "==".  Parse all "macro" lines in one place.
49734         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49736         * conform/conformtest.pl: Handle braced types on "constant" lines
49737         instead of handling "typed-constant".
49738         * conform/data/signal.h-data: Use "constant" instead of
49739         "typed-constant".
49741         * conform/conformtest.pl: Handle "optional-" at start of lines in
49742         one place rather than duplicating several cases.  Handle each
49743         format of "macro" line with initial "optional-".
49745         * conform/conformtest.pl: Only accept expected constant or
49746         optional-constant values with "==".  Parse all "constant" lines in
49747         one place.  Parse all "optional-constant" lines in one place.
49748         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49749         * conform/data/fmtmsg.h-data: Likewise.
49750         * conform/data/netinet/in.h-data: Likewise.
49751         * conform/data/tar.h-data: Likewise.
49752         * conform/data/limits.h-data: Use "==" form on "constant" and
49753         "optional-constant" lines.
49755         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49756         Use -std=c99 for XOPEN2K.
49757         (@knownproblems): Remove.
49758         (newtoken): Don't check %isknown.
49760         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49761         Do not expect macro.
49762         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49763         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49764         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49765         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49766         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49767         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49768         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49769         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49770         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49771         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49772         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49773         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49774         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49775         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49776         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49777         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49778         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49779         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49780         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49781         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49782         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49783         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49784         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49785         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49786         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49787         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49788         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49789         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49790         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49791         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49792         [XPG3] (acosh): Likewise.
49793         [XPG3] (asinh): Likewise.
49794         [XPG3] (atanh): Likewise.
49795         [XPG3] (cbrt): Likewise.
49796         [XPG3] (expm1): Likewise.
49797         [XPG3] (ilogb): Likewise.
49798         [XPG3] (log1p): Likewise.
49799         [XPG3] (logb): Likewise.
49800         [XPG3] (nextafter): Likewise.
49801         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49802         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49803         [XPG3] (remainder): Likewise.
49804         [XPG3] (rint): Likewise.
49805         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49806         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49807         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49808         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49809         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49810         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49811         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49812         [UNIX98 || XOPEN2K] (scalb): Expect.
49813         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49814         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49815         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49816         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49817         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49818         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49819         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49820         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49821         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49822         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49823         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49824         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49825         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49826         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49827         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49828         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49829         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49830         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49831         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49832         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49833         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49834         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49835         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49836         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49837         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49838         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49839         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49840         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49841         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49842         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49843         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49844         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49845         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49846         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49847         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49848         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49849         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49850         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49851         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49852         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49853         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49854         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49855         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49856         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49857         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49858         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49859         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49860         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49861         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49862         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49863         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49864         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49865         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49866         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49867         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49868         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49869         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49870         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49871         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49872         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49873         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49874         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49875         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49876         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49877         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49878         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49879         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49880         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49881         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49882         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49883         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49884         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49885         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49886         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49887         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49888         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49889         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49890         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49891         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49892         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49893         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49894         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49895         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49896         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49897         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49898         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49899         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49900         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49901         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49902         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49903         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49904         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49905         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49906         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49907         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49908         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49909         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49910         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49911         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49912         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49913         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49914         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49915         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49916         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49917         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49918         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49919         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49920         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49921         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49922         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49923         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49924         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49925         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49926         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49927         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49928         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49929         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49930         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49931         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49932         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49933         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49934         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49935         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49936         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49937         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49938         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49939         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49940         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49941         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49942         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49943         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49944         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49945         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49946         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49947         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49948         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49949         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49951         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49952         _XOPEN_SOURCE_EXTENDED for XPG4.
49954         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49956         * Makeconfig (localtime): Remove variable.
49957         (inst_localtime-file): Likewise.
49959 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49962         Update.
49963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49964         Update.
49965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49966         Update.
49967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49968         Update.
49969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49970         Update.
49971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49972         Update.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49974         Update.
49975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49976         Update.
49977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49978         Update.
49980 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49982         [BZ #2550]
49983         [BZ #2570]
49984         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49985         comparisons to determine direction to adjust input.
49986         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49987         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49988         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49989         Likewise.
49990         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49991         Likewise.
49992         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49993         Likewise.
49994         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49995         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49996         Likewise.
49997         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49998         Likewise.
49999         * math/libm-test.inc (nexttoward_test): Add more tests.
50001 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50003         [BZ #14040]
50004         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50005         in version GLIBC_2.1, not GLIBC_2.0.
50006         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50007         Likewise.
50009 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50011         [BZ #13942]
50012         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50013         (1 - x) * (1 + x).
50014         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50015         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50016         * math/libm-test.inc (acos_test): Add more tests.
50017         (asin_test): Likewise.
50018         * sysdeps/i386/fpu/libm-test-ulps: Update.
50019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50021         [BZ #14034]
50022         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50023         of square root.
50024         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50025         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50026         * math/libm-test.inc (acos_test_tonearest): New function.
50027         (acos_test_towardzero): Likewise.
50028         (acos_test_downward): Likewise.
50029         (acos_test_upward): Likewise.
50030         (asin_test_tonearest): Likewise.
50031         (asin_test_towardzero): Likewise.
50032         (asin_test_downward): Likewise.
50033         (asin_test_upward): Likewise.
50034         (main): Call the new functions.
50035         * sysdeps/i386/fpu/libm-test-ulps: Update.
50036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50038         [BZ #13884]
50039         [BZ #13924]
50040         * math/e_exp10.c: Include <float.h>.
50041         (__ieee754_exp10): Handle underflow here rather than multiplying
50042         large negative argument by M_LN10.
50043         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50044         of __ieee754_expf.
50045         * math/e_exp10l.c: Include <float.h>.
50046         (__ieee754_exp10l): Handle underflow here rather than multiplying
50047         large negative argument by M_LN10l.
50048         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50049         spurious overflow exception on underflow.
50051 2012-04-29  Marek Polacek  <polacek@redhat.com>
50053         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50054         (__fortify_function): New macro.
50055         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50056         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50057         __extern_always_inline.
50058         * libio/bits/stdio2.h: Likewise.
50059         * libio/bits/stdio.h: Likewise.
50060         * string/string.h: Likewise.
50061         * string/bits/string3.h: Likewise.
50062         * include/stdio.h: Likewise.
50063         * stdlib/bits/stdlib.h: Likewise.
50064         * stdlib/stdlib.h: Likewise.
50065         * rt/bits/mqueue2.h: Likewise.
50066         * rt/mqueue.h: Likewise.
50067         * posix/bits/unistd.h: Likewise.
50068         * posix/unistd.h: Likewise.
50069         * io/bits/poll2.h: Likewise.
50070         * io/bits/fcntl2.h: Likewise.
50071         * io/fcntl.h: Likewise.
50072         * io/sys/poll.h: Likewise.
50073         * misc/bits/syslog.h: Likewise.
50074         * misc/bits/syslog-ldbl.h: Likewise.
50075         * misc/sys/syslog.h: Likewise.
50076         * socket/bits/socket2.h: Likewise.
50077         * socket/sys/socket.h: Likewise.
50078         * debug/tst-chk1.c: Likewise.
50079         * wcsmbs/bits/wchar2.h: Likewise.
50080         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50081         * wcsmbs/wchar.h: Likewise.
50083 2012-04-29  Andreas Jaeger  <aj@suse.de>
50085         * Makerules (tests): Remove enable-check-abi protection.
50086         (check-abi-warn): Remove.
50087         (check-abi-%): Remove check-abi-warn usage.
50089         * configure.in: Remove check-abi configure option.
50090         * configure: Regenerated.
50091         * config.make.in (enable-check-abi): Remove.
50093 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50095         [BZ #14033]
50096         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50097         double functions to double *_finite functions.
50099         [BZ #13941]
50100         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50101         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50102         LDBL_MIN_EXP.
50103         * stdio-common/Makefile (tests): Add tst-sprintf3.
50104         * stdio-common/tst-sprintf3.c: New file.
50106         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50107         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50109 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50111         * conform/conformtest.pl: Remove duplicate typed-constant
50112         handling.
50114 2012-04-28  David S. Miller  <davem@davemloft.net>
50116         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50117         (check-abi-%): Remove AWK script prerequisite and explicit
50118         abilist directory.
50119         (check-abi): Rewrite to just diff the symlist with the abilist.
50120         (config-tls, config-abi-config): Delete, no longer used.
50121         (update-abi-%): Remove AWK script and explicit abilist directory.
50122         (update-abi): Rewrite to simply compare and conditionally copy the
50123         symlist and the sysdep abilist file.  Remove update-abi-config
50124         checks.
50125         * abilist/ld.abilist: Remove.
50126         * abilist/libBrokenLocale.abilist: Remove.
50127         * abilist/libanl.abilist: Remove.
50128         * abilist/libcrypt.abilist: Remove.
50129         * abilist/libdl.abilist: Remove.
50130         * abilist/librt.abilist: Remove.
50131         * abilist/libthread_db.abilist: Remove.
50132         * abilist/libutil.abilist: Remove.
50133         * scripts/extract-abilist.awk: Remove.
50134         * scripts/merge-abilist.awk: Remove.
50135         * sysdeps/generic/libcidn.abilist: New file.
50136         * sysdeps/generic/libnss_compat.abilist: New file.
50137         * sysdeps/generic/libnss_db.abilist: New file.
50138         * sysdeps/generic/libnss_dns.abilist: New file.
50139         * sysdeps/generic/libnss_files.abilist: New file.
50140         * sysdeps/generic/libnss_hesiod.abilist: New file.
50141         * sysdeps/generic/libnss_nis.abilist: New file.
50142         * sysdeps/generic/libnss_nisplus.abilist: New file.
50143         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50144         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50145         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50146         file.
50147         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50148         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50149         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50150         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50151         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50152         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50153         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50154         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50155         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50156         file.
50157         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50158         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50159         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50160         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50161         file.
50162         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50163         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50164         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50165         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50166         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50167         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50168         file.
50169         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50170         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50171         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50172         file.
50173         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50175         New file.
50176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50177         New file.
50178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50179         New file.
50180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50181         New file.
50182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50183         New file.
50184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50185         New file.
50186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50187         New file.
50188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50189         New file.
50190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50191         New file.
50192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50193         New file.
50194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50195         New file.
50196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50197         New file.
50198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50199         New file.
50200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50201         file.
50202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50203         New file.
50204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50205         New file.
50206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50207         file.
50208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50209         New file.
50210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50211         New file.
50212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50213         file.
50214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50215         New file.
50216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50217         New file.
50218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50219         New file.
50220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50221         New file.
50222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50223         New file.
50224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50225         New file.
50226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50228         file.
50229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50230         New file.
50231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50232         file.
50233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50234         file.
50235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50236         file.
50237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50238         file.
50239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50240         file.
50241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50242         New file.
50243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50244         file.
50245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50246         file.
50247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50248         New file.
50249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50250         file.
50251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50253         file.
50254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50255         New file.
50256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50257         file.
50258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50259         file.
50260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50261         file.
50262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50263         file.
50264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50265         file.
50266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50267         New file.
50268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50269         file.
50270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50271         file.
50272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50273         New file.
50274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50275         file.
50276         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50277         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50278         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50279         file.
50280         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50281         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50282         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50283         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50284         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50285         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50286         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50287         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50288         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50289         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50292         file.
50293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50294         New file.
50295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50296         file.
50297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50298         file.
50299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50300         file.
50301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50302         file.
50303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50304         file.
50305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50306         New file.
50307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50308         New file.
50309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50310         file.
50311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50312         New file.
50313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50314         file.
50315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50317         file.
50318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50319         New file.
50320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50321         file.
50322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50323         file.
50324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50325         file.
50326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50327         file.
50328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50329         file.
50330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50331         New file.
50332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50333         New file.
50334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50335         file.
50336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50337         New file.
50338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50339         file.
50341 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50343         * conform/conformtest.pl: Fix typo in handling typed-constant from
50344         allow-header.
50346 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50348         * README: Cut down references to pre-2.6 Linux kernels and
50349         Linuxthreads.  Update lists of configurations in libc and ports
50350         and sort alphabetically.  Say "or newer" with Linux kernel version
50351         requirements.
50353         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50355 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50357         [BZ #887]
50358         * math/libm-test.inc (logb_test_downward): New test to expose
50359         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50360         rounding mode.
50362 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50364         [BZ #14027]
50365         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50366         to be done.
50367         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50368         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50370 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50372         * sysdeps/unix/i386/brk.S: Remove file.
50373         * sysdeps/unix/i386/dl-brk.S: Likewise.
50374         * sysdeps/unix/i386/pipe.S: Likewise.
50375         * sysdeps/unix/i386/sigreturn.S: Likewise.
50376         * sysdeps/unix/i386/syscall.S: Likewise.
50377         * sysdeps/unix/i386/vfork.S: Likewise.
50378         * sysdeps/unix/i386/wait.S: Likewise.
50380         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50381         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50383         * configure.in (arm*-none*): Do not allow without
50384         --enable-hacker-mode.
50385         (netbsd*): Remove case setting base_os.
50386         (386bsd*): Likewise.
50387         (freebsd*): Likewise.
50388         (bsdi*): Likewise.
50389         (osf*): Likewise.
50390         (sunos*): Likewise.
50391         (ultrix*): Likewise.
50392         (newsos*): Likewise.
50393         (dynix*): Likewise.
50394         (*bsd*): Likewise.
50395         (sysv*): Likewise.
50396         (isc*): Likewise.
50397         (esix*): Likewise.
50398         (sco*): Likewise.
50399         (minix*): Likewise.
50400         (irix4*): Likewise.
50401         (irix6*): Likewise.
50402         (solaris[2-9]*): Likewise.
50403         (none): Likewise.
50404         * configure: Regenerated.
50406 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50408         [BZ #11521]
50409         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50410         overflow or cancellation in calculating denominator.
50411         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50412         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50413         down expression to avoid unexpected rounding in newer GCCs.
50414         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50416 2012-04-26  David S. Miller  <davem@davemloft.net>
50418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50419         long-double compat symbols.
50420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50434 2012-04-25  David S. Miller  <davem@davemloft.net>
50436         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50437         HWCAP_* values only after the memory barriers have been defined.
50438         (atomic_full_barrier): Define.
50439         (atomic_read_barrier): Define.
50440         (atomic_write_barrier): Define.
50442 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50444         * shlib-versions: Add libgcc_s version information.
50445         * sysdeps/generic/libgcc_s.h: Remove.
50446         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50447         libgcc_s.h.
50448         * sysdeps/gnu/unwind-resume.c: Likewise.
50449         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50451 2012-04-25  David S. Miller  <davem@davemloft.net>
50453         * sysdeps/unix/sparc/brk.S: Delete.
50454         * sysdeps/unix/sparc/dl-brk.S: Delete.
50455         * sysdeps/unix/sparc/pipe.S: Delete.
50456         * sysdeps/unix/sparc/sysdep.S: Delete.
50457         * sysdeps/unix/sparc/sysdep.h: Delete.
50458         * sysdeps/unix/sparc/vfork.S: Delete.
50459         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50460         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50461         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50462         (ret_ERRVAL, r0, r1, MOVE): Define.
50463         (JUMPTARGET): Remove.
50464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50465         sysdeps/unix/sparc/sysdep.h
50466         (ENTRY, END): Remove.
50467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50469 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50471         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50472         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50473         -DIS_IN_build.
50475         * timezone/README: Update upstream location and email address for
50476         tzcode and tzdata.
50477         * timezone/zdump.c: Update from tzcode 2012b.
50478         * timezone/zic.c: Likewise.
50480         * configure.in (libc_cv_as_needed): Remove test.
50481         * configure: Regenerated.
50482         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50483         conditional definition.
50484         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50485         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50486         * config.make.in (have-as-needed): Remove variable.
50488 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50489             Paul Pluzhnikov  <ppluzhnikov@google.com>
50491         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50492         strings correctly.
50494 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50496         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50497         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50498         * sysdeps/sh/strlen.S: Likewise.
50500 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50502         * sysdeps/unix/fork.S: Remove file.
50503         * sysdeps/unix/i386/fork.S: Likewise.
50504         * sysdeps/unix/sparc/fork.S: Likewise.
50506         * sysdeps/unix/system.c: Remove file.
50507         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50509         * sysdeps/unix/getegid.S: Remove file.
50510         * sysdeps/unix/geteuid.S: Likewise.
50512 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50514         * scripts/check-localplt.awk: New file.
50515         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50516         of diff.
50517         * scripts/data/localplt-generic.data: Add a comment.
50519         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50520         NODE when __dir_mkfile failed.
50521         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50522         Reported by Ludovic Courtès <ludo@gnu.org>.
50524 2012-04-24  Andreas Jaeger  <aj@suse.de>
50526         * Makerules (common-clean): Also remove gen-as-const-headers
50527         files.
50529 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50531         * Makerules (native-compile): Do not change working directory for
50532         build.  Use $(OUTPUT_OPTION) in command.
50533         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50535 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50537         [BZ #13886]
50538         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50539         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50540         * math/libm-test.inc (floor_test): Add more tests.
50541         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50543 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50545         * sysdeps/unix/getdents.c: Remove file.
50546         * sysdeps/unix/sysv/getdents.c: Likewise.
50547         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50549         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50550         sysdeps/unix/mman/syscalls.list.
50551         (mmap): Likewise.
50552         (mprotect): Likewise.
50553         (msync): Likewise.
50554         (munmap): Likewise.
50555         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50556         * sysdeps/unix/mman/syscalls.list: Remove.
50557         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50559         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50560         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50561         * configure: Regenerated.
50562         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50563         $(libgcc_s_suffix).
50564         * config.make.in (libgcc_s_suffix): Remove variable.
50566 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50568         * sysdeps/unix/sysv/gethostname.c: Move to ...
50569         * sysdeps/posix/gethostname.c: ... here.
50571         * sysdeps/unix/execve.S: Remove file.
50573         * sysdeps/unix/_exit.S: Remove file.
50575 2012-04-23  Andreas Jaeger  <aj@suse.de>
50577         [BZ #13739]
50578         * manual/Makefile: Remove make dist support, there's no
50579         need for a stand-alone documentation tar ball.
50580         (TEXI2DVI): Define always, it's not in Makeconfig.
50581         (dist): Removed.
50582         (tar-it): Removed.
50583         (edition): Removed.
50584         (glibc-doc-$(edition).tar): Removed
50585         (%.Z): Removed.
50586         (%.gz): Removed.
50587         (%.uu): Removed.
50588         (ETAGS): Remove, it's in Makeconfig.
50589         (move-if-change): Remove, it's in Makeconfig.
50591 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50593         [BZ #13970]
50594         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50595         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50596         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50597         (strtod_l, strtof_l, strtold_l): Remove __wur.
50598         It is not necessarily an error to ignore strtol's return value.
50599         One can reliably look at the stored endptr to decide whether
50600         the number had valid syntax.
50602 2012-04-21  Andreas Jaeger  <aj@suse.de>
50604         [BZ #13739]
50605         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50607 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50609         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50610         * sysdeps/unix/sysv/Versions: Remove file.
50612 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50614         [BZ #13927]
50615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50617 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50619         [BZ #7064]
50620         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50621         version from __vm86.
50623 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50625         * sysdeps/unix/common/lxstat.c: Remove file.
50626         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50628         * sysdeps/unix/sysv/Makefile: Remove file.
50630         * sysdeps/unix/sysv/direct.h: Remove file.
50632         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50633         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50634         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50635         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50636         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50637         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50638         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50640         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50642         * sysdeps/unix/xmknod.c: Remove file.
50643         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50645         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50647         * sysdeps/unix/sysv/i386/time.S: Remove file.
50649         * sysdeps/unix/fxstat.c: Remove file.
50650         * sysdeps/unix/xstat.c: Likewise.
50651         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50653         * sysdeps/unix/sysv/sigaction.c: Remove file.
50655         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50656         (sysdep_headers): Remove variable.
50657         [termio.h not in sysdep_headers] (generated): Likewise.
50658         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50659         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50660         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50661         * sysdeps/unix/sysv/tcflow.c: Likewise.
50662         * sysdeps/unix/sysv/tcflush.c: Likewise.
50663         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50664         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50665         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50666         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50667         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50669         * sysdeps/unix/siglist.c: Remove file.
50671         * sysdeps/unix/getppid.S: Remove file.
50673         * sysdeps/unix/mkdir.c: Remove file.
50674         * sysdeps/unix/rmdir.c: Likewise.
50676 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50678         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50679         ERR_MAX value.
50680         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50681         errlist-compat value.
50683 2012-04-18  David S. Miller  <davem@davemloft.net>
50685         * sysdeps/generic/memcopy.h (reg_char): Delete.
50686         * debug/strcat_chk.c: Use char, not reg_char.
50687         * debug/strcpy_chk.c: Likewise.
50688         * debug/strncat_chk.c: Likewise.
50689         * debug/strncpy_chk.c: Likewise.
50690         * string/memchr.c: Likewise.
50691         * string/memrchr.c: Likewise.
50692         * string/rawmemchr.c: Likewise.
50693         * string/strcat.c: Likewise.
50694         * string/strchr.c: Likewise.
50695         * string/strchrnul.c: Likewise.
50696         * string/strcmp.c: Likewise.
50697         * string/strcpy.c: Likewise.
50698         * string/strncat.c: Likewise.
50699         * string/strncmp.c: Likewise.
50700         * string/strncpy.c: Likewise.
50702 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50704         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50705         __builtin_memcopy is called when src and dest ranges are known to not
50706         overlap.
50708 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50710         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50711         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50712         fwd_align_merge macro call.
50713         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50714         bwd_align_merge macro call.
50715         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50717 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50719         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50720         bwd_align_merge macros.
50721         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50722         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50723         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50725 2012-04-18  David S. Miller  <davem@davemloft.net>
50727         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50729 2012-04-18  Andreas Jaeger  <aj@suse.de>
50731         [BZ# 6794]
50732         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50733         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50734         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50736         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50737         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50738         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50740         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50741         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50742         Adjust for changed ldbl-128 files.
50744         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50745         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50746         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50748 2012-04-17  David S. Miller  <davem@davemloft.net>
50750         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50752 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50754         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50755         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50756         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50757         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50758         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50759         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50761 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50763         [BZ #6794]
50764         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50765         * math/libm-test.inc: Add ilogb errno and exception tests.
50766         * math/w_ilogb.c: New file: ilogb wrapper.
50767         * math/w_ilogbf.c: New file: ilogbf wrapper.
50768         * math/w_ilogbl.c: New file: ilogbl wrapper.
50769         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50770         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50771         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50772         exception being thrown with 0.0 as argument.
50773         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50774         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50775         exception being thrown with 0.0 as argument.
50776         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50777         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50778         exception being thrown with 0.0 as argument.
50779         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50780         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50781         exception being thrown with 0.0 as argument.
50782         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50783         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50784         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50785         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50786         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50787         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50788         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50789         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50790         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50792 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50794         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50795         with altivec.
50797 2012-04-16  Marek Polacek  <polacek@redhat.com>
50799         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50801 2012-04-16  Marek Polacek  <polacek@redhat.com>
50803         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50804         operands of fdivp instruction.
50806 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50808         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50809         * elf/tst-auditmod3b.c: Likewise.
50810         * elf/tst-auditmod4b.c: Likewise.
50811         * elf/tst-auditmod5b.c: Likewise.
50812         * elf/tst-auditmod6b.c: Likewise.
50813         * elf/tst-auditmod6c.c: Likewise.
50814         * elf/tst-auditmod7b.c: Likewise.
50815         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50816         * sysdeps/x86_64/preconfigure.in: Likewise.
50817         * sysdeps/x86_64/preconfigure: Regenerated.
50819 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50821         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50822         __ILP32__.
50824 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50827         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50829 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50831         [BZ #13973]
50832         * locale/iso-639.def: Fix gl language name. Spotted by
50833         Yaron Shahrabani.
50835 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50837         [BZ #2074]
50838         * libio/libio.h (__io_write_fn): Update comment.
50840 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50842         [BZ #2074]
50843         * stdio.texi (Hook Functions): The user provided writer function
50844         is not allowed to return -1.
50846 2012-04-11  David S. Miller  <davem@davemloft.net>
50848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50850 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50852         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50853         Add a leading slash to rtkaio.
50855 2012-04-11  Jim Meyering  <meyering@redhat.com>
50857         [BZ #11959]
50858         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50859         It is not necessarily an error to ignore fwrite's return
50860         value.  One can reliably use ferror to test for errors after
50861         the fact.
50863 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50865         * bits/types.h (__snseconds_t): New type.
50866         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50868         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50869         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50870         (__SNSECONDS_T_TYPE): Likewise.
50871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50872         (__SNSECONDS_T_TYPE): Likewise.
50873         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50874         (__SNSECONDS_T_TYPE): Likewise.
50876 2012-04-10  Andreas Jaeger  <aj@suse.de>
50878         [BZ #2636]
50879         * manual/time.texi (Processor Time): Return type of times is
50880         elapsed real time since an arbitrary point in the past.
50881         (CPU Time): Move CLK_TCK from here...
50882         (Processor Time): ...to here.  Correct description.
50883         * manual/conf.texi (Constants for Sysconf): Correct description of
50884         _SC_CLK_TCK.
50886 2012-04-10  David S. Miller  <davem@davemloft.net>
50888         [BZ #13967]
50889         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50890         where the is a gap between DT_REL(A) and DT_JMPREL.
50892 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50894         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50895         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50896         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50898 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50900         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50901         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50902         (dl_main): Handle --inhibit-cache.
50903         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50904         _dl_inhibit_cache.
50905         * elf/dl-load.c (_dl_map_object): Use it.
50906         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50908 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50910         [BZ #13872]
50911         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50912         (__ieee754_powl): Saturate large exponents rather than testing for
50913         overflow of y*log2(x).
50914         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50915         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50916         exceptions.
50918         [BZ #11521]
50919         * math/s_ctan.c: Include <float.h>.
50920         (__ctan): Avoid internal overflow or cancellation in calculating
50921         denominator.
50922         * math/s_ctanf.c: Likewise.
50923         * math/s_ctanl.c: Likewise.
50924         * math/s_ctanh.c: Likewise.
50925         * math/s_ctanhf.c: Likewise.
50926         * math/s_ctanhl.c: Likewise.
50927         * math/libm-test.inc (ctan_test): Add more tests.
50928         (ctanh_test): Likewise.
50929         * sysdeps/i386/fpu/libm-test-ulps: Update.
50930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50932 2012-04-09  Andreas Jaeger  <aj@suse.de>
50934         [BZ #6894]
50935         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50936         is an optional BSD extension.
50938         [BZ #10254]
50939         * manual/stdio.texi (Opening Streams): Document additional fopen
50940         parameters.
50942 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50944         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50945         %eax without telling the compiler.
50947 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50949         [BZ # 13963]
50950         * manual/install.texi: Use sourceware.org.
50952 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50954         [BZ #13873]
50955         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50956         (__ieee754_pow): Generate overflow and underflow using huge*huge
50957         and tiny*tiny rather than just returning constant infinity or zero
50958         for large exponents.
50959         * math/libm-test.inc (pow_test): Require overflow exceptions for
50960         applicable cases of large exponents.
50962         [BZ #706]
50963         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50964         (__ieee754_pow): Use iterative multiplication algorithm only for
50965         integer exponents with absolute value below 1024.  Check for odd
50966         integer exponents when using algorithm for real exponents.
50967         * math/libm-test.inc (pow_test): Add more tests.
50968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50970 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50972         [BZ #13705]
50973         * math/libm-test.inc (exp_test): Do not allow overflow exception
50974         on underflow test.
50976 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50978         [BZ #13705]
50979         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50980         instead of __kernel_standard_f.
50982 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50984         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50985         * sysdeps/x86_64/memset_chk.S: Likewise.
50987 2012-04-08  Andreas Jaeger  <aj@suse.de>
50989         [BZ #10153]
50990         * manual/startup.texi (Environment Access): Describe return value
50991         for putenv and setenv.
50993         [BZ #6895]
50994         * manual/filesys.texi (Directory Entries): Add description for
50995         DT_LNK.
50997         [BZ #6890]
50998         * manual/filesys.texi (Directory Entries): Clarify that it's file
50999         system not operating system in the description of DT_UNKNOWN.
51001         [BZ #6578]
51002         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51004 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51006         [BZ #6649]
51007         * manual/llio.texi (Opening and Closing Files): Add cross
51008         reference to explain mode argument.
51010 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51012         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51013         * sysdeps/x86_64/memset_chk.S: Likewise.
51015 2012-04-07  David S. Miller  <davem@davemloft.net>
51017         * elf/elf.h (R_SPARC_WDISP10): Define.
51018         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51019         R_SPARC_SIZE32.
51020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51021         R_SPARC_SIZE64 and R_SPARC_H34.
51023 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51025         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51026         conditions and remove no longer applicable assertion.
51028 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51030         * bits/byteswap.h: Include <features.h>.
51031         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51032         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51034 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51036         * bits/byteswap.h (__bswap_16): Removed.
51037         Include <bits/byteswap-16.h> to get __bswap_16.
51038         * sysdeps/i386/bits/byteswap.h: Likewise.
51039         * sysdeps/s390/bits/byteswap.h: Likewise.
51040         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51041         * bits/byteswap-16.h: New file.
51042         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51043         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51044         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51045         * string/Makefile (headers): Add bits/byteswap-16.h.
51047 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51049         [BZ #13895]
51050         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51051         extra indirection.
51052         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51053         * nss/tst-nss-static.c: New.
51055 2012-04-06  Robert Millan  <rmh@gnu.org>
51057         [BZ #6486]
51058         * manual/llio.texi (File Position Primitive): lseek
51059         refers to WHENCE when it really means OFFSET.
51061 2012-04-06  Andreas Jaeger  <aj@suse.de>
51063         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51064         strncmp declarations.
51066         * abilist/libc.abilist: Add __poll and __ppoll.
51068 2012-04-05  David S. Miller  <davem@davemloft.net>
51070         * scripts/check-local-headers.sh: Accept a host triplet in the
51071         path matched by the exclude regexp.
51073         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51074         definition.
51075         * sysdeps/powerpc/powerpc32/dl-machine.h
51076         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51077         * sysdeps/s390/s390-32/dl-machine.h
51078         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51079         * sysdeps/sparc/sparc32/dl-machine.h
51080         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51081         * sysdeps/sparc/sparc64/dl-machine.h
51082         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51084         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51085         lazy binding.
51086         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51087         undefined symbol errors.
51089         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51090         DT_NEEDED entries.
51092 2012-04-05  Michael Matz  <matz@suse.de>
51094         [BZ #13592]
51095         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51097 2012-04-05  Andreas Jaeger  <aj@suse.de>
51099         [BZ #13908]
51100         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51101         comment.
51103 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51105         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51106         which ROUND is no valid rounding mode.
51108 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51110         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51111         read again.
51112         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51114 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51116         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51117         an exception using FPU order intentionally.
51119 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51121         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51122         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51123         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51124         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51126 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51128         [BZ #12340]
51129         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51130         EINVAL when BUFLEN is too smal.
51132 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51134         [BZ #13553]
51135         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51136         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51138 2012-04-03  Andreas Jaeger  <aj@suse.de>
51140         [BZ #13938]
51141         * manual/setjmp.texi (System V contexts): Fix sentence.
51143         [BZ #13926]
51144         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51145         New macro for this case.
51146         [!__GNUC__] (__bswap_64): New inline function for this case.
51147         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51148         * bits/byteswap.h: Likewise.
51149         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51150         ull, guard with __GLIBC_HAVE_LONG_LONG.
51152         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51153         __GLIBC_HAVE_LONG_LONG.
51155         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51156         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51158 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51160         [BZ #13691]
51161         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51162         inptr and inend, rather than using last_ch.
51164 2012-04-02  David S. Miller  <davem@davemloft.net>
51166         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51167         * stdio-common/printf-parse.h (read_int): Change return type to
51168         'int', return -1 on INT_MAX overflow.
51169         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51170         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51171         overflows INT_MAX.  Check for overflow of in-format-string precision
51172         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51173         SIZE_MAX not INT_MAX for integer overflow test.
51174         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51175         skip the construct in the format string but do not record anything.
51176         * stdio-common/bug22.c: Adjust to test both width/prevision
51177         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51178         explicitly for proper errno values.
51180 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51182         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51183         CHAR_MAX.
51184         * string/test-strcmp.c [! WIDE]: Likewise.
51185         * time/tst-mktime2.c: Likewise for INT_MAX.
51186         * string/test-string.h: #include <sys/param.h> for MIN.
51188         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51189         * sysdeps/i386/init-first.c (init): Likewise.
51190         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51191         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51192         * sysdeps/sh/init-first.c (init): Likewise.
51194 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51196         * po/ru.po: Update from translation team.
51197         * po/vi.po: Likewise.
51199 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51201         * resolv/nss_dns/dns-host.c: Merge copyright years.
51203 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51205         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51206         Optimize memcpy with prefetch if
51207         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51208         src, dst pointers have unequal 16 byte alignments.
51210 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51212         [BZ #13928]
51213         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51214         from a CNAME entry and return the minimum ttl for the query.
51215         (gaih_getanswer_slice): Likewise.
51217 2012-03-30  Jeff Law  <law@redhat.com>
51219         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51220         due to long keys.
51221         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51222         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51224         * resolv/nss_dns/dns-host.c: Update copyright year.
51226 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51228         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51229         requests to save a system call.  Fix check that all bytes are sent.
51231         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51232         comments for sendmmsg.
51234 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51236         [BZ #13691]
51237         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51238         with only 1 character between 0x0041 and 0x01b0.
51239         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51240         * wcsmbs/tst-mbsnrtowcs.c: New file.
51242 2012-03-29  David S. Miller  <davem@davemloft.net>
51244         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51245         small copies by hand.
51247 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51249         [BZ #13761]
51250         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51251         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51252         group memberships.
51254 2012-03-28  David S. Miller  <davem@davemloft.net>
51256         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51257         that branches into memcpy.
51258         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51259         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51261         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51263         bits.
51264         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51265         implementation too.
51266         * sysdeps/sparc/mempcpy.S: New file.
51268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51269         the IFUNC routine in the libc case.
51270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51272         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51273         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51274         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51275         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51276         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51277         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51278         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51279         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51281         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51282         loop to 256 bytes instead of 64 bytes and fix test signedness.
51284         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51285         * sysdeps/sparc/sparc32/Makefile: rather than here...
51286         * sysdeps/sparc/sparc64/Makefile: and here.
51288 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51290         * malloc/mallocbug.c: Avoid warnings about unused variables.
51292 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51294         [BZ #13760]
51295         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51296         in the right place. Discard and retry query if response is
51297         larger than input buffer size.
51299 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51301         [BZ #369]
51302         [BZ #2678]
51303         [BZ #3866]
51304         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51305         x for large integer exponent.
51306         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51307         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51308         sign of result as needed afterwards.
51309         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51310         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51311         result for underflowing pow the same as for overflow.
51312         (__kernel_standard_l): Handle powl overflow and underflow here
51313         rather than calling __kernel_standard.
51314         * math/libm-test.inc (pow_test): Add more tests.
51316         [BZ #3868]
51317         [BZ #13879]
51318         [BZ #13910]
51319         [BZ #13911]
51320         [BZ #13912]
51321         [BZ #13913]
51322         [BZ #13915]
51323         [BZ #13916]
51324         [BZ #13917]
51325         [BZ #13918]
51326         [BZ #13919]
51327         [BZ #13920]
51328         [BZ #13921]
51329         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51330         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51331         (__kernel_standard_l): New function.
51332         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51333         __kernel_standard.
51334         * math/w_acosl.c (__acosl): Likewise.
51335         * math/w_asinl.c (__asinl): Likewise.
51336         * math/w_atan2l.c (__atan2l): Likewise.
51337         * math/w_atanhl.c (__atanhl): Likewise.
51338         * math/w_coshl.c (__coshl): Likewise.
51339         * math/w_exp10l.c (__exp10l): Likewise.
51340         * math/w_exp2l.c (__exp2l): Likewise.
51341         * math/w_fmodl.c (__fmodl): Likewise.
51342         * math/w_hypotl.c (__hypotl): Likewise.
51343         * math/w_j0l.c (__j0l, __y0l): Likewise.
51344         * math/w_j1l.c (__j1l, __y1l): Likewise.
51345         * math/w_jnl.c (__jnl, __ynl): Likewise.
51346         * math/w_lgammal.c (__lgammal): Likewise.
51347         * math/w_log10l.c (__log10l): Likewise.
51348         * math/w_log2l.c (__log2l): Likewise.
51349         * math/w_logl.c (__logl): Likewise.
51350         * math/w_powl.c (__powl): Likewise.
51351         * math/w_remainderl.c (__remainderl): Likewise.
51352         * math/w_scalbl.c (sysv_scalbl): Likewise.
51353         * math/w_sinhl.c (__sinhl): Likewise.
51354         * math/w_sqrtl.c (__sqrtl): Likewise.
51355         * math/w_tgammal.c (__tgammal): Likewise.
51356         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51357         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51358         * math/libm-test.inc (acos_test): Add more tests.
51359         (acosh_test): Likewise.
51360         (asin_test): Likewise.
51361         (atanh_test): Likewise.
51362         (exp_test): Likewise.
51363         (exp10_test): Likewise.
51364         (exp2_test): Likewise.
51365         (expm1_test): Likewise.
51366         (lgamma_test): Likewise.
51367         (log_test): Likewise.
51368         (log10_test): Likewise.
51369         (log1p_test): Likewise.
51370         (log2_test): Likewise.
51371         (pow_test): Do not allow some spurious overflow exceptions.
51372         (sqrt_test): Add more tests.
51373         (tgamma_test): Likewise.
51374         (y0_test): Likewise.
51375         (y1_test): Likewise.
51376         (yn_test): Likewise.
51378 2012-03-27  Anton Blanchard  <anton@samba.org>
51380         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51381         MAP_HUGETLB.
51382         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51383         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51384         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51386 2012-03-27  David S. Miller  <davem@davemloft.net>
51388         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51390         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51391         have-as-vis3 check.
51393 2012-03-27  Andreas Jaeger  <aj@suse.de>
51395         * sysdeps/x86_64/elf/configure.in: Moved to ...
51396         * sysdeps/x86_64/configure.in: ... here.
51397         * sysdeps/x86_64/elf/start.S: Moved to ...
51398         * sysdeps/x86_64/start.S: ... here.
51399         * sysdeps/x86_64/elf/configure: Delete.
51401         * sysdeps/x86_64/configure.in: Merge contents from
51402         sysdeps/i386/configure.in (without i686 check).
51404         * sysdeps/i386/elf/Versions: Merge into ...
51405         * sysdeps/i386/Versions: ... this.
51406         * sysdeps/i386/elf/Versions: Delete file.
51407         * sysdeps/i386/elf/start.S: Moved to ...
51408         * sysdeps/i386/start.S: ...here.
51409         * sysdeps/i386/elf/configure.in: Merge into...
51410         * sysdeps/i386/configure.in: ...here.
51411         * sysdeps/i386/elf/configure.in: Delete file.
51412         * sysdeps/i386/elf/configure: Delete file.
51414         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51415         * debug/backtracesyms.c: ... here.
51416         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51417         * debug/backtracesymsfd.c: ... here.
51418         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51419         * sysdeps/generic/ifunc-sel.h: ... here.
51421         * sysdeps/unix/i386/start.c: Delete file.
51422         * sysdeps/unix/sparc/start.c: Delete file.
51423         * sysdeps/unix/start.c: Delete file.
51425         * sysdeps/sh/elf/configure.in: Moved to ...
51426         * sysdeps/sh/configure.in: ... here.
51427         * sysdeps/sh/elf/start.S: Moved to ...
51428         * sysdeps/sh/start.S: ... here.
51429         * sysdeps/sh/elf/configure: Delete file.
51431         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51432         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51433         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51434         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51435         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51436         * sysdeps/powerpc/powerpc64/start.S: here.
51437         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51438         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51439         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51440         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51441         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51443         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51444         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51445         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51446         * sysdeps/powerpc/powerpc32/start.S: ... here.
51447         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51448         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51449         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51451         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51452         * sysdeps/powerpc/ifunc-sel.h: ... here.
51453         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51454         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51456         * sysdeps/sparc/elf/configure.in: Moved to ...
51457         * sysdeps/sparc/configure.in: ... here.
51458         * sysdeps/sparc/elf/configure: Delete file.
51459         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51460         * sysdeps/sparc/sparc32/start.S: ... here.
51461         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51462         * sysdeps/sparc/sparc64/start.S: ... here.
51463         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51464         * sysdeps/sparc/sparc32/Makefile: ... this.
51465         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51466         * sysdeps/sparc/sparc64/Makefile: ... this.
51468         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51469         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51470         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51471         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51472         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51473         * sysdeps/s390/s390-32/setjmp.S: ... here.
51474         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51475         * sysdeps/s390/s390-32/configure.in: ... here.
51476         * sysdeps/s390/s390-32/elf/configure: Delete file.
51477         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51478         * sysdeps/s390/s390-32/start.S: ... here.
51480         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51481         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51482         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51483         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51484         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51485         * sysdeps/s390/s390-64/setjmp.S: ... here.
51486         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51487         * sysdeps/s390/s390-64/configure.in: ... here
51488         * sysdeps/s390/s390-64/elf/configure: Delete file.
51489         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51490         * sysdeps/s390/s390-64/start.S: ... here.
51491         * sysdeps/s390/s390-64/elf/configure: Delete.
51493         * configure.in: Remove support for elf directories in sysdeps.
51495         * configure: Regenerated.
51496         * sysdeps/i386/configure: Regenerated.
51497         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51498         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51499         * sysdeps/s390/s390-32/configure: Regenerated.
51500         * sysdeps/s390/s390-64/configure: Regenerated.
51501         * sysdeps/sh/configure: Regenerated.
51502         * sysdeps/sparc/configure: Regenerated.
51503         * sysdeps/x86_64/configure: Regenerated.
51505 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51509         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51510         denormal result into account.
51512 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51514         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51515         Reported by Allan McRae <allan@archlinux.org>.
51517 2012-03-23  Jeff Law  <law@redhat.com>
51519         * nss/getnssent.c (__nss_getent): Fix typo.
51521 2012-03-23  David S. Miller  <davem@davemloft.net>
51523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51525 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51527         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51528         to pad to uint64_t for each field.
51529         (dl_tls_index): Replace unsigned long with uint64_t.
51531 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51532         Paul Pluzhnikov  <ppluzhnikov@google.com>
51534         [BZ #6528]
51535         * grp/Makefile (otherlibs): Don't set it.
51536         * inet/Makefile (otherlibs): Likewise.
51537         * login/Makefile (otherlibs): Likewise.
51538         * nscd/Makefile (otherlibs): Likewise.
51539         * posix/Makefile (otherlibs): Likewise.
51540         * pwd/Makefile (otherlibs): Likewise.
51541         * rt/Makefile (otherlibs): Likewise.
51542         * sunrpc/Makefile (otherlibs): Likewise.
51543         * nss/Makefile (otherlibs): Likewise.
51544         Add libnss_files to routines and static-only-routines.
51545         ($(objpfx)getent): Remove rule.
51546         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51547         static-only-routines.
51549 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51551         [BZ #13892]
51552         * math/s_cexp.c: Include <float.h>.
51553         (__cexp): Handle exp result overflowing not necessarily
51554         overflowing both real and imaginary parts of result.
51555         * math/s_cexpf.c: Likewise.
51556         * math/s_cexpl.c: Likewise.
51557         * math/libm-test.inc (cexp_test): Add more tests.
51558         * sysdeps/i386/fpu/libm-test-ulps: Update.
51559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51561 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51563         * include/link.h (ELFW): New macro.
51564         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51565         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51567 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51569         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51570         with uint64_t.
51572 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51574         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51575         declaration.
51576         (struct La_x32_retval): Likewise.
51578 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51580         * sysdeps/x86_64/preconfigure.in: New file.
51581         * sysdeps/x86_64/preconfigure: New generated file.
51583 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51585         [BZ #13824]
51586         * math/e_exp2l.c: Include <float.h>.
51587         (__ieee754_exp2l): Handle overflow and underflow cases
51588         separately.  Only pass fractional part of argument to
51589         __ieee754_expl.
51590         * math/libm-test.inc (exp2_test): Add more tests.
51592         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51593         negating x to take absolute value.
51594         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51595         Likewise.
51596         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51597         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51598         Likewise.
51599         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51600         computing low part if x was negated.
51601         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51603 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51605         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51606         la_x32_gnu_pltexit.
51607         (pltexit): Cast int_retval to ptrdiff_t.
51608         * elf/tst-auditmod3b.c: Likewise.
51609         * elf/tst-auditmod4b.c: Likewise.
51610         * elf/tst-auditmod5b.c: Likewise.
51611         * elf/tst-auditmod6b.c: Likewise.
51612         * elf/tst-auditmod6c.c: Likewise.
51613         * elf/tst-auditmod7b.c: Likewise.
51615         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51616         and x32_gnu_pltexit.
51618         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51619         __ELF_NATIVE_CLASS.
51620         (La_x32_regs): New macro.
51621         (La_x32_retval): Likewise.
51622         (la_x32_gnu_pltenter): New function prototype.
51623         (la_x32_gnu_pltexit): Likewise.
51625 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51627         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51628         exponent.
51630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51632         * configure.in (libc_cv_cc_nofma): Check for option to disable
51633         generation of FMA instructions.
51634         * configure: Regenerate.
51635         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51636         * sysdeps/ieee754/dbl-64/Makefile: New file.
51637         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51638         Remove brandred-fma4.
51639         (CFLAGS-brandred-fma4.c): Remove.
51640         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51641         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51642         define.
51643         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51644         define.
51646 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51648         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51649         LLONG_MAX != LONG_MAX.
51650         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51651         (_fitoa_word): Likewise.
51652         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51653         LLONG_MAX != LONG_MAX.
51654         * stdio-common/_itowa.h: Include <_itoa.h>.
51655         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51656         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51657         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51658         only if not defined.
51659         (_ITOA_WORD_TYPE): Likewise.
51660         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51661         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51663 2012-03-21  David S. Miller  <davem@davemloft.net>
51665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51667 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51669         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51670         of x86_64 when setting libc_cv_slibdir, libdir and
51671         libc_cv_localedir.
51672         * sysdeps/unix/sysv/linux/configure: Regenerated.
51674 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51676         * manual/lang.texi (Old Varargs): Remove section.
51677         (How Variadic): Update menu.
51678         (va_start): Do not mention varargs.h.
51680 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51681             Joseph Myers  <joseph@codesourcery.com>
51683         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51684         link test.
51685         * configure: Regenerated.
51687 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51689         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51690         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51691         conformtest.pl
51693 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51695         * NOTES: Remove.
51696         * Makefile (files-for-dist): Remove NOTES.
51697         (NOTES): Remove rule.
51698         * README: Don't refer to NOTES.
51699         * manual/creature.texi: Don't include macros.texi.
51700         * manual/intro.texi (creature.texi): Remove comment referring to
51701         NOTES.
51703         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51704         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51705         * configure: Regenerated.
51706         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51707         LIBC_TRY_CC_OPTION.
51708         (libc_cv_as_i686): Likewise.
51709         (libc_cv_cc_avx): Likewise.
51710         (libc_cv_cc_sse2avx): Likewise.
51711         (libc_cv_cc_fma4): Likewise.
51712         (libc_cv_cc_novzeroupper): Likewise.
51713         * sysdeps/i386/configure: Regenerated.
51715         [BZ #13883]
51716         * sysdeps/i386/fpu/s_cexp.S: Remove.
51717         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51718         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51719         * math/libm-test.inc (cexp_test): Add more tests.
51720         * sysdeps/i386/fpu/libm-test-ulps: Update.
51721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51723 2012-03-21  Allan McRae  <allan@archlinux.org>
51725         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51727 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51729         [BZ #13871]
51730         * math/w_exp2.c: Do not include <float.h>.
51731         (o_threshold, u_threshold): Remove.
51732         (__exp2): Calculate result before checking finiteness and calling
51733         __kernel_standard.
51734         * math/w_exp2f.c: Likewise.
51735         * math/w_exp2l.c: Likewise.
51736         * math/libm-test.inc (exp2_test): Require overflow exception for
51737         1e6 input.
51739         [BZ #3866]
51740         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51741         range of signed 64-bit integers before using fistpll.  Remove
51742         checks for whether integers fit in mantissa bits.
51743         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51744         the range of signed 32-bit integers before using fistpl.  Remove
51745         checks for whether integers fit in mantissa bits.
51746         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51747         (__ieee754_powl): Test for y outside the range of signed 64-bit
51748         integers before using fistpll.  Reduce 64-bit values to 63-bit
51749         ones as needed.
51750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51751         divide-by-zero is raised for zero to large negative powers.
51752         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51753         (__ieee754_powl): Test for y outside the range of signed 64-bit
51754         integers before using fistpll.  Reduce 64-bit values to 63-bit
51755         ones as needed.
51756         * math/libm-test.inc (pow_test): Add more tests.
51758 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51760         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51761         <stdio-common/_itoa.h>.
51762         * debug/segfault.c: Likewise.
51763         * elf/dl-cache.c: Likewise.
51764         * elf/dl-minimal.c: Likewise.
51765         * elf/dl-misc.c: Likewise.
51766         * elf/dl-sysdep.c: Likewise.
51767         * elf/dl-version.c: Likewise.
51768         * elf/rtld.c: Likewise.
51769         * hurd/hurdsock.c: Likewise.
51770         * hurd/lookup-retry.c: Likewise.
51771         * malloc/malloc.c: Likewise.
51772         * malloc/mtrace.c: Likewise.
51773         * nscd/nscd_getgr_r.c: Likewise.
51774         * nscd/nscd_getpw_r.c: Likewise.
51775         * nscd/nscd_getserv_r.c: Likewise.
51776         * posix/getopt_init.c: Likewise.
51777         * posix/wordexp.c: Likewise.
51778         * stdio-common/_itoa.c: Likewise.
51779         * stdio-common/printf_fphex.c: Likewise.
51780         * stdio-common/vfprintf.c: Likewise.
51781         * string/_strerror.c: Likewise.
51782         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51783         * sysdeps/i386/i686/hp-timing.h: Likewise.
51784         * sysdeps/mach/_strerror.c: Likewise.
51785         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51786         * sysdeps/mach/hurd/sethostid.c: Likewise.
51787         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51788         * sysdeps/mach/xpg-strerror.c: Likewise.
51789         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51790         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51791         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51792         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51793         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51794         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51795         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51796         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51797         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51798         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51799         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51800         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51801         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51802         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51803         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51804         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51805         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51806         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51807         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51808         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51809         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51811         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51813         * stdio-common/_itoa.h: Moved to ...
51814         * sysdeps/generic/_itoa.h: Here.
51816         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51818         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51819         instead of "_itoa.h" and "_itowa.h".
51820         * stdio-common/vfprintf.: Likewise.
51822 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51824         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51825         <bits/wordsize.h>.
51826         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51827         (__signbit): Likwise.
51828         (llrintf): Likwise.
51829         (llrint): Likwise.
51831 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51833         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51834         __WORDSIZE != 64.
51836 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51838         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51839         OVERFLOW_EXCEPTION_OK.
51840         * math/libm-test.inc ("Philosophy"): Update comment about
51841         exception testing.
51842         (OVERFLOW_EXCEPTION): Define.
51843         (OVERFLOW_EXCEPTION_OK): Likewise.
51844         (INVALID_EXCEPTION_OK): Renumber.
51845         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51846         (IGNORE_ZERO_INF_SIGN): Likewise.
51847         (test_exceptions): Handle FE_OVERFLOW.
51848         (exp10_test): Expect overflow exceptions.
51849         (exp2_test): Likewise.
51850         (expm1_test): Likewise.
51851         (nextafter_test): Likewise.
51852         (pow_test): Likewise.
51853         (scalbn_test): Likewise.
51854         (scalbln_test): Likewise.
51856 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51858         * sysdeps/x86_64/bits/atomic.h
51859         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51860         64bit integer.
51861         (atomic_exchange_acq): Likewise.
51862         (__arch_exchange_and_add_body): Likewise.
51863         (__arch_add_body): Likewise.
51864         (atomic_add_negative): Likewise.
51865         (atomic_add_zero): Likewise.
51867 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51869         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51870         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51872 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51874         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51875         Check __x86_64__ instead of __WORDSIZE.
51877 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51879         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51881 2012-03-19  David S. Miller  <davem@davemloft.net>
51883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51885         * sysdeps/sparc/fpu/fenv_private.h: New file.
51886         * sysdeps/sparc/fpu/math_private.h: Use it.
51887         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51888         Remove.
51889         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51890         (libc_feholdexcept_setroundl): Remove.
51891         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51892         Remove.
51893         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51894         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51898         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51899         int64_t instead of long int.
51900         (INSERT_WORDS64): Likwise.
51902 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51904         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51905         _Unwind_GetCFA return to _Unwind_Ptr first.
51907 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51909         [BZ #13629]
51910         * math/s_clog.c: Include <float.h>.
51911         (__clog): Scale large or subnormal inputs.
51912         * math/s_clogf.c: Likewise.
51913         * math/s_clogl.c: Likewise.
51914         * math/s_clog10.c: Include <float.h>.
51915         (M_LOG10_2): Define.
51916         (__clog10): Scale large or subnormal inputs.
51917         * math/s_clog10f.c: Likewise.
51918         * math/s_clog10l.c: Likewise.
51919         * math/libm-test.inc (clog_test): Add more tests.
51920         (clog10_test): Likewise.
51921         * sysdeps/i386/fpu/libm-test-ulps: Update.
51922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51924         [BZ #11451]
51925         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51926         x and y.
51927         * math/libm-test.inc (atan2_test): Add another test.
51929         * Makerules (common-objdir-compile): Remove.
51930         * sysdeps/unix/Makefile (config-generated): Do not add
51931         $(unix-generated) to variable.
51932         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51933         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51934         Remove rule.
51935         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51936         Likewise.
51937         [generic bits/local_lim.h] (before-compile): Do not append to
51938         variable.
51939         [generic bits/local_lim.h] (common-generated): Likewise.
51940         [generic sys/param.h] (before-compile): Do not append to variable.
51941         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51942         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51943         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51944         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51945         include.
51946         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51947         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51948         [generic sys/param.h] ($(addprefix
51949         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51950         [generic sys/param.h] (common-generated): Do not append to
51951         variable.
51952         [generic sys/param.h] (sysdep_headers): Likewise.
51953         [generic bits/errno.h] (before-compile): Do not append to
51954         variable.
51955         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51956         rule.
51957         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51958         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51959         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51960         [generic bits/errno.h] (common-generated): Do not append to
51961         variable.
51962         [generic bits/ioctls.h] (before-compile): Do not append to
51963         variable.
51964         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51965         rule.
51966         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51967         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51968         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51969         rule.
51970         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51971         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51972         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51973         [generic bits/ioctls.h] (common-generated): Do not append to
51974         variable.
51975         [generic sys/syscall.h] (syscall.h): Remove variable.
51976         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51977         rule.
51978         [generic sys/syscall.h] (before-compile): Do not append to
51979         variable.
51980         [generic sys/syscall.h] (common-generated): Likewise.
51981         * sysdeps/unix/errnos-tmpl.c: Remove file.
51982         * sysdeps/unix/errnos.awk: Likewise.
51983         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51984         * sysdeps/unix/ioctls.awk: Likewise.
51985         * sysdeps/unix/mk-local_lim.c: Likewise.
51986         * sysdeps/unix/snarf-ioctls: Likewise.
51988 2012-03-19  Richard Henderson  <rth@twiddle.net>
51990         * sysdeps/i386/fpu/fenv_private.h: New file.
51991         * sysdeps/i386/fpu/math_private.h: Use it.
51992         (math_opt_barrier, math_force_eval): Remove.
51993         (libc_feholdexcept_setround_53bit): Remove.
51994         (libc_feupdateenv_53bit): Remove.
51995         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51996         (math_opt_barrier, math_force_eval): Remove.
51997         (libc_feholdexcept): Remove.
51998         (libc_feholdexcept_setround): Remove.
51999         (libc_fetestexcept, libc_fesetenv): Remove.
52000         (libc_feupdateenv_test): Remove.
52001         (libc_feupdateenv, libc_feholdsetround): Remove.
52002         (libc_feresetround): Remove.
52004         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52005         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52007         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52008         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52009         (libc_feupdateenv_testl): New.
52010         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52011         (libc_feupdateenv_testf): New.
52012         (libc_feupdateenv): Use libc_feupdateenv_test.
52013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52014         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52016         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52017         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52018         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52019         (libc_feresetround_noex): New.
52020         (libc_feresetround_noexf): New.
52021         (libc_feresetround_noexl): New.
52022         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52023         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52024         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52025         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52026         SET_RESTORE_ROUND.
52027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52028         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52029         (__cos): Likewise.
52030         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52031         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52032         SET_RESTORE_ROUND_NOEX.
52033         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52034         SET_RESTORE_ROUND_NOEXF.
52035         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52036         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52037         (libc_feholdsetroundf): New.
52038         (libc_feresetround, libc_feresetroundf): New.
52040         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52041         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52042         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52044         * sysdeps/generic/math_private.h: Include <fenv.h>.
52045         (default_libc_feholdexcept): New.
52046         (default_libc_feholdexcept_setround): New.
52047         (default_libc_fesetenv, default_libc_feupdateenv): New.
52048         (libc_feholdexcept): Only define if undefined.
52049         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52050         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52051         (libc_feholdexcept_setroundl): Likewise.
52052         (libc_feholdexcept_setround_53bit): Likewise.
52053         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52054         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52055         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52056         (libc_feupdateenv_53bit): Likewise.
52057         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52058         (libc_feholdexcept): Convert from macro to inline function.
52059         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52060         (libc_fesetenv, libc_feupdateenv): Likewise.
52062         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52063         not previously defined.
52064         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52065         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52066         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52067         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52068         * sysdeps/ieee754/flt-32/math_private.h: New file.
52069         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52070         math_private.h below SET_FLOAT_WORD.
52071         (__isnan, __isinf_ns, __finite): Remove.
52072         (__isnanf, __isinf_nsf, __finitef): Remove.
52074 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52078 2012-03-17  David S. Miller  <davem@davemloft.net>
52080         [BZ #6471]
52081         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52082         for 2.16.
52084 2012-03-16  David S. Miller  <davem@davemloft.net>
52086         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52087         warnings.
52089         [BZ #6471]
52090         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52091         properly.
52092         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52093         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52094         sysdep_routines when subdir is sysvipc.
52095         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52096         __getshmlba helper.
52098         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52100 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52102         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52103         [__LP64__].
52105 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52107         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52108         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52109         (__lround): Renamed to ...
52110         (__llround): This.  Replace long int with long long int.
52111         Define lround functions as aliases of llround functions.
52112         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52114 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52116         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52117         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52118         adresses to uintptr_t.  Replace "long int" and "unsigned long
52119         int" with "greg_t" on va_arg.
52121 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52123         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52124         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52126         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52127         Move e_machine check before EI_CLASS check.  Handle x32
52128         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52129         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52130         SKIP_EM_IA_64 and include
52131         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52133         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52134         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52135         (add_system_dir): New macro.
52137         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52138         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52140 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52142         [BZ #2551]
52143         [BZ #2552]
52144         [BZ #2553]
52145         [BZ #2554]
52146         [BZ #2562]
52147         [BZ #2563]
52148         [BZ #2565]
52149         [BZ #2566]
52150         [BZ #2576]
52151         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52152         (y0): Likewise.
52153         * math/w_j0f.c (j0f): Likewise.
52154         (y0f): Likewise.
52155         * math/w_j0l.c (__j0l): Likewise.
52156         (__y0l): Likewise.
52157         * math/w_j1.c (j1): Likewise.
52158         (y1): Likewise.
52159         * math/w_j1f.c (j1f): Likewise.
52160         (y1f): Likewise.
52161         * math/w_j1l.c (__j1l): Likewise.
52162         (__y1l): Likewise.
52163         * math/w_jn.c (jn): Likewise.
52164         (yn): Likewise.
52165         * math/w_jnf.c (jnf): Likewise.
52166         (ynf): Likewise.
52167         * math/w_jnl.c (__jnl): Likewise.
52168         (__ynl): Likewise.
52169         * math/libm-test.inc (j0_test): Add more tests.
52170         (j1_test): Likewise.
52171         (jn_test): Likewise.  Add trailing semicolon to existing test.
52172         (y0_test): Likewise.
52173         (y1_test): Likewise.
52174         * sysdeps/i386/fpu/libm-test-ulps: Update.
52175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52177         [BZ #13851]
52178         [BZ #13854]
52179         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52180         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52181         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52182         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52183         (__tanl): Set errno for infinite argument.
52184         * sysdeps/i386/fpu/mptan.c: Remove.
52185         * sysdeps/i386/fpu/s_tan.S: Likewise.
52186         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52187         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52188         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52189         * math/libm-test.inc (tan_test): Add more tests and enable more
52190         tests for double and long double.
52191         * sysdeps/i386/fpu/libm-test-ulps: Update.
52192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52194 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52196         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52197         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52199 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52201         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52202         * configure.in: Use it for both main tree and add-ons.
52203         * configure: Regenerated.
52205 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52207         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52209 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52211         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52212         in comment.
52214         [BZ #13851]
52215         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52216         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52217         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52219         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52220         infinite argument.
52221         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52222         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52223         != 0 for prec == 2.
52224         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52225         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52226         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52227         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52228         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52229         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52230         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52231         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52232         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52233         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52234         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52235         * math/libm-test.inc (cos_test): Add more tests and enable more
52236         tests for long double.
52237         (sin_test): Likewise.
52238         (sincos_test): Likewise.
52239         * sysdeps/i386/fpu/libm-test-ulps: Update.
52240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52242 2012-03-16  David S. Miller  <davem@davemloft.net>
52244         * sysdeps/sparc/fpu/math_private.h: New file.
52246 2012-03-15  David S. Miller  <davem@davemloft.net>
52248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52249         file.
52250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52252         file.
52253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52258         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52259         sysdep routines.
52260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52262         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52263         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52265         * sysdeps/sparc/sparc-ifunc.h: New file.
52266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52267         sparc-ifunc.h
52268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52270         Likewise.
52271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52272         Likewise.
52273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52277         Likewise.
52278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52283         Likewise.
52284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52285         Likewise.
52286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52292         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52293         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52301         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52304         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52305         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52306         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52307         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52308         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52309         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52311 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52313         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52314         scaling.
52315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52317 2012-03-15  Andreas Jaeger  <aj@suse.de>
52319         [BZ #13852]
52320         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52321         ieee754/flt-32 implementation for sin, cos and sincos.
52322         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52323         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52324         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52325         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52326         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52327         ieee754/flt-32 implementation for tan.
52329         * math/libm-test.inc (cos_test): Enable some large input tests for
52330         float as well
52331         (sin_test): Likewise.
52332         (sincos_test): Likewise.
52333         (tan_test): Add tests for large input.
52335         * sysdeps/i386/fpu/libm-test-ulps: Update.
52337 2012-03-15  Andreas Jaeger  <aj@suse.de>
52339         [BZ #13658]
52340         * math/libm-test.inc (cos_test): Add more test cases.
52341         (sin_test): Likewise.
52342         (sincos_test): Likewise.
52344 2012-03-15  Andreas Jaeger  <aj@suse.de>
52346         [BZ #13837]
52347         * math/libm-test.inc (cos_test): Add a test case for large input
52348         value.
52349         (sin_test): Likewise.
52350         (sincos_test): Likewise.
52352 2012-03-15  Andreas Jaeger  <aj@suse.de>
52353             Joseph Myers  <joseph@codesourcery.com>
52355         [BZ #13658]
52356         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52357         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52358         * sysdeps/i386/fpu/branred.c: Likewise.
52359         * sysdeps/i386/fpu/dosincos.c: Likewise.
52360         * sysdeps/i386/fpu/mpa.c: Likewise.
52361         * sysdeps/i386/fpu/s_cos.S: Likewise.
52362         * sysdeps/i386/fpu/s_sin.S: Likewise.
52363         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52364         * sysdeps/i386/fpu/sincos32.c: Likewise.
52366         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52367         Define.
52368         (libc_feupdateenv_53bit): Define.
52369         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52370         Define.
52371         (libc_feupdateenv_53bit): Define.
52373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52374         53 bit (without extend i386 double precision).
52376         * math/libm-test.inc (sincos_test): Add tests for large input.
52377         (sin): Likewise.
52378         (cos): Likewise.
52380         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52382 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52386 2012-03-15  David S. Miller  <davem@davemloft.net>
52388         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52389         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52390         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52391         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52404         file.
52405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52407         file.
52408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52410         file.
52411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52413         file.
52414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52415         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52416         fmin/fmax sysdep routines.
52417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52419 2012-03-14  David S. Miller  <davem@davemloft.net>
52421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52422         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52425         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52426         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52427         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52428         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52430         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52438         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52439         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52441         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52442         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52443         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52444         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52445         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52446         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52447         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52448         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52449         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52450         routines.
52451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52452         file.
52453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52455         file.
52456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52458         file.
52459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52461         file.
52462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52464         file.
52465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52467         file.
52468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52469         file.
52470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52471         file.
52472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52473         file.
52474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52475         New file.
52476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52477         file.
52478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52479         file.
52480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52482         file.
52483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52485         file.
52486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52488         file.
52489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52491         VIS3 routines.
52493         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52494         New file.
52496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52498         * sysdeps/sparc/configure.in: New file.
52499         * sysdeps/sparc/configure: Generate.
52500         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52501         * configure: Regenerate.
52502         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52503         * config.make.in (have-as-vis3): New.
52504         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52505         available use -Av9d instead of -Av9a.
52506         * sysdeps/sparc/sparc64/Makefile: Likewise.
52507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52509         New file.
52510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52511         file.
52512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52513         New file.
52514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52515         file.
52516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52517         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52518         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52519         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52520         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52522         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52523         fzeros/fnegs to load 0x80000000 into a float register instead of
52524         using the stack.
52525         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52527 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52530         bits/syscall.h.
52531         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52532         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52533         ($(inst_includedir)/bits/syscall.h): Remove rule.
52534         ($(objpfx)bits/syscall.d): Include instead of
52535         $(objpfx)syscall-list.d.
52536         (generated): Change syscall-list.h and syscall-list.d to
52537         bits/syscall.h and bits/syscall.d.
52539 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52541         [BZ #13846]
52542         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52544 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52546         [BZ #13841]
52547         * math/s_csqrt.c: Include <float.h>.
52548         (__csqrt): Scale large or subnormal inputs.
52549         * math/s_csqrtf.c: Likewise.
52550         * math/s_csqrtl.c: Likewise.
52551         * math/libm-test.inc (csqrt_test): Add more tests.
52552         * sysdeps/i386/fpu/libm-test-ulps: Update.
52553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52555         [BZ #13840]
52556         * math/libm-test.inc (hypot_test): Add more tests.
52558 2012-03-13  David S. Miller  <davem@davemloft.net>
52560         [BZ #13840]
52561         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52562         double-precision for the calculation instead of scaling.
52564 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52566         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52567         manipulate bits before adding and subtracting TWO52[sx].
52568         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52569         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52570         Likewise.
52571         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52573 2012-03-13  David S. Miller  <davem@davemloft.net>
52575         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52576         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52577         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52578         rtld-global-offsets.h
52579         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52581         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52582         large parameters.
52584         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52586         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52587         'err' in the ifdef scope in which it is actually used.
52589         * nss/nss_db/db-init.c: Include string.h
52591 2012-03-12  David S. Miller  <davem@davemloft.net>
52593         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52594         masking out of the most significant byte of random value used.
52595         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52596         Fix coding style in previous change.
52598         * sysdeps/unix/sysv/linux/kernel-features.h
52599         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52600         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52601         expression.
52602         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52603         later.
52605 2012-03-11  David S. Miller  <davem@davemloft.net>
52607         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52608         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52609         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52610         for 'resultvar' otherwise things get truncated on 64-bit.
52612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52613         Fix masking out of the most significant byte of random value used.
52615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52617 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52621 2012-03-09  David S. Miller  <davem@davemloft.net>
52623         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52624         variables with appropriate CPP guards.
52625         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52626         from the frame pointer, not the stack pointer.  Correct layout
52627         comments.  Fix test on resulting framesize and the management of
52628         the outregs buffer for pltexit.  Preserve floating point return
52629         values across _dl_call_pltexit call.
52630         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52631         framesize and the management of the outregs buffer for pltexit.
52632         Preserve floating point return values across _dl_call_pltexit
52633         call.
52634         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52635         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52636         (la_sparc64_gnu_pltexit): New functions.
52637         (print_exit): Fix format string for return register value.
52639 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52641         * sunrpc/Makefile (others): Add rpcgen.
52642         ($(objpfx)rpcgen): Remove special build rule and dependency on
52643         libc.
52644         * sunrpc/rpcgen.c: New file.
52646 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52648         [BZ #13673]
52649         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52650         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52651         * sysdeps/i386/crti.S: Likewise.
52652         * sysdeps/i386/crtn.S: Likewise.
52653         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52654         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52655         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52656         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52657         * sysdeps/sh/crti.S: Likewise.
52658         * sysdeps/sh/crtn.S: Likewise.
52659         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52661         [BZ #13673]
52662         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52663         with URL.
52664         * locale/programs/locfile-kw.gperf: Likewise.
52665         * locale/programs/charmap-kw.h: Regenerated.
52666         * locale/programs/locfile-kw.h: Likewise.
52668         [BZ #13673]
52669         * intl/plural.y: Replace FSF snail mail address with URL.
52670         * intl/plural.c: Regenerated.
52672 2012-03-09  Richard Henderson  <rth@twiddle.net>
52674         * include/math_private.h: Remove file.
52675         * math/math_private.h: Move file ...
52676         * sysdeps/generic/math_private.h: ... here.
52678         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52679         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52680         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52682         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52683         and <math_private.h>.
52684         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52685         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52686         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52687         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52688         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52689         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52690         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52692         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52693         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52694         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52695         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52696         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52697         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52698         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52705         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52706         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52708         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52709         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52710         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52711         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52713         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52714         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52715         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52716         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52717         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52718         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52719         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52720         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52721         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52722         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52723         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52724         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52725         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52726         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52727         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52728         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52729         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52730         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52731         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52732         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52733         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52734         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52735         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52736         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52737         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52738         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52739         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52740         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52741         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52742         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52743         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52744         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52745         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52746         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52747         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52748         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52749         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52750         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52751         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52752         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52753         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52754         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52755         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52756         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52757         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52758         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52759         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52760         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52762         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52763         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52764         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52765         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52766         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52767         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52768         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52769         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52770         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52771         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52772         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52773         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52774         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52775         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52776         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52777         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52778         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52779         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52780         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52781         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52782         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52783         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52784         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52785         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52786         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52787         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52788         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52789         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52790         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52791         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52792         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52793         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52794         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52795         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52796         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52797         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52798         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52799         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52800         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52801         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52802         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52803         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52804         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52805         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52806         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52807         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52808         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52809         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52810         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52811         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52812         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52813         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52814         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52815         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52816         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52817         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52818         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52819         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52820         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52821         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52822         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52823         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52824         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52825         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52826         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52827         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52828         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52829         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52830         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52831         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52832         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52833         * sysdeps/ieee754/k_standard.c: Likewise.
52834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52835         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52836         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52837         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52838         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52839         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52840         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52841         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52842         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52843         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52844         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52845         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52846         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52847         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52848         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52849         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52850         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52851         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52852         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52853         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52854         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52855         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52856         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52857         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52858         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52859         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52860         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52861         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52862         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52863         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52864         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52865         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52866         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52867         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52868         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52869         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52870         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52871         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52872         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52873         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52874         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52875         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52876         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52877         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52878         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52879         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52880         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52881         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52882         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52883         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52884         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52885         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52886         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52887         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52888         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52889         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52890         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52891         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52892         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52893         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52894         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52895         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52896         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52897         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52898         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52899         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52900         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52901         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52902         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52903         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52904         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52906         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52907         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52908         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52909         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52911         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52912         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52913         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52914         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52915         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52916         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52917         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52918         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52919         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52920         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52921         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52922         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52923         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52924         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52925         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52926         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52927         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52928         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52929         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52930         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52931         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52932         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52933         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52935         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52936         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52938         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52939         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52940         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52941         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52942         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52943         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52944         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52945         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52946         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52947         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52948         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52949         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52950         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52951         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52952         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52953         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52954         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52955         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52956         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52957         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52958         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52959         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52960         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52961         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52962         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52964         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52965         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52966         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52968         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52970         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52972         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52973         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52977         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52978         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52982         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52983         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52984         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52986         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52987         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52994         * sysdeps/ieee754/s_lib_version.c: Likewise.
52995         * sysdeps/ieee754/s_matherr.c: Likewise.
52996         * sysdeps/ieee754/s_signgam.c: Likewise.
52997         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52998         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52999         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53000         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53001         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53002         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53003         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53004         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53005         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53006         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53007         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53008         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53009         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53010         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53011         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53012         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53013         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53014         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53015         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53016         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53019 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53021         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53022         * sunrpc/rpc_main.c: Likewise.
53023         * sunrpc/rpc_svcout.c: Likewise.
53025 2012-03-09  David S. Miller  <davem@davemloft.net>
53027         * include/math_private.h: New file.
53029 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53031         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53032         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53033         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53034         from <bits/socket_type.h>.
53035         (enum __socket_type): Don't define here.
53036         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53038         bits/socket_type.h.
53040         [BZ #13566]
53041         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53042         checking __USE_GNU.
53044         * Makerules ($(inst_includedir)/%.h): New rule.
53045         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53046         (install-others): Remove variable setting.
53047         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53049 2012-03-08  Richard Henderson  <rth@twiddle.net>
53051         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53052         from macro to inline function; merge with the
53053         !__LIBC_INTERNAL_MATH_INLINES version.
53054         (__ieee754_sqrtf): Likewise.
53056         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53057         to inline function.
53058         (__rintf, __floor, __floorf): Likewise.
53060         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53061         macro to inline function.
53062         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53064         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53065         not <math/math_private.h>.
53067 2012-03-08  David S. Miller  <davem@davemloft.net>
53069         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53070         copyright year.
53071         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53073 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53075         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53076         normalization.
53077         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53078         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53080 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53082         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53083         be defined individually, they must be defined as a block.  Define
53084         S for printing a string instead of hidint the different by using a
53085         macro for adding the 'l'.
53086         * stdio-common/tst-fphex-wide.c: Adjust.
53088 2012-03-07  Marek Polacek  <polacek@redhat.com>
53090         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53092 2012-03-08  Marek Polacek  <polacek@redhat.com>
53094         [BZ #13806]
53095         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53096         * stdio-common/tst-fphex.c: Define a few macros to make the
53097         test reusable.  Use them.
53098         * stdio-common/tst-fphex-wide.c: New file.
53100 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53102         [BZ #6911]
53103         * manual/macros.texi (gnusystems): New macro.
53104         (nongnusystems): Likewise.
53105         (gnulinuxhurdsystems): Likewise.
53106         (gnuhurdsystems): Likewise..
53107         (gnulinuxsystems): Likewise.
53108         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53109         variants of the GNU system, not "GNU system".
53110         * manual/conf.texi: Likewise.
53111         * manual/errno.texi: Likewise.  Update example of errno macro
53112         expansion.
53113         * manual/filesys.texi: Likewise.
53114         (getumask): Document as specific to GNU/Hurd.
53115         * manual/install.texi: Likewise.  Reword some references to
53116         GNU/Linux.
53117         * manual/intro.texi: Likewise.
53118         * manual/io.texi: Likewise.
53119         (File Name Portability): Detail which constraints are inapplicable
53120         to all GNU systems and which are only inapplicable to GNU/Hurd.
53121         * manual/job.texi: Likewise.
53122         * manual/llio.texi: Likewise.
53123         (O_NOCTTY): Document as present on GNU/Linux.
53124         * manual/maint.texi: Likewise.
53125         * manual/memory.texi: Likewise.
53126         * manual/pattern.texi: Likewise.
53127         * manual/pipe.texi: Likewise.
53128         * manual/process.texi: Likewise.
53129         * manual/resource.texi: Likewise.
53130         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53131         child on GNU/Hurd.
53132         * manual/setjmp.texi: Likewise.
53133         * manual/signal.texi: Likewise.
53134         * manual/startup.texi: Likewise.
53135         * manual/stdio.texi: Likewise.
53136         * manual/terminal.texi: Likewise.
53137         (ONLCR): Document as POSIX.
53138         (OXTABS): Document availability on GNU/Linux as XTABS.
53139         (ONOEOT): Document availability separately from other bits.
53140         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53141         * manual/time.texi: Likewise.
53142         * manual/users.texi: Likewise.
53143         * INSTALL: Regenerated.
53144         * sysdeps/gnu/errlist.c: Regenerated.
53146         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53147         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53148         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53149         puts.
53150         * configure: Regenerated.
53152 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53154         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53155         default includes instead of AC_HEADER_CHECK.
53156         * sysdeps/i386/configure: Regenerated.
53158         [BZ #10716]
53159         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53160         * math/s_cacoshf.c (__cacoshf): Likewise.
53161         * math/s_cacoshl.c (__cacoshl): Likewise.
53162         * math/s_casinh.c (__casinh): Set signs of result from argument.
53163         * math/s_casinhf.c (__casinhf): Likewise.
53164         * math/s_casinhl.c (__casinhl): Likewise.
53165         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53166         (casinh_test): Add more tests.
53167         * sysdeps/i386/fpu/libm-test-ulps: Update.
53168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53170 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53172         * po/zh_TW.po: Update from translation team.
53174         * login/Makefile (distribute): Remove variable.
53175         * catgets/Makefile: Likewise.
53176         * mach/Makefile: Likewise.
53177         * malloc/Makefile: Likewise.
53178         * misc/Makefile: Likewise.
53179         * iconv/Makefile: Likewise.
53180         * nscd/Makefile: Likewise.
53181         * hurd/Makefile: Likewise.
53182         * manual/Makefile: Likewise.
53183         * locale/Makefile: Likewise.
53184         * intl/Makefile: Likewise.
53185         * conform/Makefile: Likewise.
53186         * nss/Makefile: Likewise.
53187         * time/Makefile: Likewise.
53188         * soft-fp/Makefile: Likewise.
53189         * dirent/Makefile: Likewise.
53190         * gmon/Makefile: Likewise.
53191         * po/Makefile: Likewise.
53192         * rt/Makefile: Likewise.
53193         * socket/Makefile: Likewise.
53194         * math/Makefile: Likewise.
53195         * signal/Makefile: Likewise.
53196         * debug/Makefile: Likewise.
53197         * elf/Makefile: Likewise.
53198         * timezone/Makefile: Likewise.
53199         * stdlib/Makefile: Likewise.
53200         * iconvdata/Makefile: Likewise.
53201         * sunrpc/Makefile: Likewise.
53202         * io/Makefile: Likewise.
53203         * argp/Makefile: Likewise.
53204         * inet/Makefile: Likewise.
53205         * hesiod/Makefile: Likewise.
53206         * grp/Makefile: Likewise.
53207         * csu/Makefile: Likewise.
53208         * wctype/Makefile: Likewise.
53209         * crypt/Makefile: Likewise.
53210         * libio/Makefile: Likewise.
53211         * string/Makefile: Likewise.
53212         * nis/Makefile: Likewise.
53213         * resolv/Makefile: Likewise.
53214         * stdio-common/Makefile: Likewise.
53215         * wcsmbs/Makefile: Likewise.
53216         * dlfcn/Makefile: Likewise.
53217         * posix/Makefile: Likewise.
53219         [BZ #6959]
53220         * timezone/Makefile: Don't install timezone files, just the programs
53221         and scripts.
53223 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53225         * nss/databases.def: Add missing gshadow entry.
53227         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53229 2012-03-06  Marek Polacek  <polacek@redhat.com>
53231         [BZ #13726]
53232         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53233         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53234         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53235         * stdio-common/tst-long-dbl-fphex.c: New file.
53237 2012-03-06  David S. Miller  <davem@davemloft.net>
53239         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53240         (set_obp_int): New function.
53241         (get_obp_int): New function.
53242         (__get_clockfreq_via_dev_openprom): Likewise.
53243         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53244         Avoid unused variable warnings on 'val' and use builtin_expect.
53245         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53246         __builtin_expect.
53247         (INLINE_CLONE_SYSCALL): Likewise.
53249 2012-03-05  David S. Miller  <davem@davemloft.net>
53251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53253 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53257         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53258         only for |x| >= 40.
53259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53261 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53263         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53264         Replace gettimeofday with __vdso_gettimeofday.
53266         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53267         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53268         __vdso_clock_gettime and __vdso_getcpu.
53270         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53271         time with __vdso_time.
53273 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53275         * manual/lang.texi (size_t): Note types to which size_t may be
53276         equivalent with the GNU C Library, but do not describe when
53277         differences between them are significant.
53279 2012-03-05  Andreas Jaeger  <aj@suse.de>
53281         * sysdeps/i386/fpu/libm-test-ulps: Update.
53283 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53285         [BZ #3976]
53286         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53287         (__ieee754_pow): Save and restore rounding mode and use
53288         round-to-nearest for main computations.
53289         * math/libm-test.inc (pow_test_tonearest): New function.
53290         (pow_test_towardzero): Likewise.
53291         (pow_test_downward): Likewise.
53292         (pow_test_upward): Likewise.
53293         (main): Call the new functions.
53294         * sysdeps/i386/fpu/libm-test-ulps: Update.
53295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53297         [BZ #3976]
53298         * math/libm-test.inc (cosh_test_tonearest): New function.
53299         (cosh_test_towardzero): Likewise.
53300         (cosh_test_downward): Likewise.
53301         (cosh_test_upward): Likewise.
53302         (sinh_test_tonearest): Likewise.
53303         (sinh_test_towardzero): Likewise.
53304         (sinh_test_downward): Likewise.
53305         (sinh_test_upward): Likewise.
53306         (main): Call the new functions.
53307         * sysdeps/i386/fpu/libm-test-ulps: Update.
53308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53310 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53312         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53313         default stack guard is set in last bytes.
53314         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53316 2012-03-05  Kees Cook  <keescook@chromium.org>
53318         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53320         [BZ #13656]
53321         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53322         possibly allocate from heap instead of stack.
53323         * stdio-common/bug-vfprintf-nargs.c: New file.
53324         * stdio-common/Makefile (tests): Add nargs overflow test.
53326 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53330 2012-03-03  Marek Polacek  <polacek@redhat.com>
53332         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53333         * math/math_private.h: Likewise.
53334         * stdlib/tst-strtod.c: Likewise.
53335         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53336         * sysdeps/x86_64/bits/atomic.h: Likewise.
53338 2012-03-02  David S. Miller  <davem@davemloft.net>
53340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53344         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53345         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53346         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53347         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53349 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53351         [BZ #13792]
53352         * manual/examples/README: New file, says the example source files
53353         can be used under GPL>=2.
53354         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53355         line containing just "*/".
53356         * manual/examples/add.c: Add copyright header (GPL>=2).
53357         * manual/examples/argp-ex1.c: Likewise.
53358         * manual/examples/argp-ex2.c: Likewise.
53359         * manual/examples/argp-ex3.c: Likewise.
53360         * manual/examples/argp-ex4.c: Likewise.
53361         * manual/examples/atexit.c: Likewise.
53362         * manual/examples/db.c: Likewise.
53363         * manual/examples/dir.c: Likewise.
53364         * manual/examples/dir2.c: Likewise.
53365         * manual/examples/execinfo.c: Likewise.
53366         * manual/examples/filecli.c: Likewise.
53367         * manual/examples/filesrv.c: Likewise.
53368         * manual/examples/fmtmsgexpl.c: Likewise.
53369         * manual/examples/genpass.c: Likewise.
53370         * manual/examples/inetcli.c: Likewise.
53371         * manual/examples/inetsrv.c: Likewise.
53372         * manual/examples/isockad.c: Likewise.
53373         * manual/examples/longopt.c: Likewise.
53374         * manual/examples/memopen.c: Likewise.
53375         * manual/examples/memstrm.c: Likewise.
53376         * manual/examples/mkfsock.c: Likewise.
53377         * manual/examples/mkisock.c: Likewise.
53378         * manual/examples/mygetpass.c: Likewise.
53379         * manual/examples/pipe.c: Likewise.
53380         * manual/examples/popen.c: Likewise.
53381         * manual/examples/rprintf.c: Likewise.
53382         * manual/examples/search.c: Likewise.
53383         * manual/examples/select.c: Likewise.
53384         * manual/examples/setjmp.c: Likewise.
53385         * manual/examples/sigh1.c: Likewise.
53386         * manual/examples/sigusr.c: Likewise.
53387         * manual/examples/stpcpy.c: Likewise.
53388         * manual/examples/strdupa.c: Likewise.
53389         * manual/examples/strftim.c: Likewise.
53390         * manual/examples/strncat.c: Likewise.
53391         * manual/examples/subopt.c: Likewise.
53392         * manual/examples/swapcontext.c: Likewise.
53393         * manual/examples/termios.c: Likewise.
53394         * manual/examples/testopt.c: Likewise.
53395         * manual/examples/testpass.c: Likewise.
53396         * manual/examples/timeval_subtract.c: Likewise.
53398         [BZ #13792]
53399         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53400         function to ...
53401         * manual/timeval_subtract.c.texi: ... here, new file.
53403 2012-03-02  David S. Miller  <davem@davemloft.net>
53405         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53407 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53409         [BZ #3976]
53410         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53411         (__sin): Save and restore rounding mode and use round-to-nearest
53412         for all computations.
53413         (__cos): Save and restore rounding mode and use round-to-nearest
53414         for all computations.
53415         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53416         <fenv.h>.
53417         (tan): Save and restore rounding mode and use round-to-nearest for
53418         all computations.
53419         * math/libm-test.inc (cos_test_tonearest): New function.
53420         (cos_test_towardzero): Likewise.
53421         (cos_test_downward): Likewise.
53422         (cos_test_upward): Likewise.
53423         (sin_test_tonearest): Likewise.
53424         (sin_test_towardzero): Likewise.
53425         (sin_test_downward): Likewise.
53426         (sin_test_upward): Likewise.
53427         (tan_test_tonearest): Likewise.
53428         (tan_test_towardzero): Likewise.
53429         (tan_test_downward): Likewise.
53430         (tan_test_upward): Likewise.
53431         (main): Call the new functions.
53432         * sysdeps/i386/fpu/libm-test-ulps: Update.
53433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53435         [BZ #10135]
53436         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53437         small n, then large n, before computing and testing k+n.
53438         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53440         Likewise.
53441         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53442         Likewise.
53443         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53444         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53445         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53446         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53447         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53448         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53449         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53450         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53451         * math/libm-test.inc (scalbn_test): Add more tests.
53452         (scalbln_test): Likewise.
53454         * manual/filesys.texi (mode_t): Describe constraints on size and
53455         signedness, not exact equivalence to a particular type.
53456         (ino_t): Likewise.
53457         (ino64_t): Likewise.
53458         (dev_t): Likewise.
53459         (nlink_t): Likewise.
53460         (blkcnt_t): Likewise.
53461         (blkcnt64_t): Likewise.
53462         * manual/llio.texi (off_t): Likewise.
53464         [BZ #3976]
53465         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53466         (__ieee754_exp): Save and restore rounding mode and use
53467         round-to-nearest for all computations.
53468         * math/libm-test.inc (exp_test_tonearest): New function.
53469         (exp_test_towardzero): Likewise.
53470         (exp_test_downward): Likewise.
53471         (exp_test_upward): Likewise.
53472         (main): Call the new functions.
53473         * sysdeps/i386/fpu/libm-test-ulps: Update.
53474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53476 2012-03-01  Chris Demetriou  <cgd@google.com>
53478         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53479         have predictable order.
53481 2012-03-01  David S. Miller  <davem@davemloft.net>
53483         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53485         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53486         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53487         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53488         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53490         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53491         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53492         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53494         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53495         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53496         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53497         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53498         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53502         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53503         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53504         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53506         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53507         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53508         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53509         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53510         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53511         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53512         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53513         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53514         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53515         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53516         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53517         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53518         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53519         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53520         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53521         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53522         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53523         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53524         * sysdeps/sparc/elf/configure: Regenerated.
53526 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53528         * configure.in (AS, LD): Require binutils 2.20 or later.
53529         * configure: Regenerated.
53530         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53531         as required minimum version.
53532         * INSTALL: Regenerated.
53534         [BZ #2541]
53535         [BZ #4108]
53536         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53537         before squaring exponent.
53538         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53539         bottom long double and 27 bits of top long double before squaring
53540         exponent.
53541         * math/libm-test.inc (erfc_test): Add more tests.
53542         * sysdeps/i386/fpu/libm-test-ulps: Update.
53543         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53546 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53548         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53549         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53550         containing bit-fields.
53551         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53552         * soft-fp/single.h (_FP_UNION_S): Likewise.
53553         * soft-fp/double.h (_FP_UNION_D): Likewise.
53555 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53557         [BZ #13786]
53558         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53559         not include ../strcmp.S.
53560         [USE_AS_STRNCASECMP_L]: Likewise.
53561         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53562         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53563         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53564         (__strncasecmp_l_ia32): Define as alias to
53565         __strncasecmp_l_nonascii.
53567         [BZ #5794]
53568         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53569         * sysdeps/i386/fpu/libm-test-ulps: Update.
53570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53572         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53575 2012-02-29  Jeff Law  <law@redhat.com>
53577         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53578         out of bounds read.
53580 2012-02-29  Marek Polacek  <polacek@redhat.com>
53582         [BZ #13706]
53583         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53584         * elf/Makefile: Add rules to run tst-unused-dep.out.
53586 2012-02-28  David S. Miller  <davem@davemloft.net>
53588         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53589         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53590         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53591         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53592         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53593         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53595 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53597         * math/libm-test.inc (llround_test): Move one test from
53598         lround_test.  Use TEST_f_L in moved test.
53599         (lround_test): Move misplaced test to llround_test.  Add testcase
53600         from bug 2561.
53602 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53604         * sysdeps/x86_64/fpu/e_expf.S: New file.
53605         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53607 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53609         [BZ #13637]
53610         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53611         of remain_len that may cause incomplete multi-byte character and
53612         false match.
53613         * posix/bug-regex33.c: New file.
53614         * posix/Makefile (tests): Add bug-regex33.
53616 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53618         * manual/macros.texi: New file.
53619         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53620         * manual/libc.texinfo: Include macros.texi.
53621         * manual/creatute.texi: Likewise.
53622         * manual/install.texi: Likewise.
53623         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53624         @glibcadj{} in references to the GNU C Library.
53625         * manual/charset.texi: Likewise.
53626         * manual/conf.texi: Likewise.
53627         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53628         when not using those macros.
53629         * manual/creature.texi: Likewise.
53630         * manual/crypt.texi: Likewise.
53631         * manual/errno.texi: Likewise.
53632         * manual/filesys.texi: Likewise.
53633         * manual/header.texi: Likewise.
53634         * manual/install.texi: Likewise.
53635         * manual/intro.texi: Likewise.
53636         * manual/io.texi: Likewise.
53637         * manual/job.texi: Likewise.
53638         * manual/lang.texi: Likewise.
53639         * manual/libc.texiinfo: Likewise.
53640         * manual/llio.texi: Likewise.
53641         * manual/locale.texi: Likewise.
53642         * manual/maint.texi: Likewise.
53643         * manual/math.texi: Likewise.
53644         * manual/memory.texi: Likewise.
53645         * manual/message.texi: Likewise.
53646         * manual/nss.texi: Likewise.
53647         * manual/pattern.texi: Likewise.
53648         * manual/process.texi: Likewise.
53649         * manual/resource.texi: Likewise.
53650         * manual/search.texi: Likewise.
53651         * manual/setjmp.texi: Likewise.
53652         * manual/signal.texi: Likewise.
53653         * manual/socket.texi: Likewise.
53654         * manual/startup.texi: Likewise.
53655         * manual/stdio.texi: Likewise.
53656         * manual/string.texi: Likewise.
53657         * manual/sysinfo.texi: Likewise.
53658         * manual/syslog.texi: Likewise.
53659         * manual/terminal.texi: Likewise.
53660         * manual/time.texi: Likewise.
53661         * manual/users.texi: Likewise.
53662         * INSTALL: Regenerated.
53663         * NOTES: Regenerated.
53664         * sysdeps/gnu/errlist.c: Regenerated.
53666 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53668         * include/dirent.h: Include <dirstream.h> before
53669         <dirent/dirent.h>.
53671 2012-02-28  David S. Miller  <davem@davemloft.net>
53673         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53674         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53675         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53676         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53678 2012-02-27  David S. Miller  <davem@davemloft.net>
53680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53682         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53683         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53686         frame pointer instead of stack pointer relative arg slot.
53687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53688         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53689         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53691 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53693         [BZ #3992]
53694         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53696 2012-02-27  David S. Miller  <davem@davemloft.net>
53698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53702         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53703         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53704         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53705         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53707 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53709         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53710         later.  Allow versions 5-9.
53711         * configure: Regenerated.
53712         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53713         required minimum version and 4.6 as recommended version.  Do not
53714         mention bugs in GCC 2.7 and 2.8.
53715         * INSTALL: Regenerated.
53717 2012-02-27  David S. Miller  <davem@davemloft.net>
53719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53723         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53724         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53725         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53726         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53728         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53729         manipulate bits before adding and subtracting TWO112[sx].
53730         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53732 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53734         [BZ #13775]
53735         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53736         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53737         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53738         being in POSIX, because they are in 1003.1-2008.
53740         * rt/tst-aio.c: Include <fcntl.h>.
53741         * rt/tst-aio7.c: Likewise.
53742         * rt/tst-aio64.c: Likewise.
53744         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53746 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53748         * manual/install.texi (--with-headers): Describe headers as
53749         interface headers, not private headers.
53750         (Specific advice for GNU/Linux systems): Describe use of headers
53751         from "make headers_install", not private headers from older
53752         kernels.
53753         * INSTALL: Regenerated.
53754         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53755         Change to 2.6.19.
53756         * sysdeps/unix/sysv/linux/configure: Regenerated.
53758         * manual/llio.texi (fclean): Remove documentation.
53760         * manual/Makefile (libc-texi-generated): New variable.  Include
53761         version.texi.
53762         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53763         $(libc-texi-generated), not duplicated list of files.
53764         (version.texi, stamp-version): New rules.
53765         (realclean): Remove $(libc-texi-generated), not individual files
53766         from that list.  Do not remove dir-add.texinfo.
53767         * manual/libc.texinfo: Comment out uses of edition numbers and
53768         references to printed manual.  Remove last-updated dates.
53769         (EDITION): Comment out.
53770         (ISBN): Likewise.
53771         (VERSION, UPDATED): Remove.
53772         (version.texi): Include.
53774 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53776         * sysdeps/posix/spawni.c: Include <signal.h>.
53777         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53778         * sysdeps/pthread/aio_fsync.c: Likewise.
53780 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53782         * conform/Makefile (tests): Run only when not cross-compiling and
53783         when fast-check is not defined.
53785         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53786         * conform/data/limits.h-data: Fixes for POSIX2008.
53787         * conform/run-conformtest.sh: Run all tests.
53788         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53789         headers.
53790         * include/bits/dlfcn.h: Likewise.
53791         * include/langinfo.h: Likewise.
53792         * include/monetary.h: Likewise.
53793         * include/sys/poll.h: Likewise.
53795         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53796         for __USE_GNU.
53797         * posix/spawn.h: Define __need_sigset_t.
53798         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53799         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53800         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53801         to get sigevent_t only.
53802         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53803         only for __USE_GNU.
53804         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53805         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53806         process_vm_writev only for __USE_GNU.
53807         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53809         * conform/Makefile: For now ignore errors from run-conformtest.
53810         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53811         POSIX to avoid namespace pollution.  Don't prepend headers.
53812         * conform/data/aio.h-data: Fixes for POSIX testing.
53813         * conform/data/fcntl.h-data: Likewise.
53814         * conform/data/glob.h-data: Likewise.
53815         * conform/data/grp.h-data: Likewise.
53816         * conform/data/pthread.h-data: Likewise.
53817         * conform/data/pwd.h-data: Likewise.
53818         * conform/data/signal.h-data: Likewise.
53819         * conform/data/spawn.h-data: Likewise.
53820         * conform/data/stdio.h-data: Likewise.
53821         * conform/data/stdlib.h-data: Likewise.
53822         * conform/data/stropts.h-data: Likewise.
53823         * conform/data/sys/mman.h-data: Likewise.
53824         * conform/data/sys/stat.h-data: Likewise.
53825         * conform/data/sys/types.h-data: Likewise.
53826         * conform/data/sys/wait.h-data: Likewise.
53827         * conform/data/time.h-data: Likewise.
53828         * conform/data/unistd.h-data: Likewise.
53829         * conform/data/utime.h-data: Likewise.
53831         * io/sys/stat.h: fchmod was always in POSIX.
53832         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53833         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53834         * rt/aio.h: Define __need_timespec before including <time.h>.
53835         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53836         struct.  Add forward declaration of pthread_attr_t and use it in
53837         sigevent.
53838         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53840         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53841         always remove CLK_TCK definition.
53843 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53845         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53847 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53849         * conform/run-conformtest.sh: New file.
53850         * conform/Makefile: Run run-conformtest for tests.
53851         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53852         support.
53854         * conform/data/uchar.h-data: New file.
53855         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53856         * conform/data/arpa/inet.h-data: Likewise.
53857         * conform/data/assert.h-data: Likewise.
53858         * conform/data/complex.h-data: Likewise.
53859         * conform/data/cpio.h-data: Likewise.
53860         * conform/data/ctype.h-data: Likewise.
53861         * conform/data/dirent.h-data: Likewise.
53862         * conform/data/dlfcn.h-data: Likewise.
53863         * conform/data/errno.h-data: Likewise.
53864         * conform/data/fcntl.h-data: Likewise.
53865         * conform/data/float.h-data: Likewise.
53866         * conform/data/fmtmsg.h-data: Likewise.
53867         * conform/data/fnmatch.h-data: Likewise.
53868         * conform/data/ftw.h-data: Likewise.
53869         * conform/data/glob.h-data: Likewise.
53870         * conform/data/grp.h-data: Likewise.
53871         * conform/data/iconv.h-data: Likewise.
53872         * conform/data/inttypes.h-data: Likewise.
53873         * conform/data/langinfo.h-data: Likewise.
53874         * conform/data/libgen.h-data: Likewise.
53875         * conform/data/limits.h-data: Likewise.
53876         * conform/data/locale.h-data: Likewise.
53877         * conform/data/math.h-data: Likewise.
53878         * conform/data/monetary.h-data: Likewise.
53879         * conform/data/mqueue.h-data: Likewise.
53880         * conform/data/ndbm.h-data: Likewise.
53881         * conform/data/net/if.h-data: Likewise.
53882         * conform/data/netdb.h-data: Likewise.
53883         * conform/data/netinet/in.h-data: Likewise.
53884         * conform/data/nl_types.h-data: Likewise.
53885         * conform/data/poll.h-data: Likewise.
53886         * conform/data/pthread.h-data: Likewise.
53887         * conform/data/pwd.h-data: Likewise.
53888         * conform/data/regex.h-data: Likewise.
53889         * conform/data/sched.h-data: Likewise.
53890         * conform/data/search.h-data: Likewise.
53891         * conform/data/semaphore.h-data: Likewise.
53892         * conform/data/setjmp.h-data: Likewise.
53893         * conform/data/signal.h-data: Likewise.
53894         * conform/data/spawn.h-data: Likewise.
53895         * conform/data/stdarg.h-data: Likewise.
53896         * conform/data/stdio.h-data: Likewise.
53897         * conform/data/stdlib.h-data: Likewise.
53898         * conform/data/string.h-data: Likewise.
53899         * conform/data/strings.h-data: Likewise.
53900         * conform/data/stropts.h-data: Likewise.
53901         * conform/data/sys/ipc.h-data: Likewise.
53902         * conform/data/sys/mman.h-data: Likewise.
53903         * conform/data/sys/msg.h-data: Likewise.
53904         * conform/data/sys/resource.h-data: Likewise.
53905         * conform/data/sys/select.h-data: Likewise.
53906         * conform/data/sys/sem.h-data: Likewise.
53907         * conform/data/sys/shm.h-data: Likewise.
53908         * conform/data/sys/socket.h-data: Likewise.
53909         * conform/data/sys/stat.h-data: Likewise.
53910         * conform/data/sys/statvfs.h-data: Likewise.
53911         * conform/data/sys/time.h-data: Likewise.
53912         * conform/data/sys/timeb.h-data: Likewise.
53913         * conform/data/sys/times.h-data: Likewise.
53914         * conform/data/sys/types.h-data: Likewise.
53915         * conform/data/sys/uio.h-data: Likewise.
53916         * conform/data/sys/un.h-data: Likewise.
53917         * conform/data/sys/utsname.h-data: Likewise.
53918         * conform/data/sys/wait.h-data: Likewise.
53919         * conform/data/syslog.h-data: Likewise.
53920         * conform/data/tar.h-data: Likewise.
53921         * conform/data/termios.h-data: Likewise.
53922         * conform/data/utime.h-data: Likewise.
53923         * conform/data/utmpx.h-data: Likewise.
53924         * conform/data/varargs.h-data: Likewise.
53925         * conform/data/wchar.h-data: Likewise.
53926         * conform/data/wctype.h-data: Likewise.
53927         * conform/data/wordexp.h-data: Likewise.
53929         * include/stropts.h: New file.
53930         * include/uchar.h: New file.
53931         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53932         * include/assert.h: Likewise.
53933         * include/ctype.h: Likewise.
53934         * include/dirent.h: Likewise.
53935         * include/dlfcn.h: Likewise.
53936         * include/fcntl.h: Likewise.
53937         * include/fnmatch.h: Likewise.
53938         * include/glob.h: Likewise.
53939         * include/grp.h: Likewise.
53940         * include/libio.h: Likewise.
53941         * include/locale.h: Likewise.
53942         * include/math.h: Likewise.
53943         * include/net/if.h: Likewise.
53944         * include/netdb.h: Likewise.
53945         * include/netinet/in.h: Likewise.
53946         * include/pthread.h: Likewise.
53947         * include/pwd.h: Likewise.
53948         * include/regex.h: Likewise.
53949         * include/sched.h: Likewise.
53950         * include/search.h: Likewise.
53951         * include/setjmp.h: Likewise.
53952         * include/signal.h: Likewise.
53953         * include/stdio.h: Likewise.
53954         * include/stdlib.h: Likewise.
53955         * include/string.h: Likewise.
53956         * include/sys/cdefs.h: Likewise.
53957         * include/sys/mman.h: Likewise.
53958         * include/sys/msg.h: Likewise.
53959         * include/sys/resource.h: Likewise.
53960         * include/sys/select.h: Likewise.
53961         * include/sys/socket.h: Likewise.
53962         * include/sys/stat.h: Likewise.
53963         * include/sys/statvfs.h: Likewise.
53964         * include/sys/time.h: Likewise.
53965         * include/sys/times.h: Likewise.
53966         * include/sys/uio.h: Likewise.
53967         * include/sys/utsname.h: Likewise.
53968         * include/sys/wait.h: Likewise.
53969         * include/termios.h: Likewise.
53970         * include/time.h: Likewise.
53971         * include/ulimit.h: Likewise.
53972         * include/unistd.h: Likewise.
53973         * include/utime.h: Likewise.
53974         * include/wchar.h: Likewise.
53975         * include/wctype.h: Likewise.
53976         * include/wordexp.h: Likewise.
53978         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53980         * time/time.h: TIME_UTC must be a macro.
53981         Make timespec_get available for ISO C11 only as well.
53983 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53985         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53986         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53988 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53990         * configure.in: Use -o not -a in test for unsupported multi-arch.
53992 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53994         * manual/texinfo.tex: Update to version 2012-01-19.16.
53996 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53998         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54000 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54002         [BZ #13738]
54003         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54004         * manual/fdl-1.3.texi: New file.
54005         * manual/fdl-1.1.texi: File removed.
54007         [BZ #13738]
54008         * manual/libc.texinfo (FDL_VERSION): New @set.
54009         Use it for mention of FDL in cover text.
54010         (Documentation License): Use it in @include file name.
54012 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54013             Roland McGrath  <roland@hack.frob.com>
54015         [BZ #5461]
54016         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54017         (not LONG_LONG_MAX and LONG_LONG_MIN.
54018         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54019         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54020         name.
54021         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54023 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54025         [BZ #2547]
54026         [BZ #11365]
54027         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54028         manipulate bits before adding and subtracting TWO23[sx].
54029         * math/libm-test.inc (nearbyint_test): Add more tests.
54031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54033         [BZ #2548]
54034         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54035         bits before adding and subtracting TWO23[sx].
54036         * math/libm-test.inc (rint_test): Add more tests.
54037         (rint_test_tonearest): Likewise.
54038         (rint_test_towardzero): Likewise.
54039         (rint_test_downward): Likewise.
54040         (rint_test_upward: Likewise.
54042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54044         [BZ #10110]
54045         * include/stdc-predef.h: New file.  Extracted from features.h.
54046         * include/features.h: Include stdc-predef.h.
54047         * Makefile (headers): Add stdc-predef.h.
54048         * CONFORMANCE (Compiler limitations): Update.
54050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54052         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54054 2012-02-21  David S. Miller  <davem@davemloft.net>
54056         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54057         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54059 2012-02-20  David S. Miller  <davem@davemloft.net>
54061         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54062         using a normal save/restore sequence, rather than allocating a
54063         dummy stack frame just to store a frame pointer and restore.
54064         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54066 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54068         * manual/install.texi: Fix stray word in line-wrapped comment.
54070 2012-02-20  David S. Miller  <davem@davemloft.net>
54072         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54073         both binutils and gcc support GOTDATA.
54075         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54076         "rd %pc" in the PIC register setup sequences.
54078         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54079         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54080         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54081         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54082         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54083         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54084         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54085         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54087         (SYSCALL_ERROR_HANDLER): Likewise.
54088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54091         (SYSCALL_ERROR_HANDLER): Likewise.
54093         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54094         (HAVE_GCC_GOTDATA): New.
54095         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54096         relocation support in both binutils and gcc.
54097         * sysdeps/sparc/elf/configure: Regenerate.
54099         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54100         * sysdeps/sparc/sparc32/elf/configure: Delete.
54101         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54102         * sysdeps/sparc/sparc64/elf/configure: Delete.
54103         * sysdeps/sparc/elf/configure.in: New file.
54104         * sysdeps/sparc/elf/configure: Generate.
54106         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54107         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54108         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54109         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54110         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54112 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54114         * manual/install.texi: Do not mention specific glibc version
54115         numbers.
54116         * manual/libc.texinfo (VERSION, UPDATED): Update.
54117         (@copying): Use @copyright{} and range of years.
54119 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54121         [BZ #13695]
54122         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54123         [crti.S not in sysdirs] (generated): Do not append.
54124         [crti.S not in sysdirs] (omit-deps): Likewise.
54125         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54126         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54127         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54128         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54129         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54130         Likewise.
54131         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54132         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54133         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54134         * csu/defs.awk: Remove file.
54135         * sysdeps/generic/initfini.c: Likewise.
54136         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54137         variable.
54138         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54139         Likewise.
54141 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54143         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54144         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54145         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54146         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54147         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54148         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54149         <bits/epoll.h>.
54150         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54151         (__EPOLL_PACKED): Define to empty if not defined by
54152         <bits/epoll.h>.
54153         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54155         bits/epoll.h.
54157 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54159         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54160         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54161         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54162         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54163         <bits/timerfd.h>.
54164         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54166         bits/timerfd.h.
54168 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54170         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54171         in C locale.
54172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54173         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54174         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54177 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54179         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54180         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54182 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54184         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54185         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54186         defined.
54187         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54188         Likewise.
54189         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54190         entry for 2.16.
54192 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54194         * math/w_acos.c: Use non-signaling floating-point comparisons.
54195         * math/w_acosf.c: Likewise.
54196         * math/w_acosh.c: Likewise.
54197         * math/w_acoshf.c: Likewise.
54198         * math/w_acoshl.c: Likewise.
54199         * math/w_acosl.c: Likewise.
54200         * math/w_asin.c: Likewise.
54201         * math/w_asinf.c: Likewise.
54202         * math/w_asinl.c: Likewise.
54203         * math/w_atanh.c: Likewise.
54204         * math/w_atanhf.c: Likewise.
54205         * math/w_atanhl.c: Likewise.
54206         * math/w_exp2.c: Likewise.
54207         * math/w_exp2f.c: Likewise.
54208         * math/w_exp2l.c: Likewise.
54209         * math/w_j0.c: Likewise.
54210         * math/w_j0f.c: Likewise.
54211         * math/w_j0l.c: Likewise.
54212         * math/w_j1.c: Likewise.
54213         * math/w_j1f.c: Likewise.
54214         * math/w_j1l.c: Likewise.
54215         * math/w_jn.c: Likewise.
54216         * math/w_jnf.c: Likewise.
54217         * math/w_log.c: Likewise.
54218         * math/w_log10.c: Likewise.
54219         * math/w_log10f.c: Likewise.
54220         * math/w_log10l.c: Likewise.
54221         * math/w_log2.c: Likewise.
54222         * math/w_log2f.c: Likewise.
54223         * math/w_log2l.c: Likewise.
54224         * math/w_logf.c: Likewise.
54225         * math/w_logl.c: Likewise.
54226         * math/w_sqrt.c: Likewise.
54227         * math/w_sqrtf.c: Likewise.
54228         * math/w_sqrtl.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54231         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54232         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54233         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54235 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54237         [BZ #9739]
54238         * manual/string.texi (strnlen): Use correct parameter name in
54239         equivalent expression.
54241 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54243         [BZ #11174]
54244         * manual/users.texi (seteuid): Consistently use neweuid for
54245         argument name.
54247 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54249         [BZ #13704]
54250         * manual/nss.texi (Services in the NSS configuration): Correct
54251         list of services in example configuration file.
54253 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54255         [BZ #11322]
54256         * manual/arith.texi: Remove statements about negative zero
54257         behaving identically to zero.
54259 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54261         [BZ #5993]
54262         * manual/install.texi: Do not document upgrading from libc5.
54264 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54266         [BZ #4596]
54267         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54269 2012-02-18  David S. Miller  <davem@davemloft.net>
54271         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54272         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54273         %o7 across the call.
54274         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54275         instead.
54276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54277         SETUP_PIC_REG_LEAF.
54278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54279         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54280         * sysdeps/sparc/crtn.S: Likewise.
54282 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54284         * aout/Makefile: Remove.
54286 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54288         [BZ #13058]
54289         * manual/examples/argp-ex1.c (main): Format definition in GNU
54290         style.
54291         * manual/examples/argp-ex2.c (main): Likewise.
54292         * manual/examples/argp-ex3.c (main): Likewise.
54293         * manual/examples/argp-ex4.c (main): Likewise.
54294         * manual/examples/longopt.c (main): Use new-style prototype
54295         definition.
54296         * manual/examples/strncat.c (main): Specify return type and use
54297         (void) for arguments.
54298         * manual/examples/subopt.c (main): Use char **argv argument.
54300 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54302         [BZ #5077]
54303         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54304         rounding modes.
54306 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54308         [BZ #6907]
54309         * manual/string.texi (strchr): Change when strchrnul is
54310         recommended.
54312 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54314         [BZ #174]
54315         * manual/locale.texi (setlocale): Document LOCPATH.
54317 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54319         [BZ #10210]
54320         * manual/process.texi (execle): Move @dots{} before last argument.
54322 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54324         [BZ #12047]
54325         * manual/charset.texi (Generic Charset Conversion): Fix typo
54326         (LC_TYPE -> LC_CTYPE).
54328 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54330         [BZ #5805]
54331         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54332         (scalbnf): Likewise.
54333         (scalbnl): Likewise.
54334         (scalbln): Likewise.
54335         (scalblnf): Likewise.
54336         (scalblnl): Likewise.
54337         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54338         (vwarnx): Likewise.
54339         (verr): Likewise.
54340         (verrx): Likewise.
54341         * manual/filesys.texi (telldir): Use braces around return type.
54342         * manual/llio.texi (mmap): Add space after comma.
54343         (mmap64): Likewise.
54344         * manual/math.texi (jn): Use @var{} on parameter names.
54345         (jnf): Likewise.
54346         (jnl): Likewise.
54347         (yn): Likewise.
54348         (ynf): Likewise.
54349         (ynl): Likewise.
54350         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54351         line.
54352         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54353         "...".
54354         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54355         (sched_get_priority_max): Likewise.
54356         * manual/signal.texi (sigvec): Add space after comma.
54357         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54358         names.
54359         (if_indextoname): Likewise.
54360         (if_freenameindex): Likewise.
54361         (sendto): Use ',' instead of '.' in prototype.
54362         * manual/startup.texi (syscall): Use @dots{} instead of literal
54363         "...".
54364         * manual/stdio.texi (__fpending): Separate initial words of
54365         paragraph from @deftypefun line.
54366         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54367         "...".
54368         (vsyslog): Use @var{} on parameter names.
54369         * manual/terminal.texi (stty): Use @var{} on parameter names.
54370         * manual/users.texi (getutmp): Use @var{} on parameter names.
54371         (getutmpx): Likewise.
54373 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54375         [BZ #6884]
54376         * manual/stdio.texi (fopen): Fix typos in description of
54377         ",ccs=STRING".
54379 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54381         [BZ #4026]
54382         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54383         get clock_id definition.
54385 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54387         [BZ #4822]
54388         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54389         (madvise): Cast every argument to void on its own.
54391 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54393         [BZ #9902]
54394         * manual/startup.texi (Exit Status): Fix typo.
54396 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54398         [BZ #10140]
54399         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54400         * manual/examples/argp-ex2.c: Likewise.
54401         * manual/examples/argp-ex3.c: Likewise.
54403 2012-02-16  Richard Henderson  <rth@redhat.com>
54405         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54406         * sysdeps/s390/s390-32/initfini.c: Remove.
54407         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54408         * sysdeps/s390/s390-64/initfini.c: Remove.
54410 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54412         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54413         compiler output for sysdeps/generic/initfini.c.
54414         * sysdeps/sh/elf/initfini.c: Remove file.
54416 2012-02-16  David S. Miller  <davem@davemloft.net>
54418         [BZ #11494]
54419         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54421         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54422         * sysdeps/sparc/crti.S: New file.
54423         * sysdeps/sparc/crtn.S: New file.
54424         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54425         * sysdeps/sparc/sparc64/Makefile: Likewise.
54427 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54429         [BZ #3335]
54430         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54432 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54434         [BZ #4822]
54435         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54437         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54438         (write, read, close): Likewise.
54439         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54441 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54443         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54444         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54445         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54446         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54447         <bits/signalfd.h>.
54448         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54450         bits/signalfd.h.
54452 2012-02-14  Marek Polacek  <polacek@redhat.com>
54454         * sysdeps/x86_64/crti.S: New file.
54455         * sysdeps/x86_64/crtn.S: New file.
54456         * sysdeps/x86_64/elf/initfini.c: Remove file.
54458 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54460         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54461         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54462         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54463         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54464         <bits/inotify.h>.
54465         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54467         bits/inotify.h.
54469 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54471         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54472         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54473         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54474         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54475         <bits/eventfd.h>.
54476         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54478         bits/eventfd.h.
54480 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54482         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54483         __feraiseexcept instead of feraiseexcept.
54485         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54486         nanosleep invocations.
54487         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54488         strings, and add error checking for a nanosleep invocations.
54490 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54492         Replace FSF snail mail address with URLs, as per GNU coding standards.
54493         Most of the snail mail addresses were wrong anyway, and omitting
54494         them makes the source code easier to maintain.  Almost all of the
54495         changes are to license notices and to locale LC_IDENTIFICATION
54496         addresses, except for this one:
54497         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54498         not its snail mail address.
54500 2012-02-09  Richard Henderson  <rth@twiddle.net>
54502         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54503         of kernel-features.h.
54505         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54507 2012-02-08  Marek Polacek  <polacek@redhat.com>
54509         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54510         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54511         * sysdeps/gnu/_G_config.h: Likewise.
54512         * sysdeps/generic/_G_config.h: Likewise.
54514 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54516         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54517         tests.
54518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54520         * sysdeps/powerpc/powerpc32/crti.S: New file.
54521         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54522         * sysdeps/powerpc/powerpc64/crti.S: New file.
54523         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54525         * Makeconfig (have-initfini): Don't set.
54526         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54527         * configure.in (nopic_initfini): Don't substitute.
54528         * config.h.in (HAVE_INITFINI): Don't #undef.
54529         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54530         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54532 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54534         Support crti.S and crtn.S provided directly by architectures.
54535         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54536         [crti.S in sysdirs] (omit-deps): Likewise.
54537         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54538         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54539         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54540         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54541         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54542         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54543         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54544         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54545         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54546         compiler output for sysdeps/generic/initfini.c.
54547         * sysdeps/i386/elf/Makefile: Remove file.
54548         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54550 2012-02-07  Marek Polacek  <polacek@redhat.com>
54552         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54553         * sysdeps/gnu/_G_config.h: Likewise.
54554         * sysdeps/mach/hurd/_G_config.h: Likewise.
54556 2012-02-07  Marek Polacek  <polacek@redhat.com>
54558         * math/Makefile (tests): Add tst-CMPLX2.
54559         * math/tst-CMPLX2.c: New file.
54561 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54563         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54565         * math/libm-test.inc (jn_test): Add missing L suffix.
54567 2012-02-06  Marek Polacek  <polacek@redhat.com>
54569         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54570         * sysdeps/i386/fpu/e_powf.S: Likewise.
54571         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54572         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54573         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54574         * sysdeps/i386/fpu/e_pow.S: Likewise.
54575         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54576         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54577         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54578         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54579         * sysdeps/i386/fpu/e_log2.S: Likewise.
54580         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54581         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54582         * sysdeps/i386/fpu/e_powl.S: Likewise.
54583         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54584         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54585         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54586         * sysdeps/i386/fpu/e_logl.S: Likewise.
54587         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54588         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54589         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54590         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54591         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54592         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54593         * sysdeps/i386/fpu/e_log.S: Likewise.
54594         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54595         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54596         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54597         * sysdeps/i386/fpu/e_logf.S: Likewise.
54598         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54599         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54600         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54601         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54602         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54603         * sysdeps/i386/fpu/e_log10.S: Likewise.
54604         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54605         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54606         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54607         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54608         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54609         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54610         * sysdeps/i386/asm-syntax.h: Likewise.
54611         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54612         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54613         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54614         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54615         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54616         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54617         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54618         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54619         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54620         * sysdeps/powerpc/sysdep.h: Likewise.
54621         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54622         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54624 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54626         [BZ #411]
54627         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54629 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54631         * sysdeps/i386/sysdep.h: Include <features.h>.
54632         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54633         version.
54635 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54637         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54638         Define.
54639         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54640         LOAD_PIC_REG_STR.
54642 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54644         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54645         (SETUP_PIC_REG): Use GET_PC_THUNK.
54646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54647         macro.
54649 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54651         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54652         for non-PIC compilation.
54653         (SETUP_PIC_REG): Add .p2align directive.
54654         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54655         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54656         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54657         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54658         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54659         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54660         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54661         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54662         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54663         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54664         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54665         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54666         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54667         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54668         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54669         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54670         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54671         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54672         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54673         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54674         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54675         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54676         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54677         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54678         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54680         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54681         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54682         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54683         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54684         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54685         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54686         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54687         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54688         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54689         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54690         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54691         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54692         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54693         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54694         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54696 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54698         * math/tst-CMPLX.c: Include <stdio.h>.
54700 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54702         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54703         float.
54704         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54705         * sysdeps/sparc/bits/mathdef.h: Likewise.
54707 2012-01-31  Marek Polacek  <polacek@redhat.com>
54709         * libio/libio.h: Don't define _PARAMS.
54710         * locale/programs/config.h: Don't define PARAMS.
54711         * stdlib/strtol_l.c: Likewise.
54712         (__strtol_l): Remove PARAMS from the prototype.
54714 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54716         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54717         names.  Just use the correct names.  Remove unnecessary wrapper
54718         functions.
54719         * malloc/arena.c: Likewise.
54720         * malloc/hooks.c: Likewise.
54722         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54723         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54724         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54726 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54728         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54729         into tail calls.
54730         (update_get_addr): New function.
54731         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54732         GET_ADDR_MODULE parameter.
54734 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54736         * crypt/cert.c: Remove __STDC__ conditionals.
54737         * crypt/crypt-entry.c: Likewise.
54738         * crypt/crypt_util.c: Likewise.
54739         * libio/filedoalloc.c: Likewise.
54740         * libio/fileops.c: Likewise.
54741         * libio/genops.c: Likewise.
54742         * libio/iofclose.c: Likewise.
54743         * libio/iofdopen.c: Likewise.
54744         * libio/iofopen.c: Likewise.
54745         * libio/iofopen64.c: Likewise.
54746         * libio/iogetdelim.c: Likewise.
54747         * libio/iopopen.c: Likewise.
54748         * libio/obprintf.c: Likewise.
54749         * libio/oldfileops.c: Likewise.
54750         * libio/oldiofclose.c: Likewise.
54751         * libio/oldiofdopen.c: Likewise.
54752         * libio/oldiofopen.c: Likewise.
54753         * libio/oldiopopen.c: Likewise.
54754         * libio/wfiledoalloc.c: Likewise.
54755         * libio/wgenops.c: Likewise.
54756         * locale/programs/xmalloc.c: Likewise.
54757         * misc/syslog.c: Likewise.
54758         * stdio-common/xbug.c: Likewise.
54759         * string/memchr.c: Likewise.
54760         * string/memcmp.c: Likewise.
54761         * string/memrchr.c: Likewise.
54762         * string/rawmemchr.c: Likewise.
54763         * sysdeps/posix/getcwd.c: Likewise.
54764         * time/strftime_l.c: Likewise.
54766 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54768         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54769         * config.make.in (config-cflags-sse2avx): Define.
54770         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54771         Fix typo.
54773 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54775         * scripts/config.guess: Update from upstream config git repository.
54776         * scripts/config.sub: Likewise.
54778 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54780         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54781         (EM_NUM): Update.
54782         (R_TILEPRO_*, R_TILEGX_*): New macros.
54784         * scripts/firstversions.awk: Fix bug in version range handling.
54786         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54788         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54790         * include/sys/epoll.h: New file.
54791         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54792         libc_hidden_def.
54794 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54796         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54797         Avoid unnecessary __WORDSIZE == 64 test.
54798         (fmaxf): Use VEX format if possible.
54799         (fmax): Likewise.
54800         (fminf): Likewise.
54801         (fmin): Likewise.
54803         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54804         * math/math_private.h: Remove libc_fegetround* and
54805         libc_fesetround*.
54806         * sysdeps/i386/configure.in: Check for -msse2avx.
54807         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54808         also if SSE2AVX is defined.
54809         Remove libc_fegetround* and libc_fesetround*.
54810         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54811         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54812         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54813         of HAS_YMM_USABLE.
54814         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54815         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54816         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54817         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54820         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54822 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54824         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54825         size is not set.
54826         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54828 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54830         [BZ #13618]
54831         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54832         relocation.
54833         * Makeconfig (libm): Define.
54834         * elf/Makefile: Add rules to build and run tst-relsort1.
54835         * elf/tst-relsort1.c: New file.
54836         * elf/tst-relsort1mod1.c: New file.
54837         * elf/tst-relsort1mod2.c: New file.
54839 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54841         * math/s_ldexp.c: Remove __STDC__ conditionals.
54842         * math/s_ldexpf.c: Likewise.
54843         * math/s_ldexpl.c: Likewise.
54844         * math/s_nextafter.c: Likewise.
54845         * math/s_nexttowardf.c: Likewise.
54846         * math/s_significand.c: Likewise.
54847         * math/s_significandf.c: Likewise.
54848         * math/s_significandl.c: Likewise.
54849         * math/w_jnl.c: Likewise.
54850         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54851         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54852         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54853         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54854         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54855         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54856         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54857         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54858         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54859         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54860         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54861         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54862         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54863         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54864         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54865         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54866         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54867         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54868         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54869         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54870         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54871         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54872         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54873         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54874         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54875         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54876         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54877         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54878         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54879         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54880         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54881         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54882         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54883         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54884         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54885         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54886         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54887         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54888         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54889         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54890         * sysdeps/ieee754/k_standard.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54946         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54949         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54951         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54952         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54953         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54956         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54957         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54958         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54965         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54966         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54968         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54970         * sysdeps/ieee754/s_matherr.c: Likewise.
54971         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54972         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54973         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54974         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54976 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54978         * crypt/md5.h: Remove __STDC__ conditionals.
54979         * libio/libioP.h: Likewise.
54980         * locale/programs/config.h: Likewise.
54981         * sysdeps/generic/sysdep.h: Likewise.
54982         * sysdeps/i386/asm-syntax.h: Likewise.
54983         * sysdeps/s390/asm-syntax.h: Likewise.
54984         * sysdeps/unix/sysdep.h: Likewise.
54985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54988 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54990         * libio/libio.h: Remove __STDC__ conditionals.
54991         * malloc/obstack.h: Likewise.
54992         * math/complex.h: Likewise.
54993         * math/math.h: Likewise.
54994         * sysdeps/generic/_G_config.h: Likewise.
54995         * sysdeps/gnu/_G_config.h: Likewise.
54996         * sysdeps/mach/hurd/_G_config.h: Likewise.
54997         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54998         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54999         * sysdeps/sparc/bits/mathdef.h: Likewise.
55001 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55003         [BZ #13583]
55004         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55005         Clean up HAS_* macros.
55006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55007         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55008         possible.
55009         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55010         HAS_AVX.
55011         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55012         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55013         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55014         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55015         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55017 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55019         * elf/tst-unique3.cc (gets): Remove declaration.
55020         * elf/tst-unique3lib.cc (gets): Likewise.
55021         * elf/tst-unique3lib2.cc (gets): Likewise.
55022         * elf/tst-unique4.cc (gets): Likewise.
55024 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55026         * include/stdio.h: Add C++ protection.  Add gets declarations and
55027         definitions.
55028         * debug/tst-chk1.c: Don't declare gets here.
55029         * stdio-common/tst-gets.c: Likewise.
55031 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55033         * posix/glob: Remove directory.
55035 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55037         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55039 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55041         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55042         of the non-standard EPFNOSUPPORT.
55044 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55046         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55047         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55048         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55050 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55052         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55054 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55056         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55057         transient errors.
55058         * nscd/grpcache.c (cache_addgr): Likewise.
55059         * nscd/hstcache.c (cache_addhst): Likewise.
55060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55061         * nscd/pwdcache.c (cache_addpw): Likewise.
55062         * nscd/servicescache.c (cache_addserv): Likewise.
55064 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55066         * malloc/malloc.c: Various cleanups.
55067         * malloc/hooks.c: Likewise.
55069         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55070         * stdlib/bug-fmtmsg1.c: New file.
55072         * stdlib/fmtmsg.c (init): Add missing unlock.
55073         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55075 2012-01-12  Marek Polacek  <polacek@redhat.com>
55077         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55078         and _GNU_SOURCE.
55080 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55082         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55083         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55084         macro to ensure uniqueness of label name.
55085         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55086         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55088 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55090         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55092         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55093         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55094         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55095         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55097 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55099         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55101         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55102         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55103         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55105         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55107         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55108         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55109         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55110         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55112         * math/bits/math-finite.h: Add ldexp support.
55114 2012-01-10  Marek Polacek  <polacek@redhat.com>
55116         * locale/programs/localedef.h (show_archive_content): Add noreturn
55117         attribute.
55119 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55121         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55123 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55125         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55127         * io/Makefile (headers): Add bits/poll2.h.
55129 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55132         typo #include statement.
55134 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55136         * include/sys/cdefs.h: Define __attribute_alloc_size.
55137         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55138         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55139         * elf/pldd.c: Likewise.
55140         * iconv/iconv_charmap.c: Likewise.
55141         * iconv/iconvconfig.c: Likewise.
55142         * iconv/strtab.c: Likewise.
55143         * locale/programs/locale.c: Likewise.
55144         * locale/programs/localedef.h: Likewise.
55145         * locale/programs/simple-hash.c: Likewise.
55146         * nscd/nscd.h: Likewise.
55147         * nss/makedb.c: Likewise.
55148         * sysdeps/generic/ldconfig.h: Likewise.
55149         * locale/programs/localedef.c: Remove xmalloc prototype.
55150         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55152 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55154         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55155         appropriate.
55157 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55159         * math/Makefile (tests): Add tst-CMPLX.
55160         * math/tst-CMPLX.c: New file.
55162         * math/complex.h (CMPLXL): Fix typo.
55164         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55165         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55166         GLIBC_2.16.
55167         * debug/tst-chk1.c: Add poll and ppoll tests.
55168         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55169         * include/sys/poll.h: Add hidden proto for ppoll.
55170         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55171         * sysdeps/mach/hurd/ppoll.c: Likewise.
55172         * io/ppoll.c: Likewise.
55173         * debug/poll_chk.c: New file.
55174         * debug/ppoll_chk.c: New file.
55175         * include/bits/poll2.h: New file.
55176         * io/bits/poll2.h: New file.
55178         [BZ #1350]
55179         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55181         * configure.in: static is always set to yes.  Remove.
55182         * config.make.in: Don't set build-static.
55183         * Makeconfig: Remove use of build-static.
55184         * dlfcn/Makefile: Likewise.
55185         * elf/Makefile: Likewise.
55186         * math/Makefile: Likewise.
55187         * misc/Makefile: Likewise.
55188         * nptl/Makefile: Likewise.
55189         * sysdeps/mach/hurd/Makefile: Likewise.
55191         * configure.in: PWD_P is not used anymore.
55192         * config.make.in: Remove PWD_P entry.
55194         * configure.in: Remove last remnants of RANLIB.
55195         No need to check for signed size_t anymore.
55196         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55197         and IA-64.
55198         Remove __builtin_expect test because we require at least gcc 3.4.
55199         * aclocal.m4: Likewise.
55201         * wcsmbs/mbrtoc16.c: Implement using towc function.
55202         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55203         * wcsmbs/wcsmbsload.c: Likewise.
55204         * iconv/gconv_simple.c: Likewise.
55205         * iconv/gconv_int.h: Likewise.
55206         * iconv/gconv_builtin.h: Likewise.
55207         * iconv/iconv_prog.c: Remove CHAR16 handling.
55209         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55211         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55213         * configure.in: Remove --with-elf and --enable-bounded options.
55214         Dont set base_machine for ia64.  More non-ELF conditions removed.
55215         Remove testing and setting of leading underscore information.
55216         * config.make.in (build-bounded): Set to no.
55217         * config.h.in: Remove NO_UNDERSCORES entry.
55218         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55219         them.
55220         * csu/start.c: Remove !NO_UNDERSCORE code.
55221         * locale/localeinfo.h: Likewise.
55222         * sysdeps/generic/machine-gmon.h: Likewise.
55223         * sysdeps/generic/sysdep.h: Likewise.
55224         * sysdeps/i386/sysdep.h: Likewise.
55225         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55226         * sysdeps/mach/sysdep.h: Likewise.
55227         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55228         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55229         * sysdeps/sh/sysdep.h: Likewise.
55230         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55231         * sysdeps/unix/i386/sysdep.S: Likewise.
55232         * sysdeps/unix/sparc/start.c: Likewise.
55233         * sysdeps/unix/sparc/sysdep.S: Likewise.
55234         * sysdeps/unix/sparc/sysdep.h: Likewise.
55235         * sysdeps/unix/start.c: Likewise.
55236         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55237         * sysdeps/x86_64/sysdep.h: Likewise.
55239 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55241         [BZ #13553]
55242         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55243         for non-gcc.
55244         * argp/argp-fmtstream.h: Use const instead __const.
55245         * argp/argp.h: Likewise.
55246         * assert/assert.h: Likewise.
55247         * bits/fenv.h: Likewise.
55248         * bits/sched.h: Likewise.
55249         * bits/sigset.h: Likewise.
55250         * bits/sigthread.h: Likewise.
55251         * catgets/nl_types.h: Likewise.
55252         * conform/data/pthread.h-data: Likewise.
55253         * crypt/crypt-private.h: Likewise.
55254         * crypt/crypt.h: Likewise.
55255         * crypt/crypt_util.c: Likewise.
55256         * ctype/ctype.h: Likewise.
55257         * debug/execinfo.h: Likewise.
55258         * debug/mbsnrtowcs_chk.c: Likewise.
55259         * debug/mbsrtowcs_chk.c: Likewise.
55260         * debug/wcsnrtombs_chk.c: Likewise.
55261         * debug/wcsrtombs_chk.c: Likewise.
55262         * debug/wcstombs_chk.c: Likewise.
55263         * dirent/dirent.h: Likewise.
55264         * dlfcn/dlfcn.h: Likewise.
55265         * elf/neededtest4.c: Likewise.
55266         * grp/grp.h: Likewise.
55267         * gshadow/gshadow.h: Likewise.
55268         * iconv/gconv.h: Likewise.
55269         * iconv/gconv_int.h: Likewise.
55270         * iconv/gconv_simple.c: Likewise.
55271         * iconv/iconv.h: Likewise.
55272         * iconv/loop.c: Likewise.
55273         * iconv/skeleton.c: Likewise.
55274         * include/aio.h: Likewise.
55275         * include/aliases.h: Likewise.
55276         * include/argz.h: Likewise.
55277         * include/arpa/inet.h: Likewise.
55278         * include/assert.h: Likewise.
55279         * include/dirent.h: Likewise.
55280         * include/dlfcn.h: Likewise.
55281         * include/execinfo.h: Likewise.
55282         * include/fcntl.h: Likewise.
55283         * include/fenv.h: Likewise.
55284         * include/glob.h: Likewise.
55285         * include/grp.h: Likewise.
55286         * include/libintl.h: Likewise.
55287         * include/mntent.h: Likewise.
55288         * include/netdb.h: Likewise.
55289         * include/pwd.h: Likewise.
55290         * include/rpc/netdb.h: Likewise.
55291         * include/sched.h: Likewise.
55292         * include/search.h: Likewise.
55293         * include/shadow.h: Likewise.
55294         * include/signal.h: Likewise.
55295         * include/stdio.h: Likewise.
55296         * include/stdlib.h: Likewise.
55297         * include/string.h: Likewise.
55298         * include/sys/socket.h: Likewise.
55299         * include/sys/stat.h: Likewise.
55300         * include/sys/statfs.h: Likewise.
55301         * include/sys/statvfs.h: Likewise.
55302         * include/sys/syslog.h: Likewise.
55303         * include/sys/time.h: Likewise.
55304         * include/sys/uio.h: Likewise.
55305         * include/time.h: Likewise.
55306         * include/unistd.h: Likewise.
55307         * include/utmp.h: Likewise.
55308         * include/wchar.h: Likewise.
55309         * include/wctype.h: Likewise.
55310         * inet/aliases.h: Likewise.
55311         * inet/arpa/inet.h: Likewise.
55312         * inet/netinet/ether.h: Likewise.
55313         * inet/netinet/in.h: Likewise.
55314         * intl/libintl.h: Likewise.
55315         * io/bits/fcntl2.h: Likewise.
55316         * io/fcntl.h: Likewise.
55317         * io/ftw.h: Likewise.
55318         * io/sys/poll.h: Likewise.
55319         * io/sys/stat.h: Likewise.
55320         * io/sys/statfs.h: Likewise.
55321         * io/sys/statvfs.h: Likewise.
55322         * io/utime.h: Likewise.
55323         * libio/bits/stdio.h: Likewise.
55324         * libio/bits/stdio2.h: Likewise.
55325         * libio/libio.h: Likewise.
55326         * libio/libioP.h: Likewise.
55327         * libio/stdio.h: Likewise.
55328         * locale/lc-ctype.c: Likewise.
55329         * locale/locale.h: Likewise.
55330         * login/utmp.h: Likewise.
55331         * malloc/arena.c: Likewise.
55332         * malloc/malloc.c: Likewise.
55333         * malloc/malloc.h: Likewise.
55334         * malloc/mcheck.c: Likewise.
55335         * malloc/mtrace.c: Likewise.
55336         * math/bits/mathcalls.h: Likewise.
55337         * math/fenv.h: Likewise.
55338         * math/math_private.h: Likewise.
55339         * misc/bits/error.h: Likewise.
55340         * misc/bits/syslog.h: Likewise.
55341         * misc/err.h: Likewise.
55342         * misc/error.h: Likewise.
55343         * misc/fstab.h: Likewise.
55344         * misc/mntent.h: Likewise.
55345         * misc/regexp.h: Likewise.
55346         * misc/search.h: Likewise.
55347         * misc/sgtty.h: Likewise.
55348         * misc/sys/mman.h: Likewise.
55349         * misc/sys/syslog.h: Likewise.
55350         * misc/sys/uio.h: Likewise.
55351         * misc/sys/xattr.h: Likewise.
55352         * misc/ttyent.h: Likewise.
55353         * nis/rpcsvc/ypclnt.h: Likewise.
55354         * nss/nss.h: Likewise.
55355         * posix/bits/unistd.h: Likewise.
55356         * posix/fnmatch.h: Likewise.
55357         * posix/glob.h: Likewise.
55358         * posix/sched.h: Likewise.
55359         * posix/spawn.h: Likewise.
55360         * posix/sys/wait.h: Likewise.
55361         * posix/unistd.h: Likewise.
55362         * posix/wordexp.h: Likewise.
55363         * pwd/pwd.h: Likewise.
55364         * resolv/netdb.h: Likewise.
55365         * resource/sys/resource.h: Likewise.
55366         * rt/aio.h: Likewise.
55367         * rt/bits/mqueue2.h: Likewise.
55368         * rt/mqueue.h: Likewise.
55369         * shadow/shadow.h: Likewise.
55370         * signal/signal.h: Likewise.
55371         * socket/send.c: Likewise.
55372         * socket/sendto.c: Likewise.
55373         * socket/sys/socket.h: Likewise.
55374         * stdio-common/printf.h: Likewise.
55375         * stdlib/bits/stdlib.h: Likewise.
55376         * stdlib/fmtmsg.h: Likewise.
55377         * stdlib/monetary.h: Likewise.
55378         * stdlib/stdlib.h: Likewise.
55379         * stdlib/ucontext.h: Likewise.
55380         * streams/stropts.h: Likewise.
55381         * string/argz.h: Likewise.
55382         * string/bits/string2.h: Likewise.
55383         * string/string.h: Likewise.
55384         * string/strings.h: Likewise.
55385         * sunrpc/rpc/auth.h: Likewise.
55386         * sunrpc/rpc/auth_des.h: Likewise.
55387         * sunrpc/rpc/clnt.h: Likewise.
55388         * sunrpc/rpc/netdb.h: Likewise.
55389         * sunrpc/rpc/pmap_clnt.h: Likewise.
55390         * sunrpc/rpc/xdr.h: Likewise.
55391         * sysdeps/generic/inttypes.h: Likewise.
55392         * sysdeps/generic/net/if.h: Likewise.
55393         * sysdeps/generic/sys/swap.h: Likewise.
55394         * sysdeps/gnu/net/if.h: Likewise.
55395         * sysdeps/gnu/utmpx.h: Likewise.
55396         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55397         * sysdeps/i386/i486/bits/string.h: Likewise.
55398         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55399         * sysdeps/s390/bits/string.h: Likewise.
55400         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55401         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55402         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55403         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55404         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55405         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55406         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55407         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55408         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55409         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55410         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55411         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55412         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55413         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55414         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55415         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55416         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55417         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55418         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55419         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55420         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55421         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55422         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55423         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55424         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55425         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55426         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55427         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55428         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55429         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55430         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55431         * sysvipc/sys/ipc.h: Likewise.
55432         * sysvipc/sys/msg.h: Likewise.
55433         * sysvipc/sys/sem.h: Likewise.
55434         * sysvipc/sys/shm.h: Likewise.
55435         * termios/termios.h: Likewise.
55436         * time/sys/time.h: Likewise.
55437         * time/time.h: Likewise.
55438         * wcsmbs/bits/wchar2.h: Likewise.
55439         * wcsmbs/uchar.h: Likewise.
55440         * wcsmbs/wchar.h: Likewise.
55441         * wctype/wctype.h: Likewise.
55443         [BZ #13551]
55444         * Makeconfig: Remove all but ELF support including AIX support.
55445         * Makerules: Likewise.
55446         * config.h.in: Likewise.
55447         * config.make.in: Likewise.
55448         * configure: Likewise.
55449         * configure.in: Likewise.
55450         * csu/Makefile: Likewise.
55451         * csu/version.c: Likewise.
55452         * debug/Makefile: Likewise.
55453         * dlfcn/Makefile: Likewise.
55454         * elf/Makefile: Likewise.
55455         * extra-lib.mk: Likewise.
55456         * iconv/Makefile: Likewise.
55457         * include/libc-symbols.h: Likewise.
55458         * include/shlib-compat.h: Likewise.
55459         * resolv/Makefile: Likewise.
55460         * resolv/res_libc.c: Likewise.
55461         * rt/Makefile: Likewise.
55462         * sysdeps/i386/asm-syntax.h: Likewise.
55463         * sysdeps/i386/sysdep.h: Likewise.
55464         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55465         * sysdeps/mach/sysdep.h: Likewise.
55466         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55467         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55468         * sysdeps/s390/asm-syntax.h: Likewise.
55469         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55470         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55471         * sysdeps/sh/sysdep.h: Likewise.
55472         * sysdeps/unix/sparc/sysdep.h: Likewise.
55473         * sysdeps/wordsize-32/divdi3.c: Likewise.
55474         * sysdeps/x86_64/sysdep.h: Likewise.
55476         * argp/Versions: Remove _argp_unlock_xxx.
55478         [BZ #13559]
55479         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55480         * abilist/libBrokenLocale.abilist: Likewise.
55481         * abilist/libanl.abilist: Likewise.
55482         * abilist/libc.abilist: Likewise.
55483         * abilist/libcrypt.abilist: Likewise.
55484         * abilist/libdl.abilist: Likewise.
55485         * abilist/libm.abilist: Likewise.
55486         * abilist/libnsl.abilist: Likewise.
55487         * abilist/libpthread.abilist: Likewise.
55488         * abilist/libresolv.abilist: Likewise.
55489         * abilist/librt.abilist: Likewise.
55490         * abilist/libthread_db.abilist: Likewise.
55491         * abilist/libutil.abilist: Likewise.
55492         * abilist/libnss_db.abilist: New file.
55494         * scripts/abilist.awk: Add support for indirect functions.
55496         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55498         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55500         * shlib-versions: Remove entries for ports architectures.
55502         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55503         files in ports.
55504         * elf/stackguard-macros.h: Remove support for IA-64.
55505         * elf/tst-auditmod1.c: Likewise.
55506         * sysdeps/generic/ldsodefs.h: Likewise.
55508         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55509         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55510         configure files.
55512         [BZ #13552]
55513         * configure.in: Remove --enable-omitfp support.
55514         * FAQ.in: Adjust.
55515         * config.make.in: Likewise.
55516         * Makeconfig: Likewise.
55517         * manual/install.texi: Likewise.
55519         In case anyone cares, the IA-64 architecture could move to ports.
55520         * sysdeps/ia64/*: Removed.
55521         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55522         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55524         [BZ #13555]
55525         * configure.in: Remove entries for unsupported architectures.
55527         [BZ #13533]
55528         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55529         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55530         routines.
55531         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55532         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55533         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55534         fall back to using wcrtomb.
55535         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55536         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55537         renaming.
55538         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55539         * wcsmbs/tst-c16c32-1.c: New file.
55541         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55542         local variable.
55544         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55546         * elf/tst-unique3.cc: Add explicit declaration of gets.
55547         * elf/tst-unique3lib.cc: Likewise.
55548         * elf/tst-unique3lib2.cc: Likewise.
55549         * elf/tst-unique4.cc: Likewise.
55551         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55553 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55555         [BZ #13566]
55556         * assert/assert.h (static_assert): Don't define for C++.
55557         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55558         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55560 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55562         * iconv/loop.c (single loop): Fix assertion in storing of
55563         remaining bytes.
55565         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55567 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55569         * posix/getconf.c: Update copyright year.
55570         * nss/getent.c: Likewise.
55571         * nss/makedb.c: Likewise.
55572         * iconv/iconvconfig.c: Likewise.
55573         * iconv/iconv_prog.c: Likewise.
55574         * elf/ldconfig.c: Likewise.
55575         * elf/pldd.c: Likewise.
55576         * elf/sotruss.ksh: Likewise.
55577         * catgets/gencat.c: Likewise.
55578         * csu/version.c: Likewise.
55579         * elf/ldd.bash.in: Likewise.
55580         * elf/sprof.c (print_version): Likewise.
55581         * locale/programs/locale.c: Likewise.
55582         * locale/programs/localedef.c: Likewise.
55583         * login/programs/pt_chown.c: Likewise.
55584         * nscd/nscd.c (print_version): Likewise.
55585         * debug/xtrace.sh: Likewise.
55586         * malloc/memusage.sh: Likewise.
55587         * malloc/mtrace.pl: Likewise.
55588         * debug/catchsegv.sh: Likewise.
55590 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55592         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55593         pure attribute.
55595 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55597         [BZ #13533]
55598         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55599         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55600         transformations.
55601         * iconv/gconv_int.h: Likewise.
55602         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55603         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55604         from libc for GLIBC_2.16.
55605         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55606         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55607         * wcsmbs/uchar.h: Really define mbstate_t.
55608         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55609         * wcsmbs/c16rtomb.c: New file.
55610         * wcsmbs/mbrtoc16.c: New file.
55611         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55612         for C/POSIX locale.
55613         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55614         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55616         * wcsmbs/wchar.h: Add missing __restrict.
55618 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55620         [BZ #13532]
55621         * time/Makefile (routines): Add timespec_get.
55622         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55623         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55624         timespec for ISO C11.
55625         * time/timespec_get.c: New file.
55626         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55627         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55629         [BZ #13531]
55630         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55631         * stdlib/stdlib.h: Declare aligned_alloc.
55632         * Versions.def: Add GLIBC_2.16 for libc.
55633         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55635         [BZ 13527]
55636         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55637         ISO C11.
55639         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55640         code.
55642         [BZ #13528]
55643         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55645         [BZ #13529]
55646         * assert/assert.h (static_assert): Define.
55648         * version.h: Update for 2.16 development version.
55650         [BZ #13526]
55651         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55652         _ISOC11_SOURCE.
55654         * version.h (RELEASE): Bump for 2.15 release.
55655         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55657         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55658         Patch by Marek Polacek <mpolacek@redhat.com>.
55660         * bits/byteswap.h: Protect long long constants with __extension__.
55661         * sysdeps/i386/bits/byteswap.h: Likewise.
55662         * sysdeps/ia64/bits/byteswap.h: Likewise.
55663         * sysdeps/s390/bits/byteswap.h: Likewise.
55664         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55666 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55668         [BZ #13540]
55669         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55670         destination buffer.
55671         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55673 2011-12-23  Marek Polacek  <polacek@redhat.com>
55675         * elf/dl-addr.c (determine_info): Add inline keyword.
55676         * elf/tst-auditmod4b.c (check_avx): Likewise.
55677         * elf/tst-auditmod6b.c (check_avx): Likewise.
55678         * elf/tst-auditmod6c.c (check_avx): Likewise.
55679         * elf/tst-auditmod7b.c (check_avx): Likewise.
55681 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55683         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55684         !__SSE_MATH__.
55686 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55688         [BZ #13540]
55689         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55690         processing for last bytes.
55692 2011-08-06  Bruno Haible  <bruno@clisp.org>
55694         [BZ #13061]
55695         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55696         U+0385, not to U+1FEE.
55698         [BZ #13062]
55699         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55700         entry for U+00A5 U+0301.
55702 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55704         [BZ #13166]
55705         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55706         buffer for the output is too small.
55708         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55709         optimization.
55711         [BZ #13185]
55712         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55713         SSE flags if possible.
55715 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55717         [BZ #13540]
55718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55719         processing for last bytes.
55721 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55723         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55724         (syscall-list-default-options, syscall-list-default-condition)
55725         (syscall-list-includes): Define.
55726         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55727         list of ABIs and options and #if conditions for each ABI.  Do not
55728         handle common syscalls between ABIs specially.
55729         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55730         Remove.
55731         (syscall-list-variants, syscall-list-32bit-options)
55732         (syscall-list-32bit-condition, syscall-list-64bit-options)
55733         (syscall-list-64bit-condition): Define.
55734         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55735         (syscall-list-variants, syscall-list-32bit-options)
55736         (syscall-list-32bit-condition, syscall-list-64bit-options)
55737         (syscall-list-64bit-condition): Define.
55738         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55739         Remove.
55740         (syscall-list-variants, syscall-list-32bit-options)
55741         (syscall-list-32bit-condition, syscall-list-64bit-options)
55742         (syscall-list-64bit-condition): Define.
55743         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55744         Remove.
55745         (syscall-list-variants, syscall-list-32bit-options)
55746         (syscall-list-32bit-condition, syscall-list-64bit-options)
55747         (syscall-list-64bit-condition): Define.
55749 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55751         * locale/iso-639.def: Add brx entry.
55753         [BZ #13328]
55754         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55755         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55757         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55758         __feraiseexcept_renamed.
55760 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55762         [BZ #13538]
55763         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55764         EPOLLET with unsigned values.
55765         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55766         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55768         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55769         to large cancellation.
55770         * math/s_cacoshf.c: Likewise.
55771         * math/s_cacoshl.c: Likewise.
55773 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55775         [BZ #13305]
55776         [BZ #12786]
55777         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55778         * math/s_cacoshf.c: Likewise.
55779         * math/s_cacoshl.c: Likewise.
55781 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55783         [BZ #13439]
55784         * iconv/gconv.h: Define __GCONV_SWAP.
55785         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55786         * iconvdata/utf-16.c: Likewise.
55787         * iconvdata/utf-32.c: Likewise.
55789 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55791         [BZ #13524]
55792         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55793         numerator after shifting it by one limb.
55795 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55797         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55798         under [__USE_EXTERN_INLINES].
55800 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55802         [BZ #13446]
55803         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55805 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55807         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55808         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55809         optimized code.
55810         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55811         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55812         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55813         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55814         for strncasecmp/strncasecmp_l compilation.
55815         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55816         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55818 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55820         [BZ #13484]
55821         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55822         of __asm__.
55824 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55826         [BZ #13506]
55827         * time/tzfile.c (__tzfile_read): Check values from file header.
55829 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55831         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55832         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55833         * powerpc/powerpc32/dl-start.S: Likewise.
55834         * powerpc/powerpc32/elf/start.S: Likewise.
55835         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55836         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55837         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55838         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55839         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55840         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55841         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55842         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55843         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55844         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55845         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55846         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55847         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55848         * powerpc/powerpc32/memset.S: Likewise.
55849         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55850         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55851         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55852         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55853         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55854         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55855         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55856         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55857         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55858         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55859         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55860         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55861         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55863 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55865         * math/libm-test.inc: Added more nearbyint tests.
55866         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55867         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55868         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55869         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55871 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55873         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55874         FD_CLOEXEC.
55876 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55878         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55879         Add wcscpy-ssse3 wcscpy-c.
55880         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55881         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55882         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55883         * sysdeps/x86_64/wcschr.S: New file.
55884         * sysdeps/x86_64/wcsrchr.S: New file.
55885         * string/test-strcmp.c: Remove checking of wcscmp function for
55886         wrong alignments.
55887         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55888         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55889         wcsrchr-sse2 wcsrchr-c.
55890         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55891         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55892         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55893         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55894         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55895         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55896         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55897         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55898         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55899         * wcsmbc/wcschr.c (WCSCHR): New macro.
55901 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55903         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55904         * wcsmbs/test-wcsrchr.c: New file.
55905         * string/test-strrchr.c: Add wcsrchr support.
55906         (WIDE): New macro.
55907         * wcsmbs/test-wcscpy.c: New file.
55908         * string/test-strcpy.c: Add wcscpy support.
55909         (WIDE): New macro.
55911 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55913         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55914         the inner loop.
55916 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55918         [BZ #13472]
55919         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55921 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55923         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55924         Minor optimizations.
55926         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55927         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55928         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55930 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55932         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55933         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55934         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55935         for gcc to avoid warnings.
55936         * inet/Makefile (tests): Add tst-checks.
55937         * inet/tst-checks.c: New file.
55939         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55940         warning.
55942         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55943         __wmemcmp_sse2.
55945         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55946         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55948         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55950 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55952         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55953         problem.
55955         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55957 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55959         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55960         conditional on GCC version.
55961         (__arch_compare_and_exchange_val_8_acq)
55962         (__arch_compare_and_exchange_val_16_acq)
55963         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55964         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55965         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55967 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55969         * sysdeps/sh/backtrace.c: New file.
55971 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55973         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55974         parenthesis.
55976 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55978         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55979         falling back to utime.
55981 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55983         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55984         expectations for float.
55986 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55988         * locale/weight.h (findidx): Add parameter len.
55989         * locale/weightwc.h (findidx): Likewise.
55990         * posix/fnmatch_loop.c (FCT): Adjust caller.
55991         * posix/regcomp.c (build_equiv_class): Likewise.
55992         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55993         * posix/regexec.c (check_node_accept_bytes): Likewise.
55994         * string/strcoll_l.c (STRCOLL): Likewise.
55995         * string/strxfrm_l.c (STRXFRM): Likewise.
55997 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55999         * Makefile.in: Remove CVSOPT handling.
56000         * configure.in: Remove use of AC_REVISION.
56001         * iconvdata/Makefile (distribute): No need to filter out CVS.
56002         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56003         handling.
56005 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56007         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56008         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56009         [USE_AS_STRNCASECMP_L]: Likewise.
56010         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56011         NO_TLS_DIRECT_SEG_REFS.
56012         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56013         Fix argument offsets for non-PIC.
56014         [USE_AS_STRNCASECMP_L]: Likewise.
56015         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56016         NO_TLS_DIRECT_SEG_REFS.
56018 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56020         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56021         O_CLOEXEC.
56022         * locale/loadlocale.c (_nl_load_locale): Likewise.
56024 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56026         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56027         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56028         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56029         (SYSCALL_GETTIME): Set errno on error.
56031         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56032         count references to noai6ai_cached.
56034 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56036         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56038         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56039         FD_CLOEXEC for /proc/self/maps.
56041         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56042         FD_CLOEXEC for /proc/meminfo.
56044         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56045         gai.conf.
56047         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56048         FD_CLOEXEC for given file.
56050         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56052         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56053         FD_CLOEXEC for /etc/hosts.
56054         (_gethtent): Likewise.
56056         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56058         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56059         cancellation and set FD_CLOEXEC for /etc/netgroup.
56061         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56062         reading /etc/publickey.
56064         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56065         allow cancellation when reading /etc/group.
56067         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56068         cancellation.
56069         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56071         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56072         when using data file.
56074         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56076         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56077         (write_nis_obj): Use "c" and "e" in fopen.
56079         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56081         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56083         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56085         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56087         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56088         locale.alias.
56090         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56092         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56094         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56096         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56097         file parsing and set FD_CLOEXEC.
56099 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56101         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56103 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56105         * malloc/arena.c (arena_get2): Don't call reused_arena when
56106         _int_new_arena failed.
56108 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56110         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56111         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56112         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56113         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56114         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56115         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56116         to compile strcasecmp and strncasecmp.
56117         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56118         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56120         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56122 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56124         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56125         locale-defines.sym to gen-as-const-headers.
56126         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56127         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56129         to compile strcasecmp and strncasecmp.
56130         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56131         strcasecmp_l and strncasecmp_l.
56132         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56133         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56134         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56135         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56136         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56137         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56138         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56139         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56140         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56141         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56142         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56144 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56146         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56147         result of SYSDEP_GETTIME_CPU to retval.
56148         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56149         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56151         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56152         variable.
56154         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56155         mantissa words.
56156         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56158         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56159         from unused variable.
56161         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56162         DWARF definitions.
56163         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56164         for assembling.
56166         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56167         over namespaces.
56169         * sunrpc/rpc_prot.c (rejected): Fix case value.
56171         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56172         unsigned long long int to avoid warnings in shift.
56174         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56175         of use of trans.
56176         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56177         variable tmp.
56179         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56180         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56181         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56183         * nis/nis_table.c (nis_list): Use variable of correct type for
56184         result of __follow_path call.
56186 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56188         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56189         of math functions ceil, trunc, floor, round, and sqrt, when
56190         avaliable on the platform.
56191         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56192         name clash.
56193         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56194         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56195         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56197 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56199         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56200         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56202 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56204         * include/unistd.h: Fix __readlink return type.
56205         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56207 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56209         * stdlib/ucontext.h: Undo last change for makecontext.
56211 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56213         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56215         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56216         * setjmp/setjmp.h: Mark functions as non-leaf.
56217         * setjmp/bits/setjmp2.h: Likewise.
56218         * stdlib/ucontext.h: Likewise.
56220 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56222         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56223         (reused_arena): Don't check arena limit.
56224         (arena_get2): Atomically check arena limit.
56226 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56228         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56229         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56232         instructions.
56234 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56236         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56237         handler when locking.
56239         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56240         Fix size of allocated buffer.
56242 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56244         [BZ #10103]
56245         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56246         declarations for long double functions.
56247         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56249         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56251 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56253         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56254         installed.
56256         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56257         is disabled.
56259 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56261         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56263 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56265         * include/alloca.h (stackinfo_alloca_round): Define.
56266         (extend_alloca): Use it.
56267         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56268         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56269         here.
56271         * scripts/check-local-headers.sh: Ignore libaudit.h.
56273         * nscd/Makefile (extra-objs): Make recursively expanded.
56275 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56277         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56278         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56280         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56281         * posix/tst-rfc3484-2.c: Likewise.
56282         * posix/tst-rfc3484-3.c: Likewise.
56284         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56285         process_vm_writev.
56286         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56287         process_vm_writev.
56288         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56289         process_vm_writev from libc using GLIBC_2.15 version.
56291         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56293 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56295         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56296         stack usage.
56298 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56300         [BZ #13367]
56301         * nss/getent.c (initgroups_keys): Show error message in case no group
56302         names are given.
56304         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56305         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56306         __bump_nl_timestamp.
56307         * nscd/connections (nscd_init): When host database is served open
56308         netlink socket and request notification about configuration changes.
56309         (main_loop_poll): Track netlink file descriptor and bump timestamp
56310         in case data becomes available.
56311         (main_loop_epoll): Likewise.
56312         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56313         (database_pers_head): Add extra_data fileds.
56314         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56315         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56316         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56317         Adjust caller.
56318         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56319         in6ai data, call __free_in6ai.
56320         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56321         Add -DHAVE_NETLINK.
56322         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56323         interface information.  Reuse previous data if netlink timestamp
56324         is not changed.
56325         (__bump_nl_timestamp): New function.
56326         (__free_in6ai): New function.
56328 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56330         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56331         close_not_cancel_no_status here.
56332         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56334 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56336         [BZ #13276]
56337         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56338         return value.
56340         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56341         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56342         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56344 2011-07-03  Andreas Jaeger  <aj@suse.de>
56346         [BZ #10709]
56347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56348         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56349         * math/libm-test.inc (sin_test): Add test case.
56351 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56353         [BZ #13337]
56354         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56355         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56357         * elf/chroot_canon.c (chroot_canon): Cleanups.
56359         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56361         [BZ #13335]
56362         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56363         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56365         * string/test-strchr.c: Make usable for strchrnul testing.
56366         * string/test-strchrnul.c: New file.
56367         * string/Makefile (strop-tests): Add strchrnul.
56369         * po/it.po: Update from translation team.
56370         * po/es.po: Likewise.
56372 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56374         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56375         the three constants needed as parameters.  Drop the others.
56376         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56377         __m128i_strloadu_tolower.
56378         Create and initialize variable zero and use it in all the places
56379         where _mm_setzero_si128 was used.
56381         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56382         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56383         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56384         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56385         anymore.
56386         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56387         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56388         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56389         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56390         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56391         __mpranred, __mptan.
56392         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56393         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56394         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56395         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56396         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56397         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56398         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56399         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56400         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56402 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56404         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56405         redefine if SHARED.
56406         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56409         wide char related routines to wcsmbs subdir.
56411 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56413         [BZ #13344]
56414         * misc/sys/cdefs.h (__THROWNL): Define.
56415         * posix/unistd.h: Use __THREADNL instead of __THREAD
56416         for memory synchronization functions.
56418 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56420         [BZ #13349]
56421         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56422         doesn't exist.
56423         * manual/stdio.texi (Obstack Streams): Node removed.
56425 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56427         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56428         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56429         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56431         * math/math_private.h (math_force_eval): Allow non-addressable
56432         arguments.
56433         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56435 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56437         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56438         file is not needed.
56440         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56441         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56442         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56443         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56444         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56445         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56446         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56447         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56448         Add AVX variants.
56449         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56450         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56451         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56452         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56453         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56454         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56455         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56456         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56457         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56458         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56459         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56460         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56461         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56462         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56463         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56464         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56465         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56466         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56467         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56469         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56470         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56472         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56473         place.  Use VEX encoding when compiling for AVX.
56475 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56477         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56478         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56480         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56482 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56484         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56485         useless if() expression.
56486         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56487         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56488         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56489         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56490         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56491         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56492         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56493         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56494         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56495         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56496         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56497         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56498         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56499         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56500         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56501         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56502         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56503         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56504         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56506         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56508 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56510         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56511         condition.
56512         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56514 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56516         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56517         .text section.  Avoid duplicate constants.
56518         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56520         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56521         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56522         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56523         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56524         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56525         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56526         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56527         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56528         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56529         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56530         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56531         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56532         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56533         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56534         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56535         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56536         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56537         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56538         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56539         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56540         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56541         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56542         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56543         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56544         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56545         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56546         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56547         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56548         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56549         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56550         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56551         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56552         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56553         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56554         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56555         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56556         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56557         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56558         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56559         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56560         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56561         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56562         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56564 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56566         * sysdeps/x86_64/dla.h: Move to ...
56567         * sysdeps/x86_64/fpu/dla.h: ...here.
56568         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56569         situations.  Use __builtin_fma only for gcc 4.6 and up.
56571         * config.make.in: Add have-mfma4 entry.
56572         * configure.in: Substitute libc_cv_cc_fma4.
56573         * math/Makefile (dbl-only-routines): Add sincostab.
56574         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56575         Use __sincostab not sincos.
56576         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56577         name is a macro.
56578         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56582         using __copysign.
56583         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56584         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56585         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56586         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56587         and __inv.
56588         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56589         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56590         __copysign.
56591         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56592         define aliases when function name is a macro.
56593         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56594         sysdeps/ieee754/dbl-64/sincos.tbl.
56595         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56596         fma4-enabled routines.
56597         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56598         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56599         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56600         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56601         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56602         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56603         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56604         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56606         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56607         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56608         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56609         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56610         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56611         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56612         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56613         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56614         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56615         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56616         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56617         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56618         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56619         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56620         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56621         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56622         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56623         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56624         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56625         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56626         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56628         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56629         rename.
56630         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56631         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56639 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56641         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56643 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56645         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56647         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56648         prediction.
56649         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56651         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56652         Remove unused variable magic_bits.
56653         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56655         * string/strnlen.c: Define and use STRNLEN macro.
56656         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56657         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56658         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56659         * wcsmbs/wcslen.c: Define and use WCSLEN.
56660         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56661         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56662         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56663         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56664         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56665         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56666         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56668 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56671         strnlen-sse2-no-bsf.
56672         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56673         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56674         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56675         Add strnlen support.
56676         (USE_AS_STRNLEN): New macro.
56677         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56678         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56679         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56680         * sysdeps/x86_64/wcslen.S: New file.
56682 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56684         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56685         XMM-moves are used for copying on small sizes.
56687 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56689         * wcsmbs/Makefile (strop-tests): Add wcschr.
56690         * wcsmbs/test-wcschr.c: New file.
56691         * string/test-strchr.c: Update.
56692         Add wcschr support.
56693         (WIDE): New macro.
56695 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56697         * wcsmbs/Makefile (strop-tests): Add wcslen.
56698         * wcsmbs/test-wcslen.c: New file.
56699         * string/test-strlen.c: Update.
56700         Add wcslen support.
56701         (WIDE): New macro.
56703 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56705         * po/it.po: Update from translation team.
56707 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56709         * sysdeps/x86_64/wcscmp.S: Update.
56710         Fix wrong comparison semantics.
56711         wcscmp shall use signed comparison not unsigned.
56712         Don't use substraction to avoid overflow bug.
56713         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56714         * wcsmbc/wcscmp.c: Likewise.
56715         * string/test-strcmp.c: Likewise.
56716         Add new tests to check cases with negative values.
56718 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56720         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56721         * sysdeps/x86_64/dla.h: ...here.  New file.
56722         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56725         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56729         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56730         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56732 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56735         __ynl_finite aliases.
56737 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56741         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56742         define DLA_FMA.
56743         [DLA_FMA] (EMULV): Use DLA_FMA.
56744         [DLA_FMA] (MUL12): Use EMULV.
56745         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56746         that are not needed.
56747         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56748         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56749         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56751         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56753         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56755 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56757         * math/s_nan.c: Undef __nan.
56758         * math/s_nanf.c: Undef __nanf.
56759         * math/s_nanl.c: Undef __nanl.
56760         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56761         "math_private.h".
56763 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56765         * math/s_catan.c: Add branch predictions.
56766         * math/s_catanf.c: Likewise.
56767         * math/s_catanh.c: Likewise.
56768         * math/s_catanhf.c: Likewise.
56769         * math/s_catanhl.c: Likewise.
56770         * math/s_catanl.c: Likewise.
56771         * math/s_cexp.c: Likewise.
56772         * math/s_cexpf.c: Likewise.
56773         * math/s_cexpl.c: Likewise.
56774         * math/s_clog.c: Likewise.
56775         * math/s_clog10.c: Likewise.
56776         * math/s_clog10f.c: Likewise.
56777         * math/s_clog10l.c: Likewise.
56778         * math/s_clogf.c: Likewise.
56779         * math/s_clogl.c: Likewise.
56780         * math/s_csqrt.c: Likewise.
56781         * math/s_csqrtf.c: Likewise.
56782         * math/s_csqrtl.c: Likewise.
56783         * math/s_ctanf.c: Likewise.
56784         * math/s_ctanh.c: Likewise.
56785         * math/s_ctanhf.c: Likewise.
56786         * math/s_ctanhl.c: Likewise.
56787         * math/s_ctanl.c: Likewise.
56789         * math/math_private.h: Define __nan, __nanf, __nanl.
56790         * math/s_cacosh.c: Include <math_private.h>.
56791         * math/s_cacoshl.c: Likewise.
56792         * math/s_casinh.c: Likewise.
56793         * math/s_casinhf.c: Likewise.
56794         * math/s_casinhl.c: Likewise.
56795         * math/s_ccos.c: Rely entire on ccosh.
56796         * math/s_ccosf.c: Rely entire on ccoshf.
56797         * math/s_ccosl.c: Rely entirely on ccoshl.
56798         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56799         Remove tests for FE_INVALID.
56800         * math/s_ccoshf.c: Likewise.
56801         * math/s_ccoshl.c: Likewise.
56802         * math/s_csin.c: Likewise.
56803         * math/s_csinf.c: Likewise.
56804         * math/s_csinh.c Likewise.
56805         * math/s_csinhf.c: Likewise.
56806         * math/s_csinhl.c: Likewise.
56807         * math/s_csinl.c: Likewise.
56808         * math/s_ctan.c: Likewise.
56809         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56810         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56811         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56813 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56816         compilation problems.
56818         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56819         __builtin_expect.
56821 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56823         * sysdeps/i386/configure.in: Test for -mfma4 option.
56824         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56825         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56826         COMMON_CPUID_INDEX_80000001.
56827         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56828         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56829         use it if FMA3 is not supported.
56830         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56832         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56833         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56835 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56837         [BZ #12892]
56838         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56839         it would create a cycle with a link time dependency.
56841 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56843         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56844         instruction.
56845         * string/Makefile (strop-tests): Add rawmemchr.
56846         * string/test-rawmemchr.c: New file.
56848         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56849         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56850         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56851         when compiling str{,n}casecmp and when AVX is available.  Hook up
56852         new optimized code in initializers.
56854 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56856         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56857         __feraiseexcept instead of feraiseexcept.
56859 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56861         * math/math_private.h: Define defaults for libc_fetestexcept and
56862         libc_feupdateenv.
56863         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56864         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56865         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56866         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56867         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56868         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56869         libc_fetestexcept and libc_feupdateenv.
56871         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56872         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56873         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56874         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56875         libc_feholdexcept_setround.
56877         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56878         Add s_nearbyint-c and s_nearbyintf-c.
56879         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56880         nearbyintf inlines.
56881         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56882         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56883         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56884         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56886         * math/math_private.h: Define defaults for libc_fegetround,
56887         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56888         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56889         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56890         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56891         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56892         standard functions.
56893         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56894         Remove comments and hacks for old compiler versions.
56895         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56896         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56897         libc_feholdexceptl.
56899 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56901         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56902         (__feraiseexcept_renamed): Add __NTH.
56903         (feraiseexcept): Add __NTH.  Rename local variables to fix
56904         namespace violations.
56906 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56908         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56910         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56912         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56913         recently added interfaces.
56914         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56916         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56917         about macro parameter expansion.
56919         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56920         __NO_MATH_INLINES is defined.  Cleanups.
56922         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56923         and __floorf is target has SSE4.1.
56924         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56925         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56926         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56927         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56929         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56930         name.
56931         (floorf): Likewise.
56933         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56935 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56937         * misc/sys/cdefs.h: Fix last change.
56939         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56940         database lookup.
56942 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56944         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56946         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56947         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56948         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56949         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56950         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56951         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56952         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56953         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56954         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56955         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56956         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56957         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56958         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56959         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56960         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56961         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56962         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56963         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56964         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56965         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56966         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56967         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56969         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56970         ceil, ceilf, floor, floorf.
56972         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56973         Perform IRELATIVE relocations last.
56975         * elf/do-rel.h: Add another parameter nrelative, replacing the
56976         local variable with the same name.  Change name of the function
56977         to end in Rel or Rela (uppercase).
56978         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56979         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56980         elf_dynamic_do_##reloc function.
56982 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56984         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56985         is sufficient, at least on modern CPUs.
56987         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56989         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56990         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56992         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56993         __expl_finite.
56994         * math/bits/math-finite.h: Add entries for exp.
56995         * math/e_expl.c: Add __*_finite alias.
56996         * sysdeps/i386/fpu/e_exp.S: Likewise.
56997         * sysdeps/i386/fpu/e_expf.S: Likewise.
56998         * sysdeps/i386/fpu/e_expl.c: Likewise.
56999         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57000         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57001         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57003         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57004         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57005         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57007         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57008         is sufficient, at least on modern CPUs.
57010         * ctype/ctype-info.c (__ctype_init): Define.
57011         * include/ctype.h (__ctype_init): Declare.
57012         (__ctype_b_loc): The variable is always initialized.
57013         (__ctype_toupper_loc): Likewise.
57014         (__ctype_tolower_loc): Likewise.
57015         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57016         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57018 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57020         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57022         * configure.in: Also look in $cxxmachine/include for C++ system
57023         headers.
57025 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57027         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57028         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57029         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57030         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57031         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57032         (USE_AS_WMEMCMP): New macro.
57033         Fixing indents.
57034         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57035         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57036         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57037         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57038         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57039         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57040         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57041         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57042         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57043         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57044         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57045         (USE_AS_WMEMCMP): New macro.
57046         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57047         * sysdeps/string/test-memcmp.c: Update.
57048         Fix simple_wmemcmp.
57049         Add new tests.
57050         * wcsmbs/wmemcmp.c: Update.
57051         (WMEMCMP): New macro.
57052         Fix overflow bug.
57054 2011-10-12  Andreas Jaeger  <aj@suse.de>
57056         [BZ #13268]
57057         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57059 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57061         * libio/iofwide.c (do_length): Avoid warning.
57063         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57065 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57067         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57069         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57070         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57071         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57072         * sysdeps/i386/i686/fpu/e_log.S: New file.
57073         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57074         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57076         * ctype/ctype.h: Add support for inlined isXXX functions when
57077         compiling C++ code.
57079 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57081         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57083         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57085 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57087         [BZ #13291]
57088         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57090 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57092         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57093         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57094         feraiseexcept.
57096         * sysdeps/x86_64/memrchr.S: Check for zero size.
57098         * string/stratcliff.c: Add memrchr tests.
57100 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57102         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57103         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57104         rawmemchr-sse2 rawmemchr-sse2-bsf.
57105         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57106         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57107         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57108         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57109         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57110         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57111         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57112         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57113         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57114         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57115         * string/memrchr.c (MEMRCHR): New macro.
57117 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57119         Add integration with gcc's -ffinite-math-only and optimize wrapper
57120         functions in libm.
57121         * Versions.def: Define GLIBC_2.15 version for libm.
57122         * math/Makefile (headers): Add bits/math-finite.h.
57123         * math/bits/math-finite.h: New file.
57124         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57125         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57126         * math/e_acoshl.c: Add __*_finite alias.
57127         * math/e_acosl.c: Likewise.
57128         * math/e_asinl.c: Likewise.
57129         * math/e_atan2l.c: Likewise.
57130         * math/e_atanhl.c: Likewise.
57131         * math/e_coshl.c: Likewise.
57132         * math/e_exp10.c: Likewise.
57133         * math/e_exp10f.c: Likewise.
57134         * math/e_exp10l.c: Likewise.
57135         * math/e_exp2l.c: Likewise.
57136         * math/e_fmodl.c: Likewise.
57137         * math/e_gammal_r.c: Likewise.
57138         * math/e_hypotl.c: Likewise.
57139         * math/e_j0l.c: Likewise.
57140         * math/e_j1l.c: Likewise.
57141         * math/e_jnl.c: Likewise.
57142         * math/e_lgammal_r.c: Likewise.
57143         * math/e_log10l.c: Likewise.
57144         * math/e_log2l.c: Likewise.
57145         * math/e_logl.c: Likewise.
57146         * math/e_powl.c: Likewise.
57147         * math/e_sinhl.c: Likewise.
57148         * math/e_sqrtl.c: Likewise.
57149         * math/e_scalb.c: Completely rewritten and optimized.
57150         * math/e_scalbf.c: Likewise.
57151         * math/e_scalbl.c: Likewise.
57152         * math/w_acos.c: Likewise.
57153         * math/w_acosf.c: Likewise.
57154         * math/w_acosl.c: Likewise.
57155         * math/w_acosh.c: Likewise.
57156         * math/w_acoshf.c: Likewise.
57157         * math/w_acoshl.c: Likewise.
57158         * math/w_asin.c: Likewise.
57159         * math/w_asinf.c: Likewise.
57160         * math/w_asinl.c: Likewise.
57161         * math/w_atan2.c: Likewise.
57162         * math/w_atan2f.c: Likewise.
57163         * math/w_atan2l.c: Likewise.
57164         * math/w_atanh.c: Likewise.
57165         * math/w_atanhf.c: Likewise.
57166         * math/w_atanhl.c: Likewise.
57167         * math/w_exp10.c: Likewise.
57168         * math/w_exp10f.c: Likewise.
57169         * math/w_exp10l.c: Likewise.
57170         * math/w_fmod.c: Likewise.
57171         * math/w_fmodf.c: Likewise.
57172         * math/w_fmodl.c: Likewise.
57173         * math/w_j0.c: Likewise.
57174         * math/w_j0f.c: Likewise.
57175         * math/w_j0l.c: Likewise.
57176         * math/w_j1.c: Likewise.
57177         * math/w_j1f.c: Likewise.
57178         * math/w_j1l.c: Likewise.
57179         * math/w_jn.c: Likewise.
57180         * math/w_jnf.c: Likewise.
57181         * math/w_log.c: Likewise.
57182         * math/w_logf.c: Likewise.
57183         * math/w_logl.c: Likewise.
57184         * math/w_log10.c: Likewise.
57185         * math/w_log10f.c: Likewise.
57186         * math/w_log10l.c: Likewise.
57187         * math/w_log2.c: Likewise.
57188         * math/w_log2f.c: Likewise.
57189         * math/w_log2l.c: Likewise.
57190         * math/w_pow.c: Likewise.
57191         * math/w_powf.c: Likewise.
57192         * math/w_powl.c: Likewise.
57193         * math/w_remainder.c: Likewise.
57194         * math/w_remainderf.c: Likewise.
57195         * math/w_remainderl.c: Likewise.
57196         * math/w_scalb.c: Likewise.
57197         * math/w_scalbf.c: Likewise.
57198         * math/w_scalbl.c: Likewise.
57199         * math/w_sqrt.c: Likewise.
57200         * math/w_sqrtf.c: Likewise.
57201         * math/w_sqrtl.c: Likewise.
57202         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57203         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57204         used.
57205         * math/math_private.h: Declare __kernel_standard_f.
57206         * math/w_cosh.c: Remove cruft and optimize a bit.
57207         * math/w_coshf.c: Likewise.
57208         * math/w_coshl.c: Likewise.
57209         * math/w_exp2.c: Likewise.
57210         * math/w_exp2f.c: Likewise.
57211         * math/w_exp2l.c: Likewise.
57212         * math/w_hypot.c: Likewise.
57213         * math/w_hypotf.c: Likewise.
57214         * math/w_hypotl.c: Likewise.
57215         * math/w_lgamma.c: Likewise.
57216         * math/w_lgamma_r.c: Likewise.
57217         * math/w_lgammaf.c: Likewise.
57218         * math/w_lgammaf_r.c: Likewise.
57219         * math/w_lgammal.c: Likewise.
57220         * math/w_lgammal_r.c: Likewise.
57221         * math/w_sinh.c: Likewise.
57222         * math/w_sinhf.c: Likewise.
57223         * math/w_sinhl.c: Likewise.
57224         * math/w_tgamma.c: Likewise.
57225         * math/w_tgammaf.c: Likewise.
57226         * math/w_tgammal.c: Likewise.
57227         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57228         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57229         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57230         Minor optimizations.  Pretty printing.  Remove cruft.
57231         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57232         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57233         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57234         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57235         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57236         * sysdeps/i386/fpu/e_asin.S: Likewise.
57237         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57238         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57239         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57240         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57241         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57242         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57243         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57244         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57245         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57246         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57247         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57248         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57249         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57250         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57251         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57252         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57253         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57254         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57255         * sysdeps/i386/fpu/e_log.S: Likewise.
57256         * sysdeps/i386/fpu/e_log10.S: Likewise.
57257         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57258         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57259         * sysdeps/i386/fpu/e_log2.S: Likewise.
57260         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57261         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57262         * sysdeps/i386/fpu/e_logf.S: Likewise.
57263         * sysdeps/i386/fpu/e_logl.S: Likewise.
57264         * sysdeps/i386/fpu/e_pow.S: Likewise.
57265         * sysdeps/i386/fpu/e_powf.S: Likewise.
57266         * sysdeps/i386/fpu/e_powl.S: Likewise.
57267         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57268         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57269         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57270         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57271         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57272         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57273         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57274         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57275         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57276         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57277         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57278         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57279         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57280         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57281         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57282         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57283         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57284         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57285         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57286         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57287         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57288         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57289         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57290         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57292         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57293         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57294         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57295         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57296         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57297         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57298         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57299         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57300         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57301         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57302         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57303         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57304         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57305         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57306         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57307         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57308         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57309         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57310         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57311         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57312         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57313         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57314         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57315         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57316         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57317         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57318         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57319         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57320         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57321         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57322         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57323         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57324         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57325         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57326         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57327         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57328         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57329         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57331         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57332         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57333         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57334         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57335         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57336         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57337         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57338         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57339         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57340         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57341         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57342         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57344         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57345         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57346         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57347         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57348         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57349         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57350         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57351         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57352         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57353         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57354         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57355         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57356         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57357         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57358         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57359         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57360         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57361         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57362         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57363         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57364         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57365         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57366         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57367         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57368         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57369         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57370         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57371         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57372         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57373         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57374         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57375         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57376         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57377         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57378         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57379         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57380         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57381         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57382         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57383         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57384         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57385         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57386         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57387         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57388         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57389         (__isnanf): Likewise.
57390         (__isinf_ns): Likewise.
57391         (__isinf_nsf): Likewise.
57392         (__finite): Likewise.
57393         (__finitef): Likewise.
57394         (__ieee754_sqrt): Define as macro.
57395         (__ieee754_sqrtf): Define as macro.
57396         (__ieee754_sqrtl): Define as macro.
57397         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57398         inlined copy.
57399         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57400         __FINITE_MATH_ONLY__ consistent.
57401         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57403 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57405         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57406         of rawmemchr.
57408         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57410 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57412         * po/ja.po: Update from translation team.
57414 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57416         * locale/programs/locarchive.c (prepare_address_space): New function.
57417         (create_archive, enlarge_archive, open_archive): Use it.
57419         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57420         inside [SHARED], where it is used.
57422         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57424         * nss/getent.c (netgroup_keys): Remove unused variable.
57425         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57427 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57429         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57430         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57431         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57432         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57433         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57434         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57435         * math/Makefile (libm-calls): Add s_isinf_ns.
57436         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57437         * math/multc3.c: Likewise.
57438         * math/s_casin.c: Likewise.
57439         * math/s_casinf.c: Likewise.
57440         * math/s_casinl.c: Likewise.
57441         * math/s_ccos.c: Likewise.
57442         * math/s_ccosf.c: Likewise.
57443         * math/s_ccosl.c: Likewise.
57444         * math/s_ctan.c: Likewise.
57445         * math/s_ctanf.c: Likewise.
57446         * math/s_ctanh.c: Likewise.
57447         * math/s_ctanhf.c: Likewise.
57448         * math/s_ctanhl.c: Likewise.
57449         * math/s_ctanl.c: Likewise.
57450         * math/w_fmod.c: Likewise.
57451         * math/w_fmodf.c: Likewise.
57452         * math/w_fmodl.c: Likewise.
57453         * math/w_remainder.c: Likewise.
57454         * math/w_remainderf.c: Likewise.
57455         * math/w_remainderl.c: Likewise.
57456         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57457         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57458         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57459         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57460         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57461         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57462         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57463         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57465         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57466         of the number.
57467         * stdio-common/printf_fphex.c: Likewise.
57468         * stdio-common/printf_size.c: Likewise.
57470         * math/e_exp10.c: Include math_private.h using <...> not "...".
57471         * math/e_exp10f.c: Likewise.
57472         * math/e_exp10l.c: Likewise.
57473         * math/e_exp2l.c: Likewise.
57474         * math/e_j0l.c: Likewise.
57475         * math/e_j1l.c: Likewise.
57476         * math/e_jnl.c: Likewise.
57477         * math/e_lgammal_r.c: Likewise.
57478         * math/e_rem_pio2l.c: Likewise.
57479         * math/e_scalb.c: Likewise.
57480         * math/e_scalbf.c: Likewise.
57481         * math/e_scalbl.c: Likewise.
57482         * math/k_cosl.c: Likewise.
57483         * math/k_sinl.c: Likewise.
57484         * math/k_tanl.c: Likewise.
57485         * math/s_cacoshf.c: Likewise.
57486         * math/s_catan.c: Likewise.
57487         * math/s_catanf.c: Likewise.
57488         * math/s_catanh.c: Likewise.
57489         * math/s_catanhf.c: Likewise.
57490         * math/s_catanhl.c: Likewise.
57491         * math/s_catanl.c: Likewise.
57492         * math/s_ccosh.c: Likewise.
57493         * math/s_ccoshf.c: Likewise.
57494         * math/s_ccoshl.c: Likewise.
57495         * math/s_cexp.c: Likewise.
57496         * math/s_cexpf.c: Likewise.
57497         * math/s_cexpl.c: Likewise.
57498         * math/s_clog.c: Likewise.
57499         * math/s_clog10.c: Likewise.
57500         * math/s_clog10f.c: Likewise.
57501         * math/s_clog10l.c: Likewise.
57502         * math/s_clogf.c: Likewise.
57503         * math/s_clogl.c: Likewise.
57504         * math/s_csin.c: Likewise.
57505         * math/s_csinf.c: Likewise.
57506         * math/s_csinh.c: Likewise.
57507         * math/s_csinhf.c: Likewise.
57508         * math/s_csinhl.c: Likewise.
57509         * math/s_csinl.c: Likewise.
57510         * math/s_csqrt.c: Likewise.
57511         * math/s_csqrtf.c: Likewise.
57512         * math/s_csqrtl.c: Likewise.
57513         * math/s_ctan.c: Likewise.
57514         * math/s_ctanf.c: Likewise.
57515         * math/s_ctanh.c: Likewise.
57516         * math/s_ctanhf.c: Likewise.
57517         * math/s_ctanhl.c: Likewise.
57518         * math/s_ctanl.c: Likewise.
57519         * math/s_ldexp.c: Likewise.
57520         * math/s_ldexpf.c: Likewise.
57521         * math/s_ldexpl.c: Likewise.
57522         * math/s_significand.c: Likewise.
57523         * math/s_significandf.c: Likewise.
57524         * math/s_significandl.c: Likewise.
57525         * math/w_acos.c: Likewise.
57526         * math/w_acosf.c: Likewise.
57527         * math/w_acosh.c: Likewise.
57528         * math/w_acoshf.c: Likewise.
57529         * math/w_acoshl.c: Likewise.
57530         * math/w_acosl.c: Likewise.
57531         * math/w_asin.c: Likewise.
57532         * math/w_asinf.c: Likewise.
57533         * math/w_asinl.c: Likewise.
57534         * math/w_atan2.c: Likewise.
57535         * math/w_atan2f.c: Likewise.
57536         * math/w_atan2l.c: Likewise.
57537         * math/w_atanh.c: Likewise.
57538         * math/w_atanhf.c: Likewise.
57539         * math/w_atanhl.c: Likewise.
57540         * math/w_cosh.c: Likewise.
57541         * math/w_coshf.c: Likewise.
57542         * math/w_coshl.c: Likewise.
57543         * math/w_dremf.c: Likewise.
57544         * math/w_exp10.c: Likewise.
57545         * math/w_exp10f.c: Likewise.
57546         * math/w_exp10l.c: Likewise.
57547         * math/w_exp2.c: Likewise.
57548         * math/w_exp2f.c: Likewise.
57549         * math/w_fmod.c: Likewise.
57550         * math/w_fmodf.c: Likewise.
57551         * math/w_fmodl.c: Likewise.
57552         * math/w_hypot.c: Likewise.
57553         * math/w_hypotf.c: Likewise.
57554         * math/w_hypotl.c: Likewise.
57555         * math/w_j0.c: Likewise.
57556         * math/w_j0f.c: Likewise.
57557         * math/w_j0l.c: Likewise.
57558         * math/w_j1.c: Likewise.
57559         * math/w_j1f.c: Likewise.
57560         * math/w_j1l.c: Likewise.
57561         * math/w_jn.c: Likewise.
57562         * math/w_jnf.c: Likewise.
57563         * math/w_jnl.c: Likewise.
57564         * math/w_lgamma.c: Likewise.
57565         * math/w_lgamma_r.c: Likewise.
57566         * math/w_lgammaf.c: Likewise.
57567         * math/w_lgammaf_r.c: Likewise.
57568         * math/w_lgammal.c: Likewise.
57569         * math/w_lgammal_r.c: Likewise.
57570         * math/w_log.c: Likewise.
57571         * math/w_log10.c: Likewise.
57572         * math/w_log10f.c: Likewise.
57573         * math/w_log10l.c: Likewise.
57574         * math/w_log2.c: Likewise.
57575         * math/w_log2f.c: Likewise.
57576         * math/w_log2l.c: Likewise.
57577         * math/w_logf.c: Likewise.
57578         * math/w_logl.c: Likewise.
57579         * math/w_pow.c: Likewise.
57580         * math/w_powf.c: Likewise.
57581         * math/w_powl.c: Likewise.
57582         * math/w_remainder.c: Likewise.
57583         * math/w_remainderf.c: Likewise.
57584         * math/w_remainderl.c: Likewise.
57585         * math/w_scalb.c: Likewise.
57586         * math/w_scalbf.c: Likewise.
57587         * math/w_scalbl.c: Likewise.
57588         * math/w_sinh.c: Likewise.
57589         * math/w_sinhf.c: Likewise.
57590         * math/w_sinhl.c: Likewise.
57591         * math/w_sqrt.c: Likewise.
57592         * math/w_sqrtf.c: Likewise.
57593         * math/w_sqrtl.c: Likewise.
57594         * math/w_tgamma.c: Likewise.
57595         * math/w_tgammaf.c: Likewise.
57596         * math/w_tgammal.c: Likewise.
57598         * po/ja.po: Update from translation team.
57600 2011-09-29  Andreas Jaeger  <aj@suse.de>
57602         [BZ #13179]
57603         * sunrpc/netname.c (netname2host): Fix logic.
57605         [BZ #6779]
57606         [BZ #6783]
57607         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57608         correctly.
57609         * math/w_remainder.c (__remainder): Likewise.
57610         * math/w_remainderf.c (__remainderf): Likewise.
57611         * math/libm-test.inc (remainder_test): Add test cases.
57613 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57615         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57616         sdiv_qrnnd.
57618 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57620         * string/test-memcmp.c: Avoid unncessary #defines.
57621         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57623 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57625         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57626         Use new sse2 version for core i3 - i7 as it's faster
57627         than sse42 version.
57628         (bit_Prefer_PMINUB_for_stringop): New.
57629         * sysdeps/x86_64/rawmemchr.S: Update.
57630         Replace with faster SSE2 version.
57631         * sysdeps/x86_64/memrchr.S: New file.
57632         * sysdeps/x86_64/memchr.S: Update.
57633         Replace with faster SSE2 version.
57635 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57637         * elf/dl-load.c (lose): Add cast to avoid warning.
57639 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57641         * po/ca.po: Update from translation team.
57643         * inet/getnetgrent_r.c: Hook up nscd.
57644         * nscd/Makefile (routines): Add nscd_netgroup.
57645         (nscd-modules): Add netgroupcache.
57646         (CFLAGS-netgroupcache.c): Define.
57647         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57648         (cache_search): Add const to second parameter.
57649         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57650         INNETGR.
57651         (dbs): Add netgrdb entry.
57652         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57653         (verify_persistent_db): Handle netgrdb.
57654         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57655         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57656         GETFDNETGR.
57657         (netgroup_response_header): Define.
57658         (innetgroup_response_header): Define.
57659         (datahead): Add netgroup_response_header and innetgroup_response_header
57660         elements.
57661         * nscd/nscd.conf: Add entries for netgroup cache.
57662         * nscd/nscd.h (dbtype): Add netgrdb.
57663         (_PATH_NSCD_NETGROUP_DB): Define.
57664         (netgroup_iov_disabled): Declare.
57665         (xmalloc, xcalloc, xrealloc): Move declarations here.
57666         (cache_search): Adjust prototype.
57667         Add netgroup-related prototypes.
57668         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57669         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57670         (__nscd_innetgr): Declare.
57671         * nscd/selinux.c (perms): Use access_vector_t as element type and
57672         add netgroup-related initializers.
57673         * nscd/netgroupcache.c: New file.
57674         * nscd/nscd_netgroup.c: New file.
57675         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57676         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57677         For four parameters use innetgr.
57678         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57679         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57680         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57681         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57683         * nscd/connections.c (register_traced_file): Don't register file
57684         for disabled databases.
57686 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57688         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57690         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57691         from tree and freeing node.
57693 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57695         * nss/nsswitch.c (__nss_database_lookup): Handle
57696         nss_parse_service_list out of memory case.
57698 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57700         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57701         out of memory case.
57703 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57705         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57706         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57707         pass it down.
57708         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57709         elf_machine_rela, elf_machine_lazy_rel.
57710         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57711         (ELF_DYNAMIC_DO_REL): Likewise.
57712         (ELF_DYNAMIC_DO_RELA): Likewise.
57713         (ELF_DYNAMIC_RELOCATE): Likewise.
57714         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57715         to ELF_DYNAMIC_DO_REL.
57716         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57717         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57718         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57719         elf_machine_rela.
57720         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57721         skip_ifunc, don't call ifunc function if non-zero.
57722         (elf_machine_rela): Likewise.
57723         (elf_machine_lazy_rel): Likewise.
57724         (elf_machine_lazy_rela): Likewise.
57725         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57726         (elf_machine_lazy_rel): Likewise.
57727         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57728         Likewise.
57729         (elf_machine_lazy_rel): Likewise.
57730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57731         Likewise.
57732         (elf_machine_lazy_rel): Likewise.
57733         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57734         (elf_machine_lazy_rel): Likewise.
57735         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57736         (elf_machine_lazy_rel): Likewise.
57737         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57738         (elf_machine_lazy_rel): Likewise.
57739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57740         (elf_machine_lazy_rel): Likewise.
57741         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57742         (elf_machine_lazy_rel): Likewise.
57743         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57744         (elf_machine_lazy_rel): Likewise.
57746 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57748         * nss/nss_files/files-init.c (_nss_files_init): Use static
57749         initialization for all the *_traced_file variables.
57751 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57753         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57755 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57757         [BZ #13226]
57758         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57760 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57762         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57763         Reread the line before reparsing it.
57765 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57767         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57769 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57770             Maxim Kuvyrkov  <maxim@codesourcery.com>
57771             Joseph Myers  <joseph@codesourcery.com>
57773         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57774         if needed for __stack_chk_guard.
57776 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57778         * sysdeps/posix/spawni.c (script_execute): Always define it.
57779         It will be optimized away if unused.
57780         (maybe_script_execute): New function.
57781         (__spawni): Call it.
57783         * Makerules: Don't include tls.make.
57784         (config-tls): Always set to thread.
57785         * tls.make.c: File removed.
57787 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57789         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57790         * config.make.in (CPPFLAGS-config): New substituted variable.
57792 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57794         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57796         [BZ #13192]
57797         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57798         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57800 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57802         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57803         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57804         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57805         (CALL_FAIL): Likewise.
57806         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57807         (CALL_FAIL): Macro removed.
57808         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57810 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57812         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57813         for __FINITE_MATH_ONLY__ == 1.
57815 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57817         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57818         __ieee754_sqrt instead of sqrt.
57819         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57820         __ieee754_sqrtf instead of sqrtf.
57821         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57822         __floorf instead of floorf.
57823         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57824         __floorf, __truncf instead of floorf, truncf.
57826 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57828         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57830         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57831         __extern_always_inline.
57832         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57833         32-bit.
57835 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57837         * elf/rtld.c (dl_main): Also relocate in dependency order when
57838         doing symbol dependency testing.
57840 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57843         Always define `refsym'.
57845 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57847         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57848         (__FD_ELT): Renamed from __FDELT.
57849         * misc/bits/select2.h (__FD_ELT): Likewise.
57850         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57851         __FD_MASK instead of __FDELT, __FDMASK.
57852         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57853         Likewise.
57854         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57855         Likewise.
57857         * elf/Makefile (gen-ldd): Fix pattern.
57859         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57860         (init_tls): Likewise.
57862 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57864         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57866 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57868         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57869         `struct cmsghdr *' instead of `void *'.
57870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57871         Likewise.
57873 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57875         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57876         if non-absolute.
57877         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57878         ldd_rewrite_script.
57880 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57882         * configure.in: Remove --with-tls option.
57883         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57884         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57885         out in case it is missing.
57886         * sysdeps/ia64/elf/configure.in: Likewise.
57887         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57888         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57889         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57890         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57891         * sysdeps/sh/elf/configure.in: Likewise.
57892         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57893         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57894         * sysdeps/x86_64/elf/configure.in: Likewise.
57895         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57896         * sysdeps/mach/hurd/tls.h: Likewise.
57898         [BZ #13067]
57899         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57901         [BZ #13090]
57902         * configure.in: Fix use of AC_INIT.
57904         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57906 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57908         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57909         __set_errno.
57910         * malloc/hooks.c: Likewise.
57912         [BZ #11929]
57913         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57914         variables statically.
57915         (narenas): Initialize.
57916         (list_lock): Initialize.
57917         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57918         initializtion of main_arena and list_lock.  Small cleanups.
57919         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57920         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57921         Add initializers to main_arena and mp_.
57922         (malloc_state): Remove pagesize member.  Change all users to use
57923         GLRO(dl_pagesize).
57925         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57926         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57927         is always initialized.
57929         * malloc/malloc.c: Removed unused configurations and dead code.
57930         * malloc/arena.c: Likewise.
57931         * malloc/hooks.c: Likewise.
57932         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57934         * include/tls.h: Removed.  USE___THREAD must always be defined.
57935         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57936         * elf/dl-libc.c: Likewise.
57937         * elf/dl-tsd.c: Likewise.
57938         * include/errno.h: Likewise.
57939         * include/netdb.h: Likewise.
57940         * include/resolv.h: Likewise.
57941         * inet/herrno-loc.c: Likewise.
57942         * inet/herrno.c: Likewise.
57943         * malloc/arena.c: Likewise.
57944         * malloc/hooks.c: Likewise.
57945         * malloc/malloc.c: Likewise.
57946         * resolv/res-state.c: Likewise.
57947         * resolv/res_libc.c: Likewise.
57948         * sysdeps/i386/dl-machine.h: Likewise.
57949         * sysdeps/ia64/dl-machine.h: Likewise.
57950         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57951         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57952         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57953         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57954         * sysdeps/sh/dl-machine.h: Likewise.
57955         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57956         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57957         * sysdeps/unix/i386/sysdep.S: Likewise.
57958         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57959         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57963         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57964         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57965         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57968         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57969         * sysdeps/x86_64/dl-machine.h: Likewise.
57970         * tls.make.c: Likewise.
57972         * configure.in: Remove --with-__thread option.  Make tests for
57973         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57974         tls_model attribute fail if no support is available.  Remove
57975         USE_IN_LIBIO.
57976         * Makeconfig: Adjust for dropped configure option.  All features are
57977         now mandatory.
57978         * Makerules: Likewise.
57979         * Versions.def: Likewise.
57980         * argp/argp-fmtstream.c: Likewise.
57981         * argp/argp-fmtstream.h: Likewise.
57982         * argp/argp-help.c: Likewise.
57983         * assert/assert.c: Likewise.
57984         * config.h.in: Likewise.
57985         * config.make.in: Likewise.
57986         * configure: Likewise.
57987         * configure.in: Likewise.
57988         * csu/Versions: Likewise.
57989         * csu/init.c: Likewise.
57990         * elf/tst-audit2.c: Likewise.
57991         * elf/tst-tls10.c: Likewise.
57992         * elf/tst-tls10.h: Likewise.
57993         * elf/tst-tls11.c: Likewise.
57994         * elf/tst-tls12.c: Likewise.
57995         * elf/tst-tls14.c: Likewise.
57996         * elf/tst-tlsmod11.c: Likewise.
57997         * elf/tst-tlsmod12.c: Likewise.
57998         * elf/tst-tlsmod13.c: Likewise.
57999         * elf/tst-tlsmod13a.c: Likewise.
58000         * elf/tst-tlsmod14a.c: Likewise.
58001         * elf/tst-tlsmod15b.c: Likewise.
58002         * elf/tst-tlsmod16a.c: Likewise.
58003         * elf/tst-tlsmod16b.c: Likewise.
58004         * elf/tst-tlsmod7.c: Likewise.
58005         * elf/tst-tlsmod8.c: Likewise.
58006         * elf/tst-tlsmod9.c: Likewise.
58007         * gmon/gmon.c: Likewise.
58008         * grp/fgetgrent_r.c: Likewise.
58009         * grp/putgrent.c: Likewise.
58010         * hurd/fopenport.c: Likewise.
58011         * include/libc-symbols.h: Likewise.
58012         * include/tls.h: Likewise.
58013         * intl/gettextP.h: Likewise.
58014         * intl/loadinfo.h: Likewise.
58015         * locale/global-locale.c: Likewise.
58016         * locale/localeinfo.h: Likewise.
58017         * mach/devstream.c: Likewise.
58018         * malloc/arena.c: Likewise.
58019         * malloc/set-freeres.c: Likewise.
58020         * misc/err.c: Likewise.
58021         * misc/getttyent.c: Likewise.
58022         * misc/mntent_r.c: Likewise.
58023         * posix/getopt.c: Likewise.
58024         * posix/wordexp.c: Likewise.
58025         * pwd/fgetpwent_r.c: Likewise.
58026         * resolv/Versions: Likewise.
58027         * resolv/res_hconf.c: Likewise.
58028         * shadow/fgetspent_r.c: Likewise.
58029         * shadow/putspent.c: Likewise.
58030         * stdio-common/printf_fphex.c: Likewise.
58031         * stdio-common/tmpfile.c: Likewise.
58032         * stdlib/abort.c: Likewise.
58033         * stdlib/fmtmsg.c: Likewise.
58034         * sunrpc/auth_unix.c: Likewise.
58035         * sunrpc/clnt_perr.c: Likewise.
58036         * sunrpc/clnt_tcp.c: Likewise.
58037         * sunrpc/clnt_udp.c: Likewise.
58038         * sunrpc/clnt_unix.c: Likewise.
58039         * sunrpc/openchild.c: Likewise.
58040         * sunrpc/svc_simple.c: Likewise.
58041         * sunrpc/svc_tcp.c: Likewise.
58042         * sunrpc/svc_udp.c: Likewise.
58043         * sunrpc/svc_unix.c: Likewise.
58044         * sunrpc/xdr.c: Likewise.
58045         * sunrpc/xdr_array.c: Likewise.
58046         * sunrpc/xdr_rec.c: Likewise.
58047         * sunrpc/xdr_ref.c: Likewise.
58048         * sunrpc/xdr_stdio.c: Likewise.
58050 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58052         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58054 2011-07-03  Andreas Jaeger  <aj@suse.de>
58056         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58057         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58058         regenerate with gen-libm-tests.pl.
58060 2010-05-12  Petr Baudis  <pasky@suse.cz>
58062         [BZ #11589]
58063         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58064         around j0() zero points by switching to j1().
58065         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58066         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58067         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58068         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58070 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58072         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58073         instead of 0.
58074         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58075         instead of 0.
58076         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58077         Patch in part by Pavel Roskin <proski@gnu.org>.
58079         [BZ #13138]
58080         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58081         realloc.
58082         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58083         Free memory block if necessary.
58085         [BZ #12847]
58086         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58087         be NULL.  Don't lock in this case.
58089 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58091         * elf/elf.h (ELFOSABI_GNU): New macro.
58092         (ELFOSABI_LINUX): Define to that.
58094 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58096         * string/strncat.c (strncat): Undef the symbol in case it has been
58097         defined in bits/string.h.
58099 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58101         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58103         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58104         link map.
58106 2011-08-17  Andreas Jaeger  <aj@suse.de>
58108         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58110 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58111             Ian Lance Taylor  <iant@google.com>
58113         * math/libm-test.inc (lround_test): New testcase.
58114         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58116 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58118         * Makefile: Remove support for automatic cvs check-ins.
58119         * Makerules: Likewise.
58120         * config.make.in: Likewise.
58121         * configure.in: Likewise.
58122         * intl/Makefile: Likewise.
58123         * locale/Makefile: Likewise.
58124         * po/Makefile: Likewise.
58125         * posix/Makefile: Likewise.
58126         * sysdeps/gnu/Makefile: Likewise.
58127         * sysdeps/mach/hurd/Makefile: Likewise.
58128         * sysdeps/sparc/sparc32/Makefile: Likewise.
58130         [BZ #13118]
58131         * posix/Makefile (bug-regex32-ENV): Define.
58132         Patch by John Stanley <jpsinthemix@verizon.net>.
58134         * misc/Makefile (headers): Add bits/select2.h.
58135         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58136         * misc/bits/select2.h: New file.
58137         * include/bits/select2.h: New file.
58138         * debug/Makefile (routines): Add fdelt_chk.
58139         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58140         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58141         FD_ISSET.
58142         * debug/fdelt_chk.c: New file.
58144         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58145         * wcsmbs/test-wmemcmp.c: Likewise.
58146         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58147         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58149 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58151         * string/Makefile (strop-tests): Add memcmp.
58152         * string/test-wmemcmp.c: New file.
58153         * string/test-memcmp.c: Add wmemcmp support.
58155 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58157         [BZ #13153]
58158         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58159         2011-07-19 change.
58161         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58162         garbage value in a __mach_port_mod_refs call in the cases of the
58163         task-self and thread-self ports.
58165 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58167         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58169 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58171         * elf/dl-load.c (lose): Check for non-null L.
58173 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58175         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58177         * elf/dl-libc.c (dlerror_run): Pass back error code from
58178         dl_catch_error.
58180         [BZ #13123]
58181         * elf/dl-load.c (lose): Free l_origin if it is valid.
58183         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58184         names.
58185         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58186         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58187         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58188         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58189         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58190         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58192 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58194         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58195         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58196         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58197         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58198         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58199         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58200         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58201         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58202         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58203         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58205 2011-08-15  Alan Modra  <amodra@gmail.com>
58207         [BZ #13092]
58208         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58209         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58210         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58211         ppc_mcount to static-only-routines.
58212         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58213         __mcount_internal.
58214         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58215         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58217 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58219         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58220         for finite and infinity parameters.
58222 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58225         and add nop instructions for throughput optimization.
58226         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58228 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58230         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58231         aligned copy for power7 with vector-scalar instructions.
58232         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58234 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58237         AVX check.
58239 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58241         [BZ #13144]
58242         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58243         last change.
58245 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58247         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58248         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58249         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58251         clock_gettime.
58253 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58255         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58256         Forgot to demangle the pointer.
58258         * sysdeps/i386/sysdep.h: Define atom_text_section.
58259         * sysdeps/x86_64/sysdep.h: Likewise.
58260         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58261         section with atom_text_section.
58262         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58263         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58264         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58265         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58266         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58268         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58269         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58270         already be defined.  Change to take two parameters and don't assign
58271         result to variable.  Adjust all users.
58272         Define INTERNAL_GETTIME if not already defined.
58273         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58274         call.
58275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58276         HAVE_CLOCK_GETTIME_VSYSCALL.
58277         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58280         gettimeofday vsyscall, just use time.
58282 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58284         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58285         <errno.h>.
58287 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58289         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58290         syscall on x86-64.
58291         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58292         syscall.
58293         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58294         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58295         syscall if possible.
58297 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58299         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58300         e_ident.  Don't pass to find_mapsXX.
58301         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58303 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58306         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58307         * sysdeps/x86_64/multiarch/strchr.S: Update.
58308         Check bit_slow_BSF bit.
58309         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58310         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58311         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58313 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58315         [BZ #13134]
58316         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58317         before glibc 2.15.
58318         (tryshell): Define.
58319         (__spawni): Change last parameter to be flag.  Test
58320         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58321         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58322         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58323         * posix/spawni.c: Likewise.
58324         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58325         * posix/spawnp.c: Likewise.  Change normal version to use
58326         SPAWN_XFLAGS_USE_PATH.
58327         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58328         SPAWN_XFLAGS_TRY_SHELL.
58330         [BZ #13150]
58331         * posix/glob.h: Remove gcc 1.x support.
58333         [BZ #13068]
58334         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58336 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58338         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58339         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58340         strrchr-sse2-bsf
58341         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58342         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58343         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58344         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58345         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58346         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58348 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58350         * sysdeps/x86_64/wcscmp.S: New file.
58352         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58353         wcscmp-c wcscmp-sse2
58354         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58355         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58356         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58357         * wcsmbs/wcscmp.c: Allow renaming.
58359 2011-09-05  David S. Miller  <davem@davemloft.net>
58361         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58362         stack slot, rather than the struct return pointer slot.
58363         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58364         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58366         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58368 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58370         * po/ja.po: Update from translation team.
58372         [BZ #13144]
58373         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58374         kernel in 64-bit binaries.
58376 2011-09-01  David S. Miller  <davem@davemloft.net>
58378         * elf/elf.h (HWCAP_SPARC_*): Move to..
58379         * sysdeps/sparc/sysdep.h: this new file and add new values.
58380         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58381         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58382         _DL_HWCAP_COUNT to 24.
58383         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58384         entries.
58385         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58386         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58387         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58388         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58389         instead of magic constants.
58390         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58392 2011-08-31  David S. Miller  <davem@davemloft.net>
58394         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58396         Reimplement to do errno handling inline.
58397         (SYSCALL_ERROR_HANDLER): New macro.
58398         (__SYSCALL_STRING): Do not do errno handling in asm.
58399         (__CLONE_SYSCALL_STRING): Delete.
58400         (__INTERNAL_SYSCALL_STRING): Delete.
58401         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58402         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58403         (PSEUDO): Reimplement to do errno handling inline.
58404         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58405         (SYSCALL_ERROR_HANDLER): New macro.
58406         (__SYSCALL_STRING): Do not do errno handling in asm.
58407         (__CLONE_SYSCALL_STRING): Delete.
58408         (__INTERNAL_SYSCALL_STRING): Delete.
58409         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58410         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58411         i386.
58412         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58413         (inline_syscall*): Add 'err' argument.
58414         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58415         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58416         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58417         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58419         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58420         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58422 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58424         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58426 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58428         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58429         directive.
58431 2011-08-24  David S. Miller  <davem@davemloft.net>
58433         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58435 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58437         * elf/Makefile: Add rules to build and run unload8 test.
58438         * elf/unload8.c: New file.
58439         * elf/unload8mod1.c: New file.
58440         * elf/unload8mod1x.c: New file.
58441         * elf/unload8mod2.c: New file.
58442         * elf/unload8mod3.c: New file.
58444         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58445         it wasn't used.
58447 2011-08-23  David S. Miller  <davem@davemloft.net>
58449         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58450         subtract stack bias.
58451         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58452         %sp not %fp in calculations.
58453         (_JMPBUF_UNWINDS_ADJ): Likewise.
58455         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58456         (aio_suspend): Call it to force an exception region around the
58457         AIO_MISC_WAIT() invocation.
58459 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58461         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58462         backslash.
58464 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58466         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58467         protection macro.
58468         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58469         and <dl-machine.h>.
58470         (Elf64_FuncDesc): Remove.
58472 2011-08-22  David S. Miller  <davem@davemloft.net>
58474         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58475         sigaltstack check, add missing cfi directives.
58476         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58477         missing cfi directives, and sigaltstack handling.
58479 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58481         [BZ #11724]
58482         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58483         object is seen twice.
58484         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58486         * elf/Makefile (distribute): Add tst-initorder2.c.
58487         (tests): Add tst-initorder2.
58488         (modules-names): Add tst-initorder2a tst-initorder2b
58489         tst-initorder2c tst-initorder2d.  Add rules to build them.
58490         ($(objpfx)tst-initorder2.out): New rule.
58491         * elf/tst-initorder2.c: New file.
58492         * elf/tst-initorder2.exp: New file.
58494 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58496         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58498         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58499         dependencies back to end of function.
58501         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58502         $(elfobjdir)/ld.so.
58504 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58506         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58507         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58508         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58509         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58510         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58511         of __vdso_gettimeofday.
58512         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58513         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58514         attribute_hidden.
58515         (_libc_vdso_platform_setup): Remove initialization of
58516         __vdso_gettimeofday and __vdso_time.
58518 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58520         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58521         and fgetc_unlocked.
58522         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58523         getc_unlocked.
58525         * elf/dl-open.c (add_to_global): Report additions to the global scope
58526         for LD_DEBUG=scopes.
58527         (dl_open_worker): Also print scope of newly loaded dependencies.
58528         (_dl_show_scope): Indicate if there is no scope.
58530         [BZ #13114]
58531         * stdio-common/Makefile (tests): Add bug24.
58532         * stdio-common/bug24.c: New file.
58534 2011-08-19  Andreas Jaeger  <aj@suse.de>
58536         [BZ #13114]
58537         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58538         non-existant file when using close-on-exec mode.
58540 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58543         the very first instruction.
58545         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58546         the CFI state in the end.
58547         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58548         inclusion of dl-trampoline.h.
58549         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58551 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58553         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58554         expectations for long double.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58557         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58559 2011-08-14  David S. Miller  <davem@davemloft.net>
58561         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58562         artificual limit depends upon the system page size.
58564 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58566         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58567         * resolv/Makefile: Define CFLAGS-libresolv.
58569 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58571         * nss/makedb.c (compute_tables): Make variables used in nested
58572         function static.
58574 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58576         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58577         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58578         if buffer was too small.
58580         * elf/pldd.c (main): Attach to all threads in the process.
58581         Rewrite /proc handling to use *at functions.
58583 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58585         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58586         specifies first scope to show.
58587         (dl_open_worker): Update callers.  Move printing scope of new
58588         object to before the relocation.
58589         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58590         * sysdeps/generic/ldsodefs.h: Update declaration.
58592         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58593         string for the scope number.
58595 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58597         * nscd/servicescache.c (cache_addserv): Make sure written is always
58598         initialized.
58600 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58602         * sysdeps/i386/i486/bits/atomic.h
58603         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58604         statement expression, so as to suppress "set but not used" warning.
58605         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58607         * string/strncat.c (STRNCAT): Use prototype definition.
58609         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58610         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58611         -Iprograms here.
58612         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58613         (localedef-modules): Add localedef.
58614         (locale-modules): Add locale.
58616         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58617         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58618         to avoid a warning.
58620 2011-08-14  David S. Miller  <davem@davemloft.net>
58622         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58623         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58625 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58627         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58628         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58629         * elf/rtld.c (dl_main): Set l_name of vDSO.
58630         Call _dl_show_scope when DL_DEBUG_SCOPES.
58631         (process_dl_debug): Recognize scopes flag and also set it for all.
58632         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58633         Declare _dl_show_scope.
58635         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58636         (do_dlopen): Pass caller_dlopen to dl_open.
58637         (__libc_dlopen_mode): Initialize caller_dlopen.
58639         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58640         of libc.  Make tolower call locale-independent.  Optimize a bit by
58641         using isdigit instead of isalnum.
58642         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58644 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58646         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58647         was a dependency or dynamically loaded.
58649 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58651         * intl/l10nflist.c: Allow architecture-specific pop function.
58652         * sysdeps/x86_64/l10nflist.c: New file.
58654         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58655         classification.
58657 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58659         * include/dirent.h: Add libc_hidden_proto for scandirat and
58660         scandirat64.  Don't declare __scandirat64.
58661         * dirent/scandirat.c: Add libc_hidden_def.
58662         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58663         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58665 2011-08-10  David S. Miller  <davem@davemloft.net>
58667         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58668         enum.
58669         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58671         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58673 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58675         * Versions.def [libc]: Add GLIBC_2.15.
58676         * dirent/Makefile (routines): Add scandirat and scandirat64.
58677         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58678         GLIBC_2.15.
58679         * dirent/dirent.h: Declare scandirat and scandirat64.
58680         * dirent/scandirat.c: New file.
58681         * dirent/scandirat64.c: New file.
58682         * sysdeps/wordsize-64/scandirat.c: New file.
58683         * sysdeps/wordsize-64/scandirat64.c: New file.
58684         * dirent/opendir.c: Define opendirat.
58685         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58686         using scandirat.
58687         * dirent/scandir64.c: Adjust for scandir.c change.
58688         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58689         __scandirat64, and __scandir_cancel_handler.
58690         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58691         additional parameter and use openat instead of open (outside of ld.so).
58692         Add new __opendir as wrapper around __opendirat.
58693         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58694         here without requiring old scandirat implementation.
58696 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58698         * dirent/scandir.c (cancel_handler): Renamed to
58699         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58700         defined.  Adjust users.
58701         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58702         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58704 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58706         * string/test-string.h (IMPL): Use __STRING to expand name and then
58707         stringify it.
58709         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58710         of cleanups.
58712 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58714         * string/Makefile: Update.
58715         (strop-tests): Append strncat.
58716         * string/test-wcscmp.c: New file.
58717         New comprehensive test for wcscmp.
58718         * string/test-strcmp.c: Update.
58719         (WIDE): New define.
58721 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58723         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58724         line.
58726 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58729         encoding to ACE if AI_IDN.
58731 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58734         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58736 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58738         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58739         Fix overflow bug in strncat.
58740         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58742         * string/test-strncat.c: Update.
58743         Add new tests for checking overflow bugs.
58745 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58748         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58749         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58750         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58751         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58752         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58753         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58754         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58755         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58757         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58758         (USE_AS_STRCAT): Define.
58759         Add strcat and strncat support.
58760         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58762 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58764         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58765         __n bigger than INT_MAX+1.
58766         (__strncmp_g): Likewise.
58768 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58770         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58771         * libio/stido.h: Likewise.
58773         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58774         (AF_NFC): Define.
58775         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58776         (AF_NFC): Define.
58778         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58779         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58780         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58781         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58782         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58784         [BZ #13021]
58785         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58786         installed.
58788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58789         typo.
58790         (_dl_x86_64_save_sse): Likewise.
58792 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58795         OSXSAVE.
58796         (_dl_x86_64_save_sse): Likewise.
58798         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58800         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58802 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58805         change.
58806         (_dl_x86_64_save_sse): Use correct AVX check.
58808 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58810         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58811         bug in strncpy/strncat.
58812         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58814 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58816         * string/tester.c (test_strcat): Add tests for different alignments
58817         of source and destination.
58818         (test_strncat): Likewise.
58820 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58822         [BZ #12852]
58823         * posix/glob.c (glob): Check passed in values before using them in
58824         expressions to avoid some overflows.
58825         (glob_in_dir): Likewise.
58827         [BZ #13007]
58828         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58829         check for AVX enablement so that we don't crash with old kernels and
58830         new hardware.
58831         * elf/tst-audit4.c: Add same checks here.
58832         * elf/tst-audit6.c: Likewise.
58834         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58836 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58838         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58840 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58842         * po/cs.po: Update from translation team.
58843         * po/bg.po: Likewise.
58845 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58847         * misc/sys/cdefs.h: Add support for const attribute.
58848         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58849         to gnu_dev_{major,minor,makedev} functions.
58851 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58853         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58855 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58857         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58858         strlen results.
58860 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58862         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58863         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58864         register in order to avoid conflicts with the soft frame pointer
58865         being held in r11 when necessary.
58866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58867         (INTERNAL_VSYSCALL_NCS): Likewise.
58869 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58871         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58872         * elf/dl-fini.c (_dl_fini): Adjust caller.
58873         * elf/dl-close.c (_dl_close_worker): Likewise.
58874         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58876 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58878         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58879         "aux_cache->nlibs < 0".
58881         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58882         in the reload-count case.
58884 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58887         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58888         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58889         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58890         * sysdeps/x86_64/multiarch/strcat.S: New file.
58891         * sysdeps/x86_64/multiarch/strncat.S: New file.
58892         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58893         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58894         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58895         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58896         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58897         (USE_AS_STRCAT): Define.
58898         Add strcat and strncat support.
58899         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58900         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58901         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58902         * string/strncat.c: Update.
58903         (USE_AS_STRNCAT): Define.
58904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58905         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58906         and i7.
58907         * sysdeps/x86_64/multiarch/init-arch.h
58908         (bit_Prefer_PMINUB_for_stringop): New.
58909         (index_Prefer_PMINUB_for_stringop): Likewise.
58910         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58911         bit_Prefer_PMINUB_for_stringop.
58913 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58915         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58916         buffer64.
58917         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58918         of casting of buffer.
58919         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58920         buffer32 and buffer64.
58921         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58922         writes instead of casting of buffer.
58923         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58924         buffer32.
58925         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58926         casting of buffer.
58928 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58930         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58932 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58934         * nscd/nscd.c (termination_handler): Don't do anything for a database
58935         if it has not yet been initialized.
58937 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58939         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58941 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58943         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58945 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58947         * po/nl.po: Update from translation team.
58948         * po/sv.po: Likewise.
58950 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58952         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58953         now disallowed by GCC.
58955         * configure.in (use-default-link): Default to yes if a test -shared
58956         link meets our qualifications.
58957         * configure: Regenerated.
58959         * config.make.in (output-format): New variable.
58960         * configure.in: Check for ld --print-output-format support.
58961         * configure: Regenerated.
58962         * Makerules ($(common-objpfx)format.lds)
58963         [$(output-format) != unknown]: Just use $(output-format),
58964         instead of the linker-script munging.
58966 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58968         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58969         of $(common-objpfx)shlib.lds.
58970         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58972         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58973         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58975         * configure.in (-z relro check): Adjust test code to add a large
58976         writable data section after it.
58977         * configure: Regenerated.
58979 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58981         * configure.in (-z relro check): Fix test code to make the variable
58982         truly const.
58983         * configure: Regenerated.
58985 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58987         * nscd/nscd.h (struct traced_file): Define.
58988         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58989         elements.  Add traced_files.
58990         (inotify_fd): Declare.
58991         (register_traced_file): Declare.
58992         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58993         (inotify_fd): Export.
58994         (resolv_conf_descr): Remove.
58995         (nscd_init): Move inotify descriptor creation to main.
58996         Don't register files for notification here.
58997         (register_traced_file): New function.
58998         (invalidate_cache): Don't use reset_res to determine whether to call
58999         res_init, go through the list of registered files.
59000         (main_loop_poll): The inotify descriptors are now stored in the
59001         structures for the traced files.
59002         (main_loop_epoll): Likewise
59003         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59004         to __nss_disable_nscd.
59005         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59006         for a database anymore.  Check the records for all the registered
59007         files instead.
59008         * nss/Makefile (libnss_files-routines): Add files-init.
59009         (libnss_db-routines): Add db-init.
59010         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59011         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59012         * nss/nss_db/db-init.c: New file.
59013         * nss/nss_files/files-init.c: New file.
59014         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59015         __nss_lookup_function.
59016         (__nss_lookup_function): Call nss_load_library.
59017         (nss_load_all_libraries): New function.
59018         (__nss_disable_nscd): Take parameter with callback function for files
59019         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59020         used for the cached services.
59021         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59022         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59023         options for features to all the files in nscd.
59025         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59027 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59029         * csu/elf-init.c (__libc_csu_init): Comment typo.
59031 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59033         * po/pl.po: Update from translation team.
59034         * po/ja.po: Likewise.
59035         * po/ru.po: Likewise.
59036         * po/ko.po: Likewise.
59037         * po/fr.po: Likewise.
59039 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59041         * configure.in (.ctors/.dtors header and trailer check):
59042         Use an empirical test on a built program.
59043         * configure: Regenerated.
59045         * configure.in (-z relro check): Use an empirical test on a built DSO.
59046         Detect, but do not require, on ia64.
59047         * configure: Regenerated.
59049         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59050         Update tests that use readelf to use $READELF instead.
59051         * configure: Regenerated.
59053 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59055         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59056         if the result is not used.
59058 2011-07-05  Andreas Jaeger  <aj@suse.de>
59060         [BZ#9696]
59061         * stdlib/tst-strtod.c: Add testcase.
59063 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59065         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59066         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59067         The latter has a higher limit.  Take additional parameter to pass to
59068         the new function.
59069         (__pathconf): Pass file to __statfs_link_max.
59070         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59071         __statfs_link_max.
59072         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59073         __statfs_link_max.
59075         [BZ #12868]
59076         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59077         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59078         Handle Lustre.
59079         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59080         (__statfs_filesize_max): Likewise.
59081         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59083 2011-07-05  Andreas Jaeger  <aj@suse.de>
59085         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59087 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59089         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59090         `status' variable.
59091         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59092         Likewise.
59094 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59096         * Makefile (strop-tests): Add strncat.
59097         * string/test-strncat.c: New file.
59099 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59101         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59103 2011-06-21  Andreas Jaeger  <aj@suse.de>
59105         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59106         Copy rule from iconvdata/Makefile.
59108 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59110         [BZ #12922]
59111         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59112         but no long options are defined, just return 'W'.
59114 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59116         [BZ #9696]
59117         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59119 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59121         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59122         netgroups to read.
59123         (innetgr): Likewise.
59125 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59127         * config.make.in (install_root): Default to $(DESTDIR).
59129 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59131         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59133 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59135         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59137         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59138         containing directory rather than embedding absolute directory names.
59140         * scripts/check-local-headers.sh: Rewritten using awk.
59141         Match by word, not by line.  Print error messages for matches.
59142         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59144         * Makerules [shlib-lds-flags empty]:
59145         ($(common-objpfx)libc_pic.opts): New target.
59146         ($(common-objpfx)libc_pic.os.clean): New target.
59147         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59149         * config.make.in (OBJCOPY): New variable.
59150         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59151         * configure: Regenerated.
59153         * config.make.in (use-default-link): New variable.
59154         * configure.in (use_default_link): Grok --with-default-link to set it.
59155         * configure: Regenerated.
59156         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59157         (shlib-lds, shlib-lds-flags): Define to empty.
59159         * Makerules (shlib-lds): New variable.
59160         (shlib-lds-flags): New variable.
59161         (build-shlib, build-moduile, build-module-asneeded): Use it.
59162         ($(common-objpfx)libc.so): Use $(shlib-lds).
59163         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59164         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59166         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59167         DT_FLAGS/DT_FLAGS_1 with zero flags.
59169         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59170         linker script munging.
59172 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59174         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59175         as 128-bit value.
59176         * crypt/sha512.c (sha512_process_block): Perform total addition using
59177         128-bit if possible.
59178         (__sha512_finish_ctx): Likewise.
59179         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59180         as 64-bit value.
59181         * crypt/sha256.c (SWAP64): Define.
59182         (sha256_process_block): Perform total addition using 64-bit if
59183         possible.
59184         (__sha256_finish_ctx): Likewise.
59186 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59188         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59189         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59190         * nscd/hstcache.c (cache_addhst): Likewise.
59191         * nscd/grpcache.c (cache_addgr): Likewise.
59192         * nscd/aicache.c (addhstaiX): Likewise
59193         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59195 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59197         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59198         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59199         * nscd/hstcache.c (cache_addhst): Likewise.
59200         * nscd/grpcache.c (cache_addgr): Likewise.
59201         * nscd/aicache.c (addhstaiX): Likewise
59203 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59205         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59206         domain only when needed.
59208 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59211         is always restored.
59213 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59215         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59216         are re-adding the entry.
59217         * nscd/servicescache.c (cache_addserv): Likewise.
59219 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59221         * sysdeps/generic/dl-irel.h: fix protection against multiple
59222         inclusions.
59223         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59225 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59227         [BZ #12935]
59228         * malloc/memusage.sh: Fix quoting in message.
59229         * debug/xtrace.sh: Likewise.
59231         * configure.in: Remove support for --experimental-malloc option, make
59232         it the default.
59233         * config.make.in: Likewise.
59234         * malloc/Makefile: Likewise.
59236 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59238         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59239         two-byte characters.
59241 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59243         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59244         AC_CACHE_CHECK invocation.
59245         * configure: Regenerated.
59247         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59249 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59251         [BZ #12350]
59252         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59253         bit from old_res_options.
59255         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59257         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59258         value type for setfct.
59260 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59262         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59263         __gettimeofday instead of gettimeofday.
59265 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59267         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59269 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59271         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59273         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59274         info.
59276 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59279         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59280         strcpy-sse2-unaligned strncpy-sse2-unaligned
59281         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59282         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59283         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59284         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59285         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59286         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59287         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59288         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59289         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59290         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59291         (STRCPY): Support SSE2 and SSSE3 versions.
59293 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59295         [BZ #12874]
59296         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59297         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59298         kernels which artificially limit size of requests.
59300 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59303         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59304         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59305         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59306         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59307         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59308         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59309         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59310         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59311         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59312         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59313         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59314         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59315         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59316         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59318         Enable unaligned load optimization for Intel Core i3, i5 and i7
59319         processors.
59320         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59321         Define.
59322         (index_Fast_Unaligned_Load): Define.
59323         (HAS_FAST_UNALIGNED_LOAD): Define.
59325 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59327         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59329 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59331         [BZ #12907]
59332         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59333         until it is clear that the information is realy needed.
59334         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59336 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59340 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59342         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59343         /sys/devices/system/cpu/online if it is usable.
59345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59346         reading the information from the /proc filesystem to once a second.
59348 2011-06-21  Andreas Jaeger  <aj@suse.de>
59350         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59351         NULL after inclusion of kernel headers.
59353 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59355         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59356         calls to internal_setent.
59358         [BZ #12885]
59359         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59360         addresses using gethostbyname4_r ignore IPv4 addresses.
59362         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59363         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59365         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59367 2011-06-20  David S. Miller  <davem@davemloft.net>
59369         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59370         inclusions.
59371         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59373         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59374         (elf_irel): Use it.
59375         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59376         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59377         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59378         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59379         * sysdeps/x86_64/dl-irel.h: Likewise.
59381         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59382         * elf/dl-sym.c: Likewise.
59384 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59386         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59387         need to dereference resplen2.
59389 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59391         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59393 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59395         * Makeconfig: Define vardbdir and inst_vardbdir.
59396         * nss/Makefile: Add rules to install db-Makefile.
59398         * nss/nss_db/db-XXX.c: Cleanup.
59400         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59401         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59402         GLIBC_PRIVATE.
59403         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59404         * nss/makedb.c: Implement -g option to specify that value strings
59405         are generated and should not be added to table iterated over for
59406         get*ent calls.
59407         * nss/nss_db/db-initgroups.c: New file.
59409         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59410         interface.
59412         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59413         (internal_getgrouplist): Adjust to name change.
59414         Update use_initgroups_entry if this is not the first call.
59415         * nss/databases.def: Add initgroups entry.
59417         * nss/makedb.c (compute_tables): Check result of multiple hash table
59418         sizes to minimize maximum chain length.
59420 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59422         * Versions.def: Add entry for libnss_db.
59423         * shlib-versions: Likewise.
59424         * nss/Makefile: Add rules to build libnss_db.
59425         * nss/Versions: Add libnss_db information.  Organize libnss_files
59426         entries better.
59427         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59428         makedb progra.  Some minor improvements to generate smaller files.
59429         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59430         here from...
59431         * nss/makedb.c: ...here.
59432         Improve database format to be smaller and require less memory at
59433         runtime.
59434         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59435         db anymore.
59436         * nss/nss_db/db-netgrp.c: Likewise.
59437         * nss/nss_db/db-open.c: Likewise.
59438         * nss/nss_files/flies-XXX.x: Adjust comments.
59439         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59440         * nss/nss_files/files-grp.c: Likewise.
59441         * nss/nss_files/files-hosts.c: Likewise.
59442         * nss/nss_files/files-network.c: Likewise.
59443         * nss/nss_files/files-proto.c: Likewise.
59444         * nss/nss_files/files-pwd.c: Likewise.
59445         * nss/nss_files/files-rpc.c: Likewise.
59446         * nss/nss_files/files-service.c: Likewise.
59447         * nss/nss_files/files-sgrp.c: Likewise.
59448         * nss/nss_files/files-spwd.c: Likewise.
59449         * nss/nss_db/db-alias.c: Removed.
59450         * nss/nss_db/dummy-db.h: Removed.
59452 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59454         * nss/makedb.c: Rewritten to not use database library.
59455         * nss/Makefile: Update to build new makedb program.
59457 2011-06-14  Andreas Jaeger  <aj@suse.de>
59459         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59460         memset declaration.
59462 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59465         tmpbuf.
59467 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59469         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59470         * elf/Makefile ($(objpfx)ld.so): Likewise.
59472         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59473         Don't list ld.so twice in dependencies.
59475         * posix/bug-regex31.c: Include <stdlib.h>.
59477         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59479         * nis/nss_compat/compat-spwd.c
59480         (getspent_next_nss_netgr): Remove unused variable.
59481         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59483         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59484         nonmembers" output to use the right array.
59486         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59488         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59490         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59491         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59492         * catgets/gencat.c (read_input_file): Likewise.
59493         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59495         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59496         variable definition inside #if's controlling its use.
59498         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59500         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59502         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59504         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59505         unreachable code.
59507         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59509         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59510         * configure: Regenerated.
59512         * Makerules: Revert last change.
59513         * elf/Makefile: Likewise.
59515 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59517         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59518         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59519         (reloc-link): Likewise.
59521 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59523         * elf/Makefile: Add rules to build pldd.
59524         * elf/pldd.c: New file.
59525         * elf/pldd-xx.c: New file.
59527 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59529         * version.h: Update for 2.15 development version.
59531 2011-06-07  David S. Miller  <davem@davemloft.net>
59533         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59534         ifuncs.
59535         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59536         elf_machine_lazy_rel): Likewise.
59537         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59538         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59539         elf_machine_lazy_rel): Likewise.
59540         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59541         dl_hwcap via passed in argument.
59542         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59543         Likewise.
59545 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59547         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59549 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59551         [BZ #12849]
59552         * manual/fdl-1.1.texi: New file, verbatim from:
59553         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59554         * manual/lgpl-2.1.texi: New file, verbatim from:
59555         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59556         * manual/Makefile (licenses): New variable, list those new file names.
59557         (texis): Use it.
59558         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59560         * manual/fdl.texi: File removed.
59561         * manual/lesser.texi: File removed.
59562         * manual/libc.texinfo (Copying, Documentation License):
59563         Use new @include file names, put @appendix directive before @include.
59565 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59567         [BZ #12841]
59568         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59569         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59570         (mq_open): Add __NTH.
59572 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59575         Assume Intel Core i3/i5/i7 processor if AVX is available.
59577 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59579         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59580         typo.
59582 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59584         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59585         memory.  Use alloca_account.  Fix memory leak when retrying.
59587 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59589         * version.h (RELEASE): Bump for 2.14 release.
59590         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59592         * config.make.in (RANLIB): Remove entry.
59594 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59596         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59597         (libc.pot): Work around missing support for .ksh extension in xgettext.
59599         [BZ #12684]
59600         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59601         if both request failed.
59602         (send_dg): In case of server errors clear resplen or *resplen2.
59604         [BZ #12454]
59605         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59606         when there are multiple maps.
59607         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59608         (_dl_fini): Remove test here.
59610         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59612 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59614         [BZ #12350]
59615         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59616         bit from old_res_options.
59617         (gaih_inet): Likewise.
59619         [BZ #11099]
59620         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59621         as signed.
59623         * resolv/res_init.c (res_setoptions): Make the code more compact.
59625         [BZ #11558]
59626         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59627         set RES_USEVC.
59629         [BZ #11634]
59630         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59632         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59634         [BZ #11781]
59635         * malloc/malloc.h: Declare malloc hook variables as volatile.
59637         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59638         in last patch.
59640         [BZ #11799]
59641         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59642         raise in the comment.
59643         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59644         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59645         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59647 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59649         [BZ #12811]
59650         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59651         grow the buffers more if it already has to be sufficient.
59652         (build_wcs_upper_buffer): Likewise.
59653         * posix/regexec.c (check_matching): Likewise.
59654         (clean_state_log_if_needed): Likewise.
59655         (extend_buffers): Don't enlarge buffers beyond size of the input
59656         buffer.
59657         Patches mostly by Emil Wojak <emil@wojak.eu>.
59658         * posix/bug-regex32.c: New file.
59659         * posix/Makefile (tests): Add bug-regex32.
59661         * locale/findlocale.c (_nl_find_locale): Return right away if
59662         _nl_explode_name failed.
59663         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59665         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59667         * debug/xtrace.sh: Unify messages.
59668         * malloc/memusage.sh: Likewise.
59670         [BZ #12813]
59671         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59672         time symbol from vDSO.  Substitute with vsyscall if not available.
59673         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59674         __vdso_time.
59676         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59677         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59678         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59679         Add sendmmsg and internal_sendmmsg.
59680         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59681         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59682         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59684         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59685         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59686         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59688 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59690         [BZ #12813]
59691         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59692         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59693         available.
59694         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59695         __vdso_getcpu.
59697         [BZ #12814]
59698         * iconvdata/Makefile (tests): Add bug-iconv9.
59699         * iconvdata/bug-iconv9.c: New file.
59701 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59703         [BZ #12814]
59704         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59706 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59708         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59709         (struct user_regs_struct): Change intcs field back to cs.
59711 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59713         * po/ja.po: Update from translation team.
59715 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59717         [BZ #12795]
59718         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59719         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59721 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59723         * stdlib/longlong.h: Update from GCC.
59725 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59727         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59728         parameter name.
59729         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59730         Add parameter name.
59731         (__sysconf): Pass it down.
59733 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59735         [BZ #12671]
59736         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59737         some situations.
59738         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59739         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59740         add in in __libc_use_alloca calls.  Adjust callers.
59741         (glob): Use malloc in some situations.
59743         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59744         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59745         pltexit.
59747 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59749         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59750         and CLOCK_BOOTTIME_ALARM.
59752         [BZ #12782]
59753         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59754         is returned.
59756         * string/_strerror.c (__strerror_r): Print negative errors as signed
59757         numbers.
59759         [BZ #12777]
59760         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59761         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59762         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59764         * configure.in: Fix typo in redirection and correct removal of test
59765         files in two cases.
59767         [BZ #12788]
59768         * locale/setlocale.c (new_composite_name): Fix test to check for
59769         identical name of all categories.
59771         [BZ #12792]
59772         * libio/filedoalloc.c (local_isatty): New function.
59773         (_IO_file_doallocate): Use local_isatty.
59774         * stdio-common/perror.c (perror): In case a new stream is used
59775         forward the stream error.
59776         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59777         error flag.
59779 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59781         [BZ #11869]
59782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59783         alloca.
59784         * include/alloca.h (extend_alloca_account): Define.
59786         [BZ #11857]
59787         * posix/regex.h: Fix comments with documentation of user-accessible
59788         fields after compilation and describe correct free'ing of pattern
59789         after re_compile_pattern.
59790         Patch by Reuben Thomas <rrt@sc3d.org>.
59792 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59794         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59795         and -mno-altivec to prevent the compiler from using Altivec and/or
59796         VSX instructions when the corresponding registers are not available.
59798 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59800         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59802 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59804         * libio/freopen.c (freopen): Use __dup2, not dup2.
59805         * libio/freopen64.c (freopen64): Likewise.
59807 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59809         [BZ #12775]
59810         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59811         * math/Makefile (tests): Add test-powl.
59812         (CFLAGS-test-powl.c): Define.
59813         * math/test-powl.c: New file.
59815 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59817         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59819 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59821         [BZ #11837]
59822         * iconvdata/gb18030.c: Update to GB18020-2005.
59824 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59826         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59827         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59828         Patch by Aharon Robbins <arnold@skeeve.com>.
59830         [BZ #11892]
59831         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59832         on the stack.
59834         [BZ #11895]
59835         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59836         through underflows.
59838         [BZ #12766]
59839         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59840         point to strings before performing equality test for error_one_per_line
59841         mode.
59843         [BZ #11697]
59844         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59846         [BZ #11820]
59847         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59848         (struct user_fpregs_struct): Avoid __uint*_t types.
59850         [BZ #6420]
59851         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59852         symbol info.  Use it instead of calling _dl_addr locally.
59853         (lock_and_info): New function.
59854         (tr_freehook): Call lock_and_info and pass symbol info as additional
59855         parameter to tr_where.
59856         (tr_mallochook): Likewise.
59857         (tr_reallochook): Likewise.
59858         (tr_memalignhook): Likewise.
59860         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59861         used and couldn't be at all thread-safe.
59863 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59865         * libio/freopen.c (freopen): Don't close old file descriptor
59866         before the new one is opened.  Instead dup the new file descriptor
59867         to the old one after the new stream is created.
59868         * libio/freopen64.c (freopen64): Likewise.
59869         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59870         * libio/fileops.c (_IO_new_file_close_it): Handle new
59871         _IO_FLAGS2_NOCLOSE flag.
59872         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59873         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59874         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59875         _IO_FLAGS2_NOCLOSE flag.
59876         * include/unistd.h: Add hidden_proto for dup3.
59877         Define __have_dup3.
59878         * io/dup3.c: Define hidden symbol.
59879         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59881         [BZ #7101]
59882         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59883         when an incomplete long option is used.
59884         * posix/tst-getopt_long1.c: New file.
59885         * posix/Makefile (tests): Add tst-getopt_long1.
59887         [BZ #10138]
59888         * scripts/config.guess: Update from autoconf-2.68.
59889         * scripts/config.sub: Likewise.
59891         [BZ #10157]
59892         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59893         tests into ...
59894         (has_cpuclock): ...this.  New function.
59895         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59896         macro here based on has_cpuclock code.
59898         [BZ #10149]
59899         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59900         First byte (not low byte) is now always NUL.
59901         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59903         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59904         Use non-cancelable interfaces.
59906         [BZ #9809]
59907         * locale/iso-639.def: Add entry for Sorani.
59909         [BZ #11901]
59910         * include/stdlib.h: Move include protection to the right place.
59911         Define abort_msg_s.  Declare __abort_msg with it.
59912         * stdlib/abort.c (__abort_msg): Adjust type.
59913         * assert/assert.c (__assert_fail_base): New function.  Majority
59914         of code from __assert_fail.  Allocate memory for __abort_msg with
59915         mmap.
59916         (__assert_fail): Now call __assert_fail_base.
59917         * assert/assert-perr.c: Remove bulk of implementation.  Use
59918         __assert_fail_base.
59919         * include/assert.hL Declare __assert_fail_base.
59920         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59921         mmap.
59922         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59924 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59926         [BZ #11952]
59927         [BZ #12453]
59928         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59929         until all modules are registered in the DTV.
59930         * elf/Makefile: Add rules to build and run tst-tls19.
59931         * elf/tst-tls19.c: New file.
59932         * elf/tst-tls19mod1.c: New file.
59933         * elf/tst-tls19mod2.c: New file.
59934         * elf/tst-tls19mod3.c: New file.
59935         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59937         [BZ #12083]
59938         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59939         correctly.
59941         [BZ #12601]
59942         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59943         two-byte sequence errors.
59944         * iconvdata/Makefile (tests): Add bug-iconv8.
59945         * iconvdata/bug-iconv8.c: New file.
59947         [BZ #12626]
59948         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59949         buf2 definition.
59951         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59953         [BZ #12432]
59954         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59955         (dummy_getcfa): New function.
59956         (init): Get _Unwind_GetCFA address, use dummy if not found.
59957         (backtrace_helper): In recursion check, also check whether CFA changes.
59958         (__backtrace): Completely initialize arg.
59960         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59961         storing incomplete byte sequence in state object.  Avoid testing for
59962         guaranteed too small input if we know there is enough data available.
59964 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59966         * Makeconfig (+link-pie): Indent.
59967         * Rules (binaries-pie): Define if $(have-fpie) and
59968         $(build-shared).
59969         (binaries-shared): Also filter out $(binaries-pie).
59970         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59971         * nscd/Makefile (others-pie): Add nscd.
59972         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59973         ($(objpfx)nscd): Remove command override.
59974         * login/Makefile (others-pie): Add pt_chown.
59975         ($(objpfx)pt_chown): Remove command override.
59976         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59977         remove command overrides.
59979 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59981         * libio/tst_putwc.c: Fix error messages.
59983         [BZ #12724]
59984         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59985         currently writing and seek to current position when not.
59986         * libio/Makefile (tests): Add bug-fclose1.
59987         * libio/bug-fclose1.c: New file.
59989 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59991         [BZ #12511]
59992         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59993         don't set DF_1_NODELETE here.
59994         (do_lookup_x): When entering new entry test for copy relocation
59995         and if necessary set DF_1_NODELETE flag.
59996         * elf/tst-unique4.cc: New file.
59997         * elf/tst-unique4.h: New file.
59998         * elf/tst-unique4lib.cc: New file.
59999         * elf/Makefile: Add rules to build and run tst-unique4.
60000         Patch by Piotr Bury <pbury@goahead.com>.
60002 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60004         [BZ #12052]
60005         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60007         [BZ #12625]
60008         * misc/mntent_r.c (addmntent): Flush the stream after the output
60010         [BZ #12393]
60011         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60012         (is_trusted_path_normalize): Skip initial colon.  Append slash
60013         to empty buffer.  Duplicate is_trusted_path code but allow
60014         constructed patch to be prefix.
60015         (is_dst): Allow $ORIGIN followed by /.
60016         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60017         Correct testing of result of is_trusted_path_normalize
60018         (decompose_rpath): Fix warning.
60020 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60022         [BZ #11257]
60023         * grp/initgroups.c (internal_getgrouplist): When we found the service
60024         list through the initgroups entry in nsswitch.conf do not always
60025         continue on a successful lookup.  Don't always use the
60026         __nss_group_database value if it is set.
60027         * nss/nsswitch.conf (initgroups): Change action for successful db
60028         lookup to continue for compatibility.
60030 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60032         [BZ #11532]
60033         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60034         and CP774 modules.
60035         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60036         and CP774 modules.
60037         * iconvdata/tst-tables.sh: Likewise.
60038         * iconvdata/cp770.c: New file.
60039         * iconvdata/cp771.c: New file.
60040         * iconvdata/cp772.c: New file.
60041         * iconvdata/cp773.c: New file.
60042         * iconvdata/cp774.c: New file.
60043         * iconvdata/testdata/CP770: New file.
60044         * iconvdata/testdata/CP770..UTF8: New file.
60045         * iconvdata/testdata/CP771: New file.
60046         * iconvdata/testdata/CP771..UTF8: New file.
60047         * iconvdata/testdata/CP772: New file.
60048         * iconvdata/testdata/CP772..UTF8: New file.
60049         * iconvdata/testdata/CP773: New file.
60050         * iconvdata/testdata/CP773..UTF8: New file.
60051         * iconvdata/testdata/CP774: New file.
60052         * iconvdata/testdata/CP774..UTF8: New file.
60054         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60055         END CHARMAP line.
60056         * iconvdata/gen-8bit-gap.sh: Likewise.
60057         * iconvdata/gen-8bit.sh: Likewise.
60059         * locale/iso-639.def: Add ary entry.
60061         [BZ #11258]
60062         * locale/C-translit.h.in: Add U20A1 transliteration.
60064         [BZ #12178]
60065         * locale/iso-639.def: Add wae entry.
60066         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60068         [BZ #12545]
60069         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60070         for n.
60072         [BZ #12711]
60073         * locale/C-translit.h.in: Add entry for U20B9.
60074         Patch by pravin.d.s@gmail.com.
60076 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60078         [BZ #12713]
60079         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60080         ENAMETOOLONG use generic getcwd.
60081         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60082         in rtld.  Use *stat64.
60083         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60084         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60085         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60086         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60087         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60088         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60089         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60090         __fstatat64 macros.
60091         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60092         * dirent/rewinddir.c: Add libc_hidden_def.
60093         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60094         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60096         * include/dirent.h (__alloc_dir): Add flags parameter.
60097         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60098         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60099         __alloc_dir.
60100         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60101         from fdopendir if O_CLOEXEC is already set.
60103 2011-03-15  Alan Modra  <amodra@gmail.com>
60105         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60106         l_tls_firstbyte_offset non-zero.  Save padding offset in
60107         l_tls_firstbyte_offset for later use.
60108         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60109         freeing static tls block.
60111 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60113         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60114         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60115         being defined by the kernel headers.
60117 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60119         [BZ #12734]
60120         * resolv/resolv.h: Define RES_NOTLDQUERY.
60121         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60122         no-tld-query and set RES_NOTLDQUERY.
60123         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60124         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60125         modern BIND to search name as TLD unless forbidden.
60127 2011-05-07  Petr Baudis  <pasky@suse.cz>
60128             Ulrich Drepper  <drepper@gmail.com>
60130         [BZ #12393]
60131         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60132         (is_trusted_path): ...to here.
60133         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60134         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60135         using is_trusted_path_normalize() in setuid scripts.
60137 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60139         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60140         __BEGIN/__END_DECLS.
60142 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60144         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60145         NSS_STATUS_NOTFOUND if no record was found.
60147 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60149         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60150         (headers-not-in-tirpc): Remove rpc/netdb.h
60151         * resolv/netdb.h: Revert last change.
60153 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60155         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60156         circular dependency between libgcc.a and libc.a.
60158 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60160         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60161         * nis/Makefile: Don't install rpcsvc/*.
60162         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60163         instead of <rpc/types.h>.
60164         (MAXHOSTNAMELEN): Define.
60166 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60168         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60170 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60172         [BZ #12714]
60173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60174         gethostbyname4_r when IPv6 results are possible.
60176 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60178         [BZ #12723]
60179         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60180         _PC_PIPE_BUF handling.
60182 2011-04-30  Bruno Haible  <bruno@clisp.org>
60184         [BZ #12717]
60185         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60186         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60187         to 'int'.
60188         * inet/getnameinfo.c (getnameinfo): Likewise.
60190 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60192         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60193         to groups setting in database lookup.
60194         * nss/nsswitch.conf: Add initgroups entry.
60196 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60198         [BZ #12685]
60199         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60200         mode string.
60201         Patch by Eric Blake <eblake@redhat.com>.
60203 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60205         * sunrpc/Makefile (need-export-routines): Add svc_run.
60206         (routines): Remove svc_run.
60207         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60208         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60209         * sunrpc/svc_run.c (svc_run): Likewise.
60210         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60212 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60214         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60215         problem in reallocation in last patch.
60217 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60219         * sunrpc/Makefile: Move inclusion of Rules.
60221 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60223         * nss/nss_files/files-initgroups.c: New file.
60224         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60225         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60226         _nss_files_initgroups_dyn.
60228 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60230         * elf/elf.h (R_ARM_IRELATIVE): Define.
60232 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60234         * po/ru.po: Update from translation team.
60236 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60238         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60239         dependencies.
60241 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60243         [BZ #12653]
60244         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60245         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60246         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60247         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60250 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60252         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60253         differing bytes.
60254         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60255         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60258 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60260         [BZ #12420]
60261         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60262         storing it.
60263         * stdlib/bug-getcontext.c: New file.
60264         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60266 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60268         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60269         instructions into .machine "z9-109".
60270         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60271         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60273 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60275         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60276         between environment variables and auxiliary vector.
60278 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60280         * Makefile: Add rules to build linkobj/libc.so.
60281         * include/libc-symbols.h: Define libc_hidden_nolink.
60282         * include/rpc/auth.h: Mark functions which are to be hidden.
60283         * include/rpc/auth_des.h: Likewise.
60284         * include/rpc/auth_unix.h: Likewise.
60285         * include/rpc/clnt.h: Likewise.
60286         * include/rpc/des_crypt.h: Likewise.
60287         * include/rpc/key_prot.h: Likewise.
60288         * include/rpc/pmap_clnt.h: Likewise.
60289         * include/rpc/pmap_prot.h: Likewise.
60290         * include/rpc/pmap_rmt.h: Likewise.
60291         * include/rpc/rpc_msg.h: Likewise.
60292         * include/rpc/svc.h: Likewise.
60293         * include/rpc/svc_auth.h: Likewise.
60294         * include/rpc/xdr.h: Likewise.
60295         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60296         * nss/Makefile: Likewise.
60297         * sunrpc/Makefile: Don't install headers.  Build library with normal
60298         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60299         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60300         for the compat linking library.  Remove use of INTDEF/INTUSE.
60301         * sunrpc/auth_none.c: Likewise.
60302         * sunrpc/auth_unix.c: Likewise.
60303         * sunrpc/authdes_prot.c: Likewise.
60304         * sunrpc/authuxprot.c: Likewise.
60305         * sunrpc/clnt_gen.c: Likewise.
60306         * sunrpc/clnt_perr.c: Likewise.
60307         * sunrpc/clnt_raw.c: Likewise.
60308         * sunrpc/clnt_simp.c: Likewise.
60309         * sunrpc/clnt_tcp.c: Likewise.
60310         * sunrpc/clnt_udp.c: Likewise.
60311         * sunrpc/clnt_unix.c: Likewise.
60312         * sunrpc/des_crypt.c: Likewise.
60313         * sunrpc/des_soft.c: Likewise.
60314         * sunrpc/get_myaddr.c: Likewise.
60315         * sunrpc/key_call.c: Likewise.
60316         * sunrpc/key_prot.c: Likewise.
60317         * sunrpc/netname.c: Likewise.
60318         * sunrpc/pm_getmaps.c: Likewise.
60319         * sunrpc/pm_getport.c: Likewise.
60320         * sunrpc/pmap_clnt.c: Likewise.
60321         * sunrpc/pmap_prot.c: Likewise.
60322         * sunrpc/pmap_prot2.c: Likewise.
60323         * sunrpc/pmap_rmt.c: Likewise.
60324         * sunrpc/publickey.c: Likewise.
60325         * sunrpc/rpc_cmsg.c: Likewise.
60326         * sunrpc/rpc_common.c: Likewise.
60327         * sunrpc/rpc_dtable.c: Likewise.
60328         * sunrpc/rpc_prot.c: Likewise.
60329         * sunrpc/rpc_thread.c: Likewise.
60330         * sunrpc/rtime.c: Likewise.
60331         * sunrpc/svc.c: Likewise.
60332         * sunrpc/svc_auth.c: Likewise.
60333         * sunrpc/svc_authux.c: Likewise.
60334         * sunrpc/svc_raw.c: Likewise.
60335         * sunrpc/svc_run.c: Likewise.
60336         * sunrpc/svc_simple.c: Likewise.
60337         * sunrpc/svc_tcp.c: Likewise.
60338         * sunrpc/svc_udp.c: Likewise.
60339         * sunrpc/svc_unix.c: Likewise.
60340         * sunrpc/svcauth_des.c: Likewise.
60341         * sunrpc/xcrypt.c: Likewise.
60342         * sunrpc/xdr.c: Likewise.
60343         * sunrpc/xdr_array.c: Likewise.
60344         * sunrpc/xdr_float.c: Likewise.
60345         * sunrpc/xdr_intXX_t.c: Likewise.
60346         * sunrpc/xdr_mem.c: Likewise.
60347         * sunrpc/xdr_rec.c: Likewise.
60348         * sunrpc/xdr_ref.c: Likewise.
60349         * sunrpc/xdr_sizeof.c: Likewise.
60350         * sunrpc/xdr_stdio.c: Likewise.
60352 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60354         [BZ #12650]
60355         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60356         * sysdeps/ia64/dl-tls.h: Likewise.
60357         * sysdeps/powerpc/dl-tls.h: Likewise.
60358         * sysdeps/s390/dl-tls.h: Likewise.
60359         * sysdeps/sh/dl-tls.h: Likewise.
60360         * sysdeps/sparc/dl-tls.h: Likewise.
60361         * sysdeps/x86_64/dl-tls.h: Likewise.
60362         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60364 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60366         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60367         rpath element also skip the following colon.
60368         (expand_dynamic_string_token): Add is_path parameter and pass
60369         down to DL_DST_REQUIRED and _dl_dst_substitute.
60370         (decompose_rpath): Call expand_dynamic_string_token with
60371         non-zero is_path.  Ignore empty rpaths.
60372         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60373         with zero is_path.
60375 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60378         Make cancelable.
60380 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60382         [BZ #12655]
60383         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60384         Patch by Filipe David Manana <fdmanana@apache.org>.
60386 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60388         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60389         Maintain aligned stack.
60390         (CHECK_RSP): Remove unused macro.
60392 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60394         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60395         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60397 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60399         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60401         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60403 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60405         [BZ #12518]
60406         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60407         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60408         * sysdeps/x86_64/memmove.c: New file.
60409         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60410         (memcpy): Renamed to ...
60411         (__new_memcpy): This.
60412         (memcpy): Provide GLIBC_2_14 memcpy.
60413         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60414         (memcpy): Provide GLIBC_2_2_5 memcpy.
60416 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60418         [BZ #12631]
60419         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60421 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60423         * misc/syncfs.c: New file.
60424         * misc/Makefile (routines): Add syncfs.
60425         * posix/unistd.h: Declare syncfs.
60426         * sysdeps/unix/syscalls.list: Add syncfs.
60428 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60430         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60431         open_by_handle_at.
60432         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60433         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60434         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60435         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60437         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60440 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60442         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60443         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60444         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60445         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60446         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60448         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60450         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60451         sync_file_range.c with -fexceptions.
60452         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60453         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60454         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60455         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60456         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60457         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60458         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60459         sync_file_range as cancellation point
60460         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60461         now a wrapper around __call_sync_file_range with cancellation handling.
60462         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60463         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60464         function name to __call_sync_file_range.
60465         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60466         Add call_sync_file_range.
60468 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60471         bits/timex.h.
60473 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60475         * iconv/iconv.h: Fix typo in comment.
60476         * io/fcntl.h: Likewise.
60477         * libio/stdio.h: Likewise.
60478         * posix/spawn.h: Likewise.
60479         * posix/unistd.h: Likewise.
60480         * stdlib/stdlib.h: Likewise.
60481         * time/time.h: Likewise.
60482         * wcsmbs/wchar.h: Likewise.
60484         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60485         open_by_handle): Add.
60486         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60487         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60488         Augment a few comments.
60489         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60491         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60493         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60494         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60495         open_by_handle.
60497         * io/fcntl.h (AT_EMPTY_PATH): Define.
60499 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60501         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60502         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60503         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60504         to...
60505         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60506         * Versions.def: Add GLIBC_2.14.
60507         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60508         Export.
60510 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60512         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60513         round counter.
60514         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60516 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60518         [BZ #12597]
60519         * string/test-strncmp.c (do_page_test): New function.
60520         (check2): Likewise.
60521         (test_main): Call check2.
60522         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60524 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60526         [BZ #12587]
60527         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60528         Handle cache information in CPU leaf 4.
60529         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60531 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60533         [BZ #12583]
60534         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60535         character representation.
60536         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60538 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60540         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60541         END(__isnan) to END(__isnanf) to match function entry point/label
60542         EALIGN(__isnanf,...).
60544 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60546         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60548 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60550         [BZ #12510]
60551         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60552         copy from the symbol referenced in the relocation to initialize the
60553         used variable.
60554         Patch by Piotr Bury <pbury@goahead.com>.
60555         * elf/Makefile: Add rules to build and tst-unique3.
60556         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60557         * elf/tst-unique3.cc: New file.
60558         * elf/tst-unique3.h: New file.
60559         * elf/tst-unique3lib.cc: New file.
60560         * elf/tst-unique3lib2.cc: New file.
60562         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60564 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60566         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60567         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60568         to _start.
60570 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60572         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60573         to-be-loaded object along a path to loader is ld.so.
60575 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60576             Ulrich Drepper  <drepper@gmail.com>
60578         * sysdeps/x86_64/memset.S: After aligning destination, code
60579         branches to different locations depending on the value of
60580         misalignment, when multiarch is enabled. Fix this.
60582 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60584         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60585         Set _x86_64_preferred_memory_instruction for AMD processsors.
60586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60587         Set bit_Prefer_SSE_for_memop for AMD processors.
60589 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60591         * libio/fmemopen.c (fmemopen): Optimize a bit.
60593 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60595         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60597 2011-03-03  Roland McGrath  <roland@redhat.com>
60599         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60601 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60603         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60604         __bzero_ultra1 instead of __memset_ultra1.
60606 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60607             Ulrich Drepper  <drepper@gmail.com>
60609         [BZ #12509]
60610         * include/link.h (struct link_map): Add l_orig_initfini.
60611         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60612         returning unsuccessfully.
60613         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60614         close of a file loaded at startup, restore the original l_initfini
60615         list.
60616         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60617         list, store the pointer.
60618         * elf/Makefile ($(objpfx)noload-mem): New rule.
60619         (noload-ENV): Define.
60620         (tests): Add $(objpfx)noload-mem.
60621         * elf/noload.c: Include <memcheck.h>.
60622         (main): Call mtrace.  Close all opened handles.
60624 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60626         [BZ #12454]
60627         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60628         dependencies are missing.
60630 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60632         Fix __if_freereq crash: Unlike the generic version which uses free,
60633         Hurd needs munmap.
60634         * sysdeps/mach/hurd/ifreq.h: New file.
60636 2011-01-27  Petr Baudis  <pasky@suse.cz>
60637             Ulrich Drepper  <drepper@gmail.com>
60639         [BZ 12445]#
60640         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60641         to extend_alloca().
60642         * stdio-common/bug23.c: New file.
60643         * stdio-common/Makefile (tests): Add bug23.
60645 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60646             Ulrich Drepper  <drepper@gmail.com>
60648         [BZ #12489]
60649         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60650         before performing relro protection.  At old place add assertion
60651         to make sure nothing changed.
60653 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60654             Glauber de Oliveira Costa  <glommer@gmail.com>
60656         * elf/elf.h: Add new ARM TLS relocs.
60658 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60661         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60662         cast from r3.
60663         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60664         'tests' variable.
60665         * sysdeps/wordsize-64/tst-writev.c: New file.
60667 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60669         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60670         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60671         insns in _dl_start to prevent a TOC reference before relocs are
60672         resolved.
60674 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60676         [BZ #12469]
60677         * Makeconfig: Remove RANLIB definition.
60678         * Makerules: Don't use RANLIB.
60679         * aclocal.m4: Remove ranlib test.
60680         * configure.in: No need to check for ranlib.
60681         * elf/rtld-Rules: Don't use RANLIB.
60683 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60685         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60686         protection macro.
60687         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60688         inclusion protection macro.
60690         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60691         SIGRTMIN and SIGRTMAX and print information in that case only when
60692         SIGRTMIN is defined.
60694 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60696         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60697         arginfo fn returning -1.
60699         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60700         and thousands string is zero terminated.
60702 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60704         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60705         sysdeps/unix/sysv/linux/bits/socket.h.
60707 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60709         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60710         (__CPU_COUNT): Remove old macros.
60711         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60712         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60713         (__CPU_ALLOC, __CPU_FREE): Add macros.
60714         (__sched_cpualloc, __sched_cpufree): Add declarations.
60716 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60718         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60719         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60720         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60721         (readdhstai): Return value of addhstaiX call.
60722         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60723         (addgrbyX): Return value returned by cache_addgr.
60724         (readdgrbyname): Return value returned by addgrbyX.
60725         (readdgrbygid): Likewise.
60726         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60727         (addpwbyX): Return value returned by cache_addpw.
60728         (readdpwbyname): Return value returned by addhstbyX.
60729         (readdpwbyuid): Likewise.
60730         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60731         (addservbyX): Return value returned by cache_addserv.
60732         (readdservbyname): Return value returned by addservbyX:
60733         (readdservbyport): Likewise.
60734         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60735         (addhstbyX): Return value returned by cache_addhst.
60736         (readdhstbyname): Return value returned by addhstbyX.
60737         (readdhstbyaddr): Likewise.
60738         (readdhstbynamev6): Likewise.
60739         (readdhstbyaddrv6): Likewise.
60740         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60741         (readdinitgroups): Return value returned by addinitgroupsX.
60742         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60743         (prune_cache): Keep track of timeout value of re-added entries.
60744         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60745         * nscd/nscd.h: Adjust prototypes of readd* functions.
60747 2011-02-04  Roland McGrath  <roland@redhat.com>
60749         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60750         (nis_stats): Likewise.
60751         * nis/nis_modify.c (nis_modify): Likewise.
60752         * nis/nis_remove.c (nis_remove): Likewise.
60753         * nis/nis_add.c (nis_add): Likewise.
60755         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60757         * posix/fnmatch_loop.c: Add some consts.
60759         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60761 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60763         [BZ #12460]
60764         * config.make.in (config-cflags-novzeroupper): Define.
60765         * configure.in: Substitute libc_cv_cc_novzeroupper.
60766         * elf/Makefile (AVX-CFLAGS): Define.
60767         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60768         (CFLAGS-tst-auditmod4a.c): Likewise.
60769         (CFLAGS-tst-auditmod4b.c): Likewise.
60770         (CFLAGS-tst-auditmod6b.c): Likewise.
60771         (CFLAGS-tst-auditmod6c.c): Likewise.
60772         (CFLAGS-tst-auditmod7b.c): Likewise.
60773         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60775 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60777         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60778         function to the callback.
60779         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60781 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60783         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60784         of errno.
60786 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60788         [BZ #11724]
60789         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60790         of constructors.
60791         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60792         of destructors.
60793         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60795         [BZ #11724]
60796         * elf/Makefile: Add rules to build and run new test.
60797         * elf/tst-initorder.c: New file.
60798         * elf/tst-initorder.exp: New file.
60799         * elf/tst-initordera1.c: New file.
60800         * elf/tst-initordera2.c: New file.
60801         * elf/tst-initordera3.c: New file.
60802         * elf/tst-initordera4.c: New file.
60803         * elf/tst-initorderb1.c: New file.
60804         * elf/tst-initorderb2.c: New file.
60805         * elf/tst-order-a1.c: New file.
60806         * elf/tst-order-a2.c: New file.
60807         * elf/tst-order-a3.c: New file.
60808         * elf/tst-order-a4.c: New file.
60809         * elf/tst-order-b1.c: New file.
60810         * elf/tst-order-b2.c: New file.
60811         * elf/tst-order-main.c: New file.
60812         New test case by George Gensure <werkt0@gmail.com>.
60814 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60817         decoding ACE if AI_CANONIDN.
60819 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60821         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60823 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60825         * version.h (RELEASE): Bump for 2.13 release.
60826         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60828         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60830         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60831         MADV_NOHUGEPAGE.
60832         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60833         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60834         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60835         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60837         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60839         * posix/getconf.c: Update copyright year.
60840         * catgets/gencat.c: Likewise.
60841         * csu/version.c: Likewise.
60842         * debug/catchsegv.sh: Likewise.
60843         * debug/xtrace.sh: Likewise.
60844         * elf/ldconfig.c: Likewise.
60845         * elf/ldd.bash.in: Likewise.
60846         * elf/sprof.c (print_version): Likewise.
60847         * iconv/iconv_prog.c: Likewise.
60848         * iconv/iconvconfig.c: Likewise.
60849         * locale/programs/locale.c: Likewise.
60850         * locale/programs/localedef.c: Likewise.
60851         * malloc/memusage.sh: Likewise.
60852         * malloc/mtrace.pl: Likewise.
60853         * nscd/nscd.c (print_version): Likewise.
60854         * nss/getent.c: Likewise.
60856         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60857         PF_CAIF, and PF_ALG.
60858         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60860 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60862         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60863         (modules-names): Use them.
60864         (ifunc-test-modules, ifunc-pie-tests): Define.
60865         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60866         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60867         (test-extras): Likewise.
60868         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60869         $(compile-command.c).
60870         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60871         (all-built-dso): Define.
60872         (check-textrel.out, check-execstack.out): Depend on it.
60874         * configure.in: Don't override --enable-multi-arch.
60876 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60878         [BZ #6812]
60879         * nscd/hstcache.c (tryagain): Define.
60880         (cache_addhst): Return tryagain not notfound for temporary errors.
60881         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60882         failed.
60884 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60886         [BZ #10563]
60887         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60888         to make the syscall.
60889         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60891         [BZ #12378]
60892         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60893         and fall back to matching as normal character if the string ends before
60894         the matching ']' is found.  This is what POSIX requires.
60895         * posix/testfnm.c: Adjust test result.
60896         * posix/globtest.sh: Adjust test result.  Add new test.
60897         * posix/tst-fnmatch.input: Likewise.
60898         * posix/tst-fnmatch2.c: Add new test.
60900 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60902         * elf/Makefile (check-execstack): Revert last change.  Depend on
60903         check-execstack.h.
60904         (check-execstack.h): New target.
60905         (generated): Add check-execstack.h.
60906         * elf/check-execstack.c: Include "check-execstack.h".
60907         (main): Revert last change.
60908         (handle_file): Return zero if GNU_STACK is absent and
60909         DEFAULT_STACK_PERMS doesn't include PF_X.
60911 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60913         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60914         in child fails because the descriptor is already closed.
60915         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60916         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60917         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60919         [BZ #12397]
60920         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60921         syscall.
60923         [BZ #10484]
60924         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60925         temporary buffer used to handle multi lookups locally.
60926         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60928 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60930         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60931         loader is ld.so.
60933 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60935         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60936         alignment for SSE2.
60938 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60940         [BZ #12394]
60941         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60942         characters.  When rounding increased number of integer digits recompute
60943         number of groups.
60944         * stdio-common/tst-grouping.c: New file.
60945         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60947 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60949         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60950         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60952         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60953         void.
60954         * bits/select.h: Likewise.
60956 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60958         * po/ja.po: Update from translation team.
60960 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60962         [BZ #11155]
60963         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60964         implementation just like for lxstat, fxstatat, et al.
60966 2010-12-27  Jim Meyering  <meyering@redhat.com>
60968         [BZ #12348]
60969         * posix/regexec.c (build_trtable): Return failure indication upon
60970         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60972 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60974         [BZ #12201]
60975         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60976         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60977         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60978         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60980         [BZ #12207]
60981         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60983         [BZ #12204]
60984         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60985         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60987 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60989         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60990         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60991         script has SORT_BY_INIT_PRIORITY.
60992         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60993         NO_CTORS_DTORS_SECTIONS is defined.
60994         * elf/soinit.c: Likewise.
60995         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60996         NO_CTORS_DTORS_SECTIONS is defined.
60997         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60998         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60999         * sysdeps/sh/init-first.c: Likewise.
61000         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61002 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61004         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61005         always use the slow path.
61007 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61009         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61010         similar rule which adds the sysdep directories to the header search in
61011         order to pick up the correct platform stackinfo.h.
61012         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61013         perform test if it is, otherwise return successfully without testing.
61014         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61015         DEFAULT_STACK_PERMS define in stackinfo.h.
61016         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61017         defined in stackinfo.h.
61018         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61019         DEFAULT_STACK_PERMS defined in stackinfo.h.
61020         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61021         * sysdeps/ia64/stackinfo.h: Likewise.
61022         * sysdeps/s390/stackinfo.h: Likewise.
61023         * sysdeps/sh/stackinfo.h: Likewise.
61024         * sysdeps/sparc/stackinfo.h: Likewise.
61025         * sysdeps/x86_64/stackinfo.h: Likewise.
61026         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61027         PF_X for powerpc64.  Retain PF_X for powerpc32.
61029 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61031         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61032         accurately.
61033         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61034         GETDENTS_64BIT_ALIGNED.
61036 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61038         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61040 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61042         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61043         _GNU_SOURCE.
61045         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61046         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61047         Remove __restrict.
61048         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61049         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61051 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61053         [BZ #11655]
61054         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61055         are initialized.
61057 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61059         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61061 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61063         * po/it.po: Update from translation team.
61065 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61068         unused codes.
61070 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61072         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61074 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61076         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61077         specially.
61078         (gaih_getanswer_slice): Likewise.
61080 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61082         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61084 2010-05-31  Petr Baudis  <pasky@suse.cz>
61086         [BZ #11149]
61087         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61088         silently even in the chroot mode.
61090 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61092         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61093         last patch a bit.  Pretty printing
61095 2010-05-31  Petr Baudis <pasky@suse.cz>
61097         [BZ #10085]
61098         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61099         initialization of skip_initgroups_dyn.
61101 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61103         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61104         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61106 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61108         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61110 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61112         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61113         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61114         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61115         ($(objpfx)tst-fnmatch-mem): New rule.
61116         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61117         * posix/tst-fnmatch.c (main): Call mtrace.
61119 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61122         Support Intel processor model 6 and model 0x2c.
61124 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61126         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61127           signed comparison.
61129 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61131         [BZ #12205]
61132         * string/test-strncasecmp.c (check_result): New function.
61133         (do_one_test): Use it.
61134         (check1): New function.
61135         (test_main): Use it.
61136         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61137         Support strcasecmp and strncasecmp.
61139 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61141         [BZ #12194]
61142         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61143         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61145 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61147         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61148         IFUNC support.
61149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61150         memset-x86-64.
61151         * sysdeps/x86_64/multiarch/bzero.S: New file.
61152         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61153         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61154         * sysdeps/x86_64/multiarch/memset.S: New file.
61155         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61157         Set bit_Prefer_SSE_for_memop for Intel processors.
61158         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61159         Define.
61160         (index_Prefer_SSE_for_memop): Define.
61161         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61163 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61165         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61166         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61168 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61170         [BZ #12191]
61171         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61172         (__x86_64_raw_data_cache_size_half): Likewise.
61173         (__x86_64_raw_shared_cache_size): Likewise.
61174         (__x86_64_raw_shared_cache_size_half): Likewise.
61176         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61177         (__x86_64_raw_data_cache_size_half): Likewise.
61178         (__x86_64_raw_shared_cache_size): Likewise.
61179         (__x86_64_raw_shared_cache_size_half): Likewise.
61180         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61181         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61182         and __x86_64_raw_shared_cache_size_half.  Round
61183         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61184         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61185         to multiple of 256 bytes.
61187 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61189         [BZ #12167]
61190         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61191         of inacessible symlinks.  Verify result of symlink before returning it.
61192         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61193         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61195 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61197         * math/math.h (isinf): Fix typo in comment.
61199 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61201         * po/da.po: Update from translation team.
61203 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61205         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61206         is added to the list.
61208 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61209             Ulrich Drepper  <drepper@gmail.com>
61211         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61212         the global list here.  Move code to...
61213         (_dl_add_to_namespace_list): ...here.  New function.
61214         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61215         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61216         * elf/dl-load.c (lose): Don't remove the element from the list.
61217         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61218         (_dl_map_object): Likewise.
61220 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61222         [BZ #12159]
61223         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61224         into all bytes of SSE register.
61225         Patch by Richard Li <richardpku@gmail.com>.
61227 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61229         [BZ #12140]
61230         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61231         perturbing.
61233 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61235         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61236         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61237         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61238         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61240         submachine.
61241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61243 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61245         * include/dlfcn.h (__RTLD_SECURE): Define.
61246         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61247         mode & __RTLD_SECURE instead.
61248         (open_path): Rename preloaded parameter to secure.
61249         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61250         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61251         * elf/dl-deps.c (openaux): Likewise.
61252         * elf/rtld.c (struct map_args): Remove is_preloaded.
61253         (map_doit): Don't use it.
61254         (dl_main): Likewise.
61255         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61256         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61258 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61260         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61261         (sysd-rules-targets): Remove duplicates.
61262         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61263         rtld-%.$o dependency.
61265 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61267         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61268         _dl_map_object do it.
61270 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61272         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61273         fast fma builtins, define the macros in the C99 standard.
61274         (FP_FAST_FMAF): Likewise.
61275         (FP_FAST_FMAL): Likewise.
61276         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61278         * bits/mathdef.h: Update copyright year.
61279         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61281 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61283         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61284         builtins, define the macros in the C99 standard.
61285         (FP_FAST_FMAF): Likewise.
61286         (FP_FAST_FMAL): Likewise.
61287         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61288         multiply/add.
61289         (FP_FAST_FMAF): Likewise.
61291 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61293         [BZ #3268]
61294         * math/libm-test.inc (fma_test): Some new testcases.
61295         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61296         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61297         y and infinite z.  Do multiplication by C already in long double.
61298         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61300         y and infinite z.  Do bitwise or of inexact bit into u.d.
61301         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61302         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61303         * sysdeps/i386/fpu/s_fma.S: Removed.
61304         * sysdeps/i386/fpu/s_fmal.S: Removed.
61306 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61308         [BZ #3268]
61309         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61311         computation is not scheduled after fetestexcept.  Fix value
61312         of minimum denormal long double.
61314 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61316         [BZ #3268]
61317         * math/libm-test.inc (fma_test): Add some more tests.
61318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61319         correctly.
61321 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61323         * scripts/data/localplt-s390-linux-gnu.data: New file.
61324         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61326 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61328         [BZ #3268]
61329         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61330         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61331         instead of dbl-64.
61332         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61333         inlines.
61334         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61336         if one of x and y is very large and the other is subnormal.
61337         * sysdeps/s390/fpu/s_fmaf.c: New file.
61338         * sysdeps/s390/fpu/s_fma.c: New file.
61339         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61340         * sysdeps/powerpc/fpu/s_fma.S: New file.
61341         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61342         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61343         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61345 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61347         [BZ #3268]
61348         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61349         fma tests.
61350         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61351         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61352         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61353         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61354         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61355         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61356         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61358 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61360         [BZ #12078]
61361         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61362         * posix/bug-regex31.input: Add test case.
61364 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61366         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61367         * posix/bug-regex31.input: New file.
61369         [BZ #12078]
61370         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61371         (parse_sub_exp): Fix last change, use postorder.
61373         * posix/bug-regex31.c: New file.
61374         * posix/Makefile: Add rules to build and run bug-regex31.
61376         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61378         [BZ #12078]
61379         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61381         [BZ #12108]
61382         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61383         to have entries in sys_siglist.
61385         [BZ #12093]
61386         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61387         be NULL.
61389 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61391         [BZ #3268]
61392         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61393         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61394         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61395         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61396         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61397         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61398         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61399         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61400         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61401         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61402         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61403         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61404         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61405         * math/ftestexcept.c (fetestexcept): Likewise.
61406         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61407         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61408         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61409         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61410         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61411         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61412         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61414 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61416         [BZ #12107]
61417         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61418         newline.
61420 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61422         * string/bug-strstr1.c: New file.
61423         * string/Makefile: Add rules to build and run bug-strstr1.
61425 2010-10-05  Eric Blake  <eblake@redhat.com>
61427         [BZ #12092]
61428         * string/str-two-way.h (two_way_long_needle): Always clear memory
61429         when skipping input due to the shift table.
61431 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61433         [BZ #12005]
61434         * malloc/mcheck.c: Handle large requests.
61436         [BZ #12077]
61437         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61438         for strncmp and strncasecmp.
61439         * string/stratcliff.c: Add tests for strcmp and strncmp.
61440         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61442 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61444         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61445         __set_fpscr.
61447 2010-09-30  Andreas Jaeger  <aj@suse.de>
61449         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61450         (CGROUP_SUPER_MAGIC): Define.
61451         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61452         Handle btrfs and cgroup file systems.
61453         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61454         Likewise.
61456 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61458         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61459         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61461 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61463         [BZ #12067]
61464         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61465         trying to locate the ELF header.
61467 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61469         [BZ #11611]
61470         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61471         Mask out sign-bit copies when constructing f_fsid.
61473 2010-09-24  Petr Baudis <pasky@suse.cz>
61475         * debug/stack_chk_fail_local.c: Add missing licence exception.
61476         * debug/warning-nop.c: Likewise.
61478 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61480         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61481         implementing getdents64 using getdents syscall, set d_type if
61482         __ASSUME_GETDENTS32_D_TYPE.
61484 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61486         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61487         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61489 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61491         [BZ #12037]
61492         * posix/unistd.h: Undo change of feature selection for ftruncate from
61493         2010-01-11.
61495 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61497         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61498         detection.
61500 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61502         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61503         fanotify_mark.
61504         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61506 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61508         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61509         variables after CHECK_SP call.
61510         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61512 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61513             Ulrich Drepper  <drepper@redhat.com>
61515         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61516         re-relocationg ld.so.
61517         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61518         _dl_init_paths call.
61519         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61520         here anymore.
61522 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61524         * resolv/res_init.c (__res_vinit): Count the default server we added.
61526 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61527             Ulrich Drepper  <drepper@redhat.com>
61529         [BZ #11968]
61530         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61531         (____longjmp_chk): Use %ebx for saving value across system call.
61532         Add unwind info.
61534 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61536         * manual/Makefile: Don't mix pattern rules with normal rules.
61538 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61540         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61541         operation.
61542         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61543         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61544         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61545         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61546         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61547         Likewise.
61549 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61551         [BZ #11979]
61552         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61553         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61555 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61557         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61558         * sysdeps/x86_64/addmul_1.S: Likewise.
61559         * sysdeps/x86_64/lshift.S: Likewise.
61560         * sysdeps/x86_64/mul_1.S: Likewise.
61561         * sysdeps/x86_64/rshift.S: Likewise.
61562         * sysdeps/x86_64/sub_n.S: Likewise.
61563         * sysdeps/x86_64/submul_1.S: Likewise.
61565 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61567         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61568         Define __sched_param instead of SCHED_* and sched_param when
61569         <bits/sched.h> is included with __need_schedparam defined.
61570         * bits/sched.h [__need_schedparam]
61571         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61572         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61573         (__defined_schedparam): Define to 1.
61574         (__sched_param): New structure, identical to sched_param.
61575         (__need_schedparam): Undefine.
61577 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61579         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61580         (epoll_create1): Declare.
61582         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61584 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61586         [BZ #7066]
61587         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61588         shifting retval into place.
61590 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61592         * nis/rpcsvc/nis.h: Update copyright notice.
61593         * nis/rpcsvc/nis.x: Likewise.
61594         * nis/rpcsvc/nis_callback.h: Likewise.
61595         * nis/rpcsvc/nis_callback.x: Likewise.
61596         * nis/rpcsvc/nis_object.x: Likewise.
61597         * nis/rpcsvc/nis_tags.h: Likewise.
61598         * nis/rpcsvc/yp.h: Likewise.
61599         * nis/rpcsvc/yp.x: Likewise.
61600         * nis/rpcsvc/ypupd.h: Likewise.
61601         * nis/yp_xdr.c: Likewise.
61602         * nis/ypupdate_xdr.c: Likewise.
61604         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61605         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61606         (pmap_getport): Use __libc_rpc_getport.
61607         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61608         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61609         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61611 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61614         fanotify_mark.
61616 2010-08-27  Roland McGrath  <roland@redhat.com>
61618         * sysdeps/i386/i686/multiarch/Makefile
61619         (CFLAGS-varshift.c): New variable.
61621 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61623         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61624         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61626         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61628         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61630 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61632         * sysdeps/x86_64/strlen.S: Unroll the loop.
61633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61634         strlen-sse2 strlen-sse2-bsf.
61635         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61636         __strlen_no_bsf if bit_Slow_BSF is set.
61637         (__strlen_sse42): Removed.
61638         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61639         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61641 2010-08-25  Roland McGrath  <roland@redhat.com>
61643         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61644         * sysdeps/x86_64/multiarch/varshift.c: New file.
61645         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61646         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61647         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61648         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61650 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61653         strlen-sse2 strlen-sse2-bsf.
61654         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61655         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61656         (__strlen_sse2): Removed.
61657         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61658         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61660         bit_Slow_BSF for Atom.
61661         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61662         (index_Slow_BSF): Define.
61663         (HAS_SLOW_BSF): Define.
61665 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61667         [BZ #10851]
61668         * resolv/res_init.c (__res_vinit): When no server address at all
61669         is given default to loopback.
61671 2010-08-24  Roland McGrath  <roland@redhat.com>
61673         * configure.in: Remove config-name.h generation.
61674         * configure: Regenerated.
61675         * config-name.in: File removed.
61676         * scripts/config-uname.sh: New file.
61677         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61678         ($(objdir)config-name.h): New target.
61680         * sunrpc/rpc_parse.h: Avoid nested comment.
61682 2010-08-24  Richard Henderson  <rth@redhat.com>
61683             Ulrich Drepper  <drepper@redhat.com>
61684             H.J. Lu  <hongjiu.lu@intel.com>
61686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61688         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61689         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61690         _mm_alignr_epi8 with _mm_loadu_si128.
61691         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61692         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61693         (__m128i_shift_right): Removed.
61694         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61695         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61696         * sysdeps/x86_64/multiarch/varshift.h: New file.
61697         * sysdeps/x86_64/multiarch/varshift.S: New file.
61699 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61701         * configure.in: Move assembler checks to before sysdep dir checking.
61703 2010-08-20  Petr Baudis  <pasky@suse.cz>
61705         * LICENSES: Sync the sunrpc license.
61707 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61709         * sunrpc/auth_des.c: Update copyright notice once again.
61710         * sunrpc/auth_none.c: Likewise.
61711         * sunrpc/auth_unix.c: Likewise.
61712         * sunrpc/authdes_prot.c: Likewise.
61713         * sunrpc/authuxprot.c: Likewise.
61714         * sunrpc/bindrsvprt.c: Likewise.
61715         * sunrpc/clnt_gen.c: Likewise.
61716         * sunrpc/clnt_perr.c: Likewise.
61717         * sunrpc/clnt_raw.c: Likewise.
61718         * sunrpc/clnt_simp.c: Likewise.
61719         * sunrpc/clnt_tcp.c: Likewise.
61720         * sunrpc/clnt_udp.c: Likewise.
61721         * sunrpc/clnt_unix.c: Likewise.
61722         * sunrpc/des_crypt.c: Likewise.
61723         * sunrpc/des_soft.c: Likewise.
61724         * sunrpc/get_myaddr.c: Likewise.
61725         * sunrpc/getrpcport.c: Likewise.
61726         * sunrpc/key_call.c: Likewise.
61727         * sunrpc/key_prot.c: Likewise.
61728         * sunrpc/openchild.c: Likewise.
61729         * sunrpc/pm_getmaps.c: Likewise.
61730         * sunrpc/pm_getport.c: Likewise.
61731         * sunrpc/pmap_clnt.c: Likewise.
61732         * sunrpc/pmap_prot.c: Likewise.
61733         * sunrpc/pmap_prot2.c: Likewise.
61734         * sunrpc/pmap_rmt.c: Likewise.
61735         * sunrpc/rpc/auth.h: Likewise.
61736         * sunrpc/rpc/auth_unix.h: Likewise.
61737         * sunrpc/rpc/clnt.h: Likewise.
61738         * sunrpc/rpc/des_crypt.h: Likewise.
61739         * sunrpc/rpc/key_prot.h: Likewise.
61740         * sunrpc/rpc/netdb.h: Likewise.
61741         * sunrpc/rpc/pmap_clnt.h: Likewise.
61742         * sunrpc/rpc/pmap_prot.h: Likewise.
61743         * sunrpc/rpc/pmap_rmt.h: Likewise.
61744         * sunrpc/rpc/rpc.h: Likewise.
61745         * sunrpc/rpc/rpc_des.h: Likewise.
61746         * sunrpc/rpc/rpc_msg.h: Likewise.
61747         * sunrpc/rpc/svc.h: Likewise.
61748         * sunrpc/rpc/svc_auth.h: Likewise.
61749         * sunrpc/rpc/types.h: Likewise.
61750         * sunrpc/rpc/xdr.h: Likewise.
61751         * sunrpc/rpc_clntout.c: Likewise.
61752         * sunrpc/rpc_cmsg.c: Likewise.
61753         * sunrpc/rpc_common.c: Likewise.
61754         * sunrpc/rpc_cout.c: Likewise.
61755         * sunrpc/rpc_dtable.c: Likewise.
61756         * sunrpc/rpc_hout.c: Likewise.
61757         * sunrpc/rpc_main.c: Likewise.
61758         * sunrpc/rpc_parse.c: Likewise.
61759         * sunrpc/rpc_parse.h: Likewise.
61760         * sunrpc/rpc_prot.c: Likewise.
61761         * sunrpc/rpc_sample.c: Likewise.
61762         * sunrpc/rpc_scan.c: Likewise.
61763         * sunrpc/rpc_scan.h: Likewise.
61764         * sunrpc/rpc_svcout.c: Likewise.
61765         * sunrpc/rpc_tblout.c: Likewise.
61766         * sunrpc/rpc_util.c: Likewise.
61767         * sunrpc/rpc_util.h: Likewise.
61768         * sunrpc/rpcinfo.c: Likewise.
61769         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61770         * sunrpc/rpcsvc/key_prot.x: Likewise.
61771         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61772         * sunrpc/rpcsvc/mount.x: Likewise.
61773         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61774         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61775         * sunrpc/rpcsvc/rex.x: Likewise.
61776         * sunrpc/rpcsvc/rstat.x: Likewise.
61777         * sunrpc/rpcsvc/rusers.x: Likewise.
61778         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61779         * sunrpc/rpcsvc/spray.x: Likewise.
61780         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61781         * sunrpc/rtime.c: Likewise.
61782         * sunrpc/svc.c: Likewise.
61783         * sunrpc/svc_auth.c: Likewise.
61784         * sunrpc/svc_authux.c: Likewise.
61785         * sunrpc/svc_raw.c: Likewise.
61786         * sunrpc/svc_run.c: Likewise.
61787         * sunrpc/svc_simple.c: Likewise.
61788         * sunrpc/svc_tcp.c: Likewise.
61789         * sunrpc/svc_udp.c: Likewise.
61790         * sunrpc/svc_unix.c: Likewise.
61791         * sunrpc/svcauth_des.c: Likewise.
61792         * sunrpc/xcrypt.c: Likewise.
61793         * sunrpc/xdr.c: Likewise.
61794         * sunrpc/xdr_array.c: Likewise.
61795         * sunrpc/xdr_float.c: Likewise.
61796         * sunrpc/xdr_mem.c: Likewise.
61797         * sunrpc/xdr_rec.c: Likewise.
61798         * sunrpc/xdr_ref.c: Likewise.
61799         * sunrpc/xdr_sizeof.c: Likewise.
61800         * sunrpc/xdr_stdio.c: Likewise.
61802         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61803         handling.
61805 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61807         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61809 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61811         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61812         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61813         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61814         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61815         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61816         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61817         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61818         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61819         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61820         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61821         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61822         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61823         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61824         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61826 2010-07-26  Anton Blanchard  <anton@samba.org>
61828         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61829         * malloc/arena.c (heap_trim): Likewise.
61831 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61833         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61834         here.  Not...
61835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61836         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61838 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61840         * sysdeps/i386/elf/Makefile: New file.
61842 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61844         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61845         from fanotify_init.
61846         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61847         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61849 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61851         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61852         of strncasecmp_l.
61853         * sysdeps/multiarch/strcmp.S: Likewise.
61855 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61857         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61858         strncase_l-nonascii.
61859         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61860         Add strncase_l-ssse3.
61861         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61862         * sysdeps/x86_64/strcmp.S: Likewise.
61863         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61864         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61865         * sysdeps/x86_64/strncase.S: New file.
61866         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61867         * sysdeps/x86_64/strncase_l.S: New file.
61868         * string/Makefile (strop-tests): Add strncasecmp.
61869         * string/test-strncasecmp.c: New file.
61871         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61872         warning.
61874         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61875         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61877 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61879         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61881 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61883         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61884         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61885         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61887 2010-05-01  Alan Modra  <amodra@gmail.com>
61889         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61890         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61891         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61892         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61893         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61894         tidying.  Don't tail-call __sigjmp_save for static lib.
61895         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61896         save location.
61897         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61898         (CALL_MCOUNT): Add eh info, and nop after bl.
61899         (TAIL_CALL_SYSCALL_ERROR): New macro.
61900         (PSEUDO_RET): Use it.
61901         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61902         Correct save location of integer regs and cr.
61903         (_dl_profile_resolve): Correct cr save location.  Delete nops
61904         after bl when SHARED.  Reduce cfi size a little by better
61905         placement of cfi directives.
61906         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61907         make a stack frame.  Instead use parm save area as a temp.
61908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61909         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61911         Don't make a stack frame for parent, use parm save area.
61912         Increase child stack frame to 112 bytes.  Don't save unused reg,
61913         and adjust reg usage.  Set up cfi on error recovery and
61914         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61916         (__makecontext): Add dummy nop after jump to exit.
61917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61918         Use correct parm save area and cr save, reduce stack frame.
61919         Correct cfi for possible PSEUDO_RET frame setup.
61920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61921         Branch to local label emitted by PSEUDO_RET rather than
61922         __syscall_error.
61924 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61926         [BZ #11904]
61927         * locale/programs/locale.c (print_assignment): New function.
61928         (show_locale_vars): Use it.
61930 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61932         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61933         field.
61934         (struct statfs64): Likewise.
61935         (_STATFS_F_FLAGS): Define.
61936         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61938         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61939         (ST_VALID): Define locally.
61940         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61941         __statvfs_getflags, use the provided value.
61942         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61943         __ASSUME_STATFS_F_FLAGS.
61945         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61947         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61948         Add sys/fanotify.h.
61949         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61950         fanotify_mask for GLIBC_2.13.
61951         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61952         fanotify_init and fanotify_mark.
61953         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61954         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61956         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61957         Add prlimit.
61958         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61959         prlimit64 for GLIBC_2.13.
61960         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61961         prlimit64.
61962         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61963         syscall.
61964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61965         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61966         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61967         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61969         add prlimit alias.
61970         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61972         [BZ #11903]
61973         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61974         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61976         * nss/Makefile: Add rules to build and run tst-nss-test1.
61977         * shlib-versions: Add entry for libnss_test1.
61978         * nss/nss_test1.c: New file.
61979         * nss/tst-nss-test1.c: New file.
61981         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61982         (__nss_configure_lookup): Set appropriate entry in
61983         __nss_configure_lookup to true.
61984         * nss/nsswitch.h: Define enum with indeces of databases in
61985         databases and __nss_database_custom arrays.  Declare
61986         __nss_database_custom.
61987         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61988         to avoid using nscd when custom rules are installed.
61989         * nss/getXXbyYY_r.c: Likewise.
61990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61992         * nss/nss_files/files-parse.c: Whitespace fixes.
61994 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61996         [BZ #11883]
61997         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61998         * posix/fnmatch_loop.c: Likewise.
62000 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62002         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62003         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62004         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62005         * Versions.def [GLIBC_2.13]: Add.
62007 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62009         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62010         Also fail if tpwd after pwuid call is NULL.
62012 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62014         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62015         when converting to ms.
62017 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62019         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62020         EOPNOTSUPP errors with ENOTTY.
62021         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62022         EOPNOTSUPP errors with ENOTTY.
62024 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62026         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62027         Add strcasecmp_l-ssse3.
62028         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62029         strcasecmp.
62030         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62031         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62032         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62034 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62036         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62038         * string/Makefile (strop-tests): Add strcasecmp.
62039         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62040         strcasecmp_l-nonascii.
62041         (gen-as-const-headers): Add locale-defines.sym.
62042         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62043         * sysdeps/x86_64/strcasecmp.S: New file.
62044         * sysdeps/x86_64/strcasecmp_l.S: New file.
62045         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62046         * sysdeps/x86_64/locale-defines.sym: New file.
62047         * string/test-strcasecmp.c: New file.
62049         * string/test-strcasestr.c: Test both ends of the range of characters.
62050         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62052 2010-07-29  Roland McGrath  <roland@redhat.com>
62054         [BZ #11856]
62055         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62057 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62059         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62060         for ld.so.
62062 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62064         * manual/memory.texi (Malloc Tunable Parameters): Document
62065         M_PERTURB.
62067 2010-07-26  Roland McGrath  <roland@redhat.com>
62069         [BZ #11840]
62070         * configure.in (-fgnu89-inline check): Set and substitute
62071         gnu89_inline, not libc_cv_gnu89_inline.
62072         * configure: Regenerated.
62073         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62075 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62077         * string/test-strnlen.c: New file.
62078         * string/Makefile (strop-tests): Add strnlen.
62079         * string/tester.c (test_strnlen): Add a few more test cases.
62080         * string/tst-strlen.c: Better error reporting.
62082         * sysdeps/x86_64/strnlen.S: New file.
62084 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62086         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62087         lower-latency instructions.
62089 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62091         * string/test-strcasestr.c: New file.
62092         * string/test-strstr.c: New file.
62093         * string/Makefile (strop-tests): Add strstr and strcasestr.
62094         * string/str-two-way.h: Don't undefine MAX.
62095         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62097 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62100         strcasestr-nonascii.
62101         (CFLAGS-strcasestr-nonascii.c): Define.
62102         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62103         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62104         Remove unused attribute.
62106 2010-07-20  Roland McGrath  <roland@redhat.com>
62108         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62109         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62110         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62111         like LD_HWCAP_MASK can disable hwcaps.
62113 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62115         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62117 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62119         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62120         call in strcasestr.
62121         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62122         __strcasestr_sse42_nonascii.
62123         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62124         strcasestr-nonascii.c.
62125         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62127 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62129         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62130         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62131         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62132         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62134 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62136         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62137         fcntl.
62139 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62141         [BZ #11577]
62142         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62143         dl_signal_cerror.
62145 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62147         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62148         _PC_PIPE_BUF using F_GETPIPE_SZ.
62150 2010-07-05  Roland McGrath  <roland@redhat.com>
62152         * manual/arith.texi (Rounding Functions): Fix rint description
62153         implicit in round description.
62155 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62157         * elf/Makefile: Fix linking for a few tests to make recent linker
62158         happy.
62160 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62162         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62163         $(common-objpfx)libc_nonshared.a.
62165 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62167         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62168         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62169         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62170         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62171         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62172         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62173         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62174         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62189         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62190         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62191         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62192         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62193         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62194         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62195         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62196         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62197         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62198         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62199         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62200         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62216 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62218         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62219         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62220         * string/memmove.c (memmove): Renamed to ...
62221         (MEMMOVE): ...this.  Default to memmove.
62222         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62223         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62224         (END_CHK): Define.
62225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62226         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62227         mempcpy-ssse3-back memmove-ssse3-back.
62228         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62229         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62230         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62231         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62232         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62233         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62234         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62235         * sysdeps/x86_64/multiarch/memmove.c: New file.
62236         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62237         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62238         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62239         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62240         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62241         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62242         Define.
62243         (index_Fast_Copy_Backward): Define.
62244         (HAS_ARCH_FEATURE): Define.
62245         (HAS_FAST_REP_STRING): Define.
62246         (HAS_FAST_COPY_BACKWARD): Define.
62248 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62250         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62251         Restore proper fallback handling.
62253 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62255         [BZ #11701]
62256         * posix/group_member.c (__group_member): Correct checking loop.
62258         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62259         OOM in getpwuid_r correctly.  Return error number when the caller
62260         should return, otherwise -1.
62261         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62262         call returning > 0 value.
62263         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62265 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62267         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62268         libc_nonshared.a from targets in modules-names.
62270 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62272         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62273         requires it.
62275 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62277         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62278         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62279         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62280         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62282 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62284         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62286 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62288         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62289         and F_GETPIPE_SZ.
62290         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62295         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62297 2010-06-14  Roland McGrath  <roland@redhat.com>
62299         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62301 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62303         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62304         __REDIRECT followed by __THROW.
62305         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62306         * posix/getopt.h (getopt): Likewise.
62308 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62310         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62311         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62312         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62313         in AT_FLAGS.
62314         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62315         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62317 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62319         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62321 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62323         [BZ #11640]
62324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62325         Properly check family and model.
62327 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62329         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62331 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62333         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62335 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62337         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62338         symbol reference.
62340 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62342         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62343         symbol reference.
62345 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62347         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62348         and internal_recvmmsg.
62349         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62350         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62351         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62352         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62354         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62355         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62356         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62358 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62360         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62362 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62364         POWER7 optimizations.
62365         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62366         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62368 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62370         * version.h: Update for 2.13 development version.
62372 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62374         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62375         exceptions.  Return 0.
62377 2010-05-07  Roland McGrath  <roland@redhat.com>
62379         * elf/ldconfig.c (main): Add a const.
62381 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62383         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62384         (args_options): Add no-idn option.
62385         (ahosts_keys_int): Add idn_flags to ai_flags.
62386         (parse_option): Handle 'i' option to clear idn_flags.
62388         * malloc/malloc.c (_int_free): Possible race in the most recently
62389         added check.  Only act on the data if no current modification
62390         happened.
62392 See ChangeLog.17 for earlier changes.